com.ouattararomuald.slider / SliderAdapter
SliderAdapter
class SliderAdapter :
PagerAdapter
Adapter to create a slider.
The slider will have the given number of slides.
Types
ImageViewClickListener | interface ImageViewClickListener |
Constructors
<init> | SliderAdapter(context: Context , imageLoaderFactory: ImageLoader.Factory <*>, imageUrls: List < String >, descriptions: List < String > = emptyList(), sliderId: String ? = null) Adapter to create a slider. |
Properties
descriptions | val descriptions: List < String > images descriptions. |
id | val id: String ID of the slider. |
imageUrls | val imageUrls: List < String > urls of images to display. |
Functions
destroyItem | fun destroyItem(container: ViewGroup , position: Int , obj: Any ): Unit |
getCount | fun getCount(): Int |
instantiateItem | fun instantiateItem(container: ViewGroup , position: Int ): Any |
isViewFromObject | fun isViewFromObject(view: View , obj: Any ): Boolean |
setImageClickListener | fun setImageClickListener(listener: SliderAdapter.ImageViewClickListener ?): Unit |