Package com.my.target.nativeads.views
Interface PromoCardView
- All Known Subinterfaces:
PromoDiscountCardView
- All Known Implementing Classes:
NativeAdCardView
public interface PromoCardView
Interface should be implemented by custom card view. Every element is obligatory and non-null.
Elements will be filled by
PromoCardRecyclerView.PromoCardAdapter- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionandroid.widget.Buttonandroid.widget.TextViewandroid.widget.TextViewandroid.view.ViewgetView()
-
Method Details
-
getMediaAdView
- Returns:
- MediaAdView for displaying picture/video
-
getTitleTextView
@NonNull android.widget.TextView getTitleTextView()- Returns:
- title element of Ad Card
-
getDescriptionTextView
@NonNull android.widget.TextView getDescriptionTextView()- Returns:
- description element of Ad Card
-
getCtaButtonView
@NonNull android.widget.Button getCtaButtonView()- Returns:
- call-to action view implementation
-
getView
@NonNull android.view.View getView()- Returns:
- whole view of advertising card
-