State Flow Based Recycler View Adapter
abstract class StateFlowBasedRecyclerViewAdapter<T>(listeningScope: CoroutineScope, dataState: StateFlow<List<T>>) : RecyclerViewAdapter<T>
Content copied to clipboard
Constructors
Link copied to clipboard
fun <T> StateFlowBasedRecyclerViewAdapter(listeningScope: CoroutineScope, dataState: StateFlow<List<T>>)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun createViewHolder(@NonNull p0: ViewGroup, p1: Int): AbstractViewHolder<T>
Content copied to clipboard
Link copied to clipboard
open fun findRelativeAdapterPositionIn( @NonNull p0: RecyclerView.Adapter<out RecyclerView.ViewHolder>, @NonNull p1: RecyclerView.ViewHolder, p2: Int): Int
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getStateRestorationPolicy(): RecyclerView.Adapter.StateRestorationPolicy
Content 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onBindViewHolder(holder: AbstractViewHolder<T>, position: Int)
Content copied to clipboard
open fun onBindViewHolder( @NonNull p0: AbstractViewHolder<T>, p1: Int, @NonNull p2: MutableList<Any>)
Content copied to clipboard
Link copied to clipboard
abstract fun onCreateViewHolder(@NonNull p0: ViewGroup, p1: Int): AbstractViewHolder<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onFailedToRecycleView(@NonNull p0: AbstractViewHolder<T>): Boolean
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun registerAdapterDataObserver(@NonNull p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setStateRestorationPolicy(@NonNull p0: RecyclerView.Adapter.StateRestorationPolicy)
Content copied to clipboard
Link copied to clipboard
open fun unregisterAdapterDataObserver(@NonNull p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard