GfpNativeSimpleAdView

class GfpNativeSimpleAdView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout, ViewExtensions, GfpAdInspectableItem

Ad view for Native Simple ad To attach ad to page, should call setNativeSimpleAd after loading.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0)

Create a GfpNativeSimpleAdView instance

Types

Link copied to clipboard
class BackgroundContainer @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout

Container for background view with width constraints

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val additionalContainer: <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
open override val inspectorEventId: String?

event id 또는 null (추적중이지 않은 경우)

Link copied to clipboard
val mediaView: <Error class: unknown class>

Functions

Link copied to clipboard
open override fun addView(child: View?, index: Int, params: ViewGroup.LayoutParams?)
Link copied to clipboard
open override fun bringChildToFront(child: View?)
Link copied to clipboard
open override fun dispatchTouchEvent(ev: MotionEvent): Boolean
Link copied to clipboard
fun initializeBackgroundContainer(style: StyleRecord?, extendedBottomBackgroundHeight: Int = 0, theme: ResolvedTheme)

Initializes background container

Link copied to clipboard
open override fun removeAllViews()
Link copied to clipboard
open override fun removeView(view: View?)
Link copied to clipboard

Sets the GfpNativeSimpleAd that this view is currently displaying.

Link copied to clipboard
fun updateBackgroundAlpha(alpha: Float, gradientAlpha: Float)
Link copied to clipboard
fun updateBackgroundMargins(left: Int, top: Int, right: Int, bottom: Int, shadowBasis: Int?, extendedBottomBackgroundHeight: Int)
Link copied to clipboard