...
After putting BannerRecyclerView
, you should access the object in the related program code (Java or Kotlin) and you should call the method requestBannerCarouselAction
() on this object. This method takes 1 mandatory (context: Context
) and 3 opsional optional parameters (properties: HashMap<String, String>?, bannerRequestListener: BannerRequestListener?, bannerItemClickListener: BannerItemClickListener?
).
properties
is for adding extra query parameters you want, to the request.
bannerRequestListener
is for making the visibility of BannerRecyclerView
object View.GONE or View.VISIBLE if something goes wrong in the process so that the related area on the screen won’t be empty.
...