public class

NativeAdView

extends FrameLayout
  android.widget.FrameLayout
  ↳com.appintop.nativeads.NativeAdView

Class Overview

View-class for display native ad

Summary

Nested Classes

class NativeAd class that provides access to the native advertising data.

Public Methods

void setNativeAd(NativeAd nativeAd) Sets current object of native ad
NativeAd getNativeAd() Gets current object of native ad
void setTitleView(View titleView) Sets titleView
View getTitleView() Gets titleView
void setDescriptionTextView(View descriptionTextView) Sets descriptionTextView
View getDescriptionTextView() Gets descriptionTextView
void setIconView(View iconView) Sets iconView
View getIconView() Gets iconView
void setImageView(View imageView) Sets imageView
View getImageView() Gets imageView
void setCtaTextView(View ctaTextView) Sets ctaTextView
View getCtaTextView() Gets ctaTextView
void setStarRaitingView(View starRatingView) Sets starRatingView
View getStarRaitingView() Gets starRatingView

Public Methods

void setNativeAd(NativeAd nativeAd)

Sets current object of native ad

Parameters

nativeAd object of native ad

NativeAd getNativeAd()

Returns

current object of native ad

void setTitleView(View titleView)

Sets titleView

Parameters

titleView title view

View getTitleView()

Returns

title view

void setDescriptionTextView(View descriptionTextView)

Sets descriptionTextView

Parameters

descriptionTextView description view

View getDescriptionTextView()

Returns

description view

void setIconView(View iconView)

Sets iconView

Parameters

iconView icon view

View getIconView()

Returns

icon view

void setImageView(View imageView)

Sets imageView

Parameters

imageView image view

View getImageView()

Returns

image view

void setCtaTextView(View ctaTextView)

Sets click to action view

Parameters

ctaTextView click to action view

View getCtaTextView()

Returns

click to action view

void setStarRaitingView(View starRatingView)

Sets starRatingView

Parameters

starRatingView rating view

View getStarRaitingView()

Returns

rating view

Contact support