TestLoadingStrategy

A loading strategy that's appropriate for tests because it's simple and predictable.

This is not suitable for production use, because it must show a placeholder before an item is loaded.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val firstVisibleIndex: Int
Link copied to clipboard
open override val lastVisibleIndex: Int

Functions

Link copied to clipboard
open override fun loadRange(itemCount: Int): IntRange
Link copied to clipboard
open override fun onUserScroll(firstVisibleIndex: Int, lastVisibleIndex: Int)
Link copied to clipboard
open override fun scrollTo(firstVisibleIndex: Int)