epoxy-adapter / com.airbnb.epoxy / Carousel / setInitialPrefetchItemCount

setInitialPrefetchItemCount

open fun setInitialPrefetchItemCount(numItemsToPrefetch: Int): Unit

If you are using a Linear or Grid layout manager you can use this to set the item prefetch count. Only use this if you are not using #setNumViewsToShowOnScreen(float)

See Also
#setNumViewsToShowOnScreen(float)LinearLayoutManager#setInitialPrefetchItemCount(int)