Class NativeAppwallViewsFactory
- java.lang.Object
-
- com.my.target.nativeads.factories.NativeAppwallViewsFactory
-
public class NativeAppwallViewsFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NativeAppwallViewsFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AppwallAdTeaserViewgetAppwallAppView(android.content.Context context)Returns empty element for custom Appwall creativestatic AppwallAdTeaserViewgetAppwallAppView(NativeAppwallBanner banner, android.content.Context context)Returns element for custom Appwall creative, filled with banner datastatic AppwallAdViewgetAppwallView(android.content.Context context)Returns scrollable element for displaying of Appwall bannersstatic AppwallAdViewgetAppwallView(NativeAppwallAd ad, android.content.Context context)Returns scrollable element for displaying of Appwall banners, filled with ad data
-
-
-
Method Detail
-
getAppwallAppView
@NonNull public static AppwallAdTeaserView getAppwallAppView(@NonNull NativeAppwallBanner banner, @NonNull android.content.Context context)
Returns element for custom Appwall creative, filled with banner data- Parameters:
banner- banner datacontext- app context- Returns:
- configurable appwall view
-
getAppwallAppView
@NonNull public static AppwallAdTeaserView getAppwallAppView(@NonNull android.content.Context context)
Returns empty element for custom Appwall creative- Parameters:
context- app context- Returns:
- configurable appwall view
-
getAppwallView
@NonNull public static AppwallAdView getAppwallView(@NonNull NativeAppwallAd ad, @NonNull android.content.Context context)
Returns scrollable element for displaying of Appwall banners, filled with ad data- Parameters:
ad- model containing one or multiple bannerscontext- app context- Returns:
- configurable appwall view
-
getAppwallView
@NonNull public static AppwallAdView getAppwallView(@NonNull android.content.Context context)
Returns scrollable element for displaying of Appwall banners- Parameters:
context- app context- Returns:
- configurable appwall view
-
-