InfiniteCarouselAdapter

class InfiniteCarouselAdapter(recyclerView: RecyclerView, carouselType: CarouselType, carouselGravity: CarouselGravity, autoWidthFixing: Boolean, imageScaleType: ImageView.ScaleType, imagePlaceholder: Drawable?) : FiniteCarouselAdapter

Constructors

Link copied to clipboard
constructor(recyclerView: RecyclerView, carouselType: CarouselType, carouselGravity: CarouselGravity, autoWidthFixing: Boolean, imageScaleType: ImageView.ScaleType, imagePlaceholder: Drawable?)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Append all given carousel items with the existing items.

Add a single carousel item with the existing items.

Link copied to clipboard
open override fun getItem(position: Int): CarouselItem?
Link copied to clipboard
open override fun getItemCount(): Int
Link copied to clipboard
open fun getItemId(p0: Int): Long
Link copied to clipboard
open fun getItemViewType(p0: Int): Int
Link copied to clipboard
open override fun getRealDataPosition(position: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun notifyItemMoved(p0: Int, p1: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Clear previous items and add all given carousel items.

Link copied to clipboard
open fun setHasStableIds(p0: Boolean)