urbanairship-core/src/main/java/com/urbanairship/iam/banner/BannerFragment.java
private static BannerFragment newInstance(Builder builder) {
        BannerFragment fragment = new BannerFragment();

        Bundle bundle = new Bundle();
        bundle.putInt(EXIT_ANIMATION, builder.exitAnimation);
        bundle.putParcelable(IN_APP_MESSAGE, builder.inAppMessage);
        bundle.putParcelable(DISPLAY_HANDLER, builder.displayHandler);
        bundle.putParcelable(CACHE, builder.cache);
        fragment.setArguments(bundle);
        return fragment;
    }
/**
     * Factory method to create a BannerFragment.
     *
     * @param builder The fragment builder.
     * @return A banner fragment.
     */
Factory method to create a BannerFragment.
@param builder The fragment builder.
@return A banner fragment.
Factory method to create a BannerFragment . @param builder The fragment builder . @return A banner fragment .
private static BannerFragment newInstance(Builder builder) {
        BannerFragment fragment = new BannerFragment();
        Bundle bundle = new Bundle();
        bundle.putInt(EXIT_ANIMATION, builder.exitAnimation);
        bundle.putParcelable(IN_APP_MESSAGE, builder.inAppMessage);
        bundle.putParcelable(DISPLAY_HANDLER, builder.displayHandler);
        bundle.putParcelable(CACHE, builder.cache);
        fragment.setArguments(bundle);
        return fragment;
    }
private static BannerFragment newInstance ( Builder builder ) { BannerFragment fragment = new BannerFragment ( ) ; Bundle bundle = new Bundle ( ) ; bundle . putInt ( EXIT_ANIMATION , builder . exitAnimation ) ; bundle . putParcelable ( IN_APP_MESSAGE , builder . inAppMessage ) ; bundle . putParcelable ( DISPLAY_HANDLER , builder . displayHandler ) ; bundle . putParcelable ( CACHE , builder . cache ) ; fragment . setArguments ( bundle ) ; return fragment ; }
Factory method to create a BannerFragment.
Factory method to create a BannerFragment .