Banner View
View for displaying banners powered by auctions.
Inflate it from XML as a com.topsort.analytics.banners.BannerView element, or create it from code - BannerView(context) - which is how it goes inside Jetpack Compose's AndroidView.
Parameters
AttributeSet from XML inflation, if any. Since this view inherits from ImageView you can set attributes as you would with a regular ImageView.
default style attribute, as for any View.
Properties
Functions
Set a callback to be invoked when a specific auction error occurs.
Set a callback to be invoked when an error occurs during the auction or image loading.
Set a callback to be invoked when the banner image is successfully loaded.
Set a callback to be invoked when no winners are returned from the auction.
Setup the banner in the view by running an auction in the background.
Display a banner you have already won, and report its impression and clicks.