State Flow Based Recycler View Adapter
abstract class StateFlowBasedRecyclerViewAdapter<T>(listeningScope: CoroutineScope, dataState: StateFlow<List<T>>) : RecyclerViewAdapter<T>
Content copied to clipboard
Functions
bind View Holder
Link copied to clipboard
can Restore State
Link copied to clipboard
create View Holder
Link copied to clipboard
fun createViewHolder(@NonNull p0: ViewGroup, p1: Int): AbstractViewHolder<T>
Content copied to clipboard
find Relative Adapter Position In
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
get Item Count
Link copied to clipboard
get Item View Type
Link copied to clipboard
get State Restoration Policy
Link copied to clipboard
fun getStateRestorationPolicy(): RecyclerView.Adapter.StateRestorationPolicy
Content copied to clipboard
has Observers
Link copied to clipboard
has Stable Ids
Link copied to clipboard
notify Data Set Changed
Link copied to clipboard
notify Item Changed
Link copied to clipboard
notify Item Inserted
Link copied to clipboard
notify Item Moved
Link copied to clipboard
notify Item Range Changed
Link copied to clipboard
notify Item Range Inserted
Link copied to clipboard
notify Item Range Removed
Link copied to clipboard
notify Item Removed
Link copied to clipboard
on Attached To Recycler View
Link copied to clipboard
on Bind View Holder
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
on Create View Holder
Link copied to clipboard
abstract fun onCreateViewHolder(@NonNull p0: ViewGroup, p1: Int): AbstractViewHolder<T>
Content copied to clipboard
on Detached From Recycler View
Link copied to clipboard
on Failed To Recycle View
Link copied to clipboard
open fun onFailedToRecycleView(@NonNull p0: AbstractViewHolder<T>): Boolean
Content copied to clipboard
on View Attached To Window
Link copied to clipboard
on View Detached From Window
Link copied to clipboard
on View Recycled
Link copied to clipboard
register Adapter Data Observer
Link copied to clipboard
open fun registerAdapterDataObserver(@NonNull p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard
set Has Stable Ids
Link copied to clipboard
set State Restoration Policy
Link copied to clipboard
open fun setStateRestorationPolicy(@NonNull p0: RecyclerView.Adapter.StateRestorationPolicy)
Content copied to clipboard
unregister Adapter Data Observer
Link copied to clipboard
open fun unregisterAdapterDataObserver(@NonNull p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard