Scan History Adapter
class ScanHistoryAdapter( shouldLoadImages: Boolean, picasso: Picasso, onItemClicked: (HistoryProduct) -> Unit) : RecyclerView.Adapter<ScanHistoryAdapter.Companion.ViewHolder> , AutoUpdatableAdapter
Content copied to clipboard
Parameters
should Load Images
determine if image should be loaded or not
Constructors
Link copied to clipboard
fun ScanHistoryAdapter( shouldLoadImages: Boolean, picasso: Picasso, onItemClicked: (HistoryProduct) -> Unit)
Content copied to clipboard
Types
Functions
Link copied to clipboard
open fun <T> RecyclerView.Adapter<*>.autoNotify( old: List<T>, new: List<T>, comparator: Comparator<T>)
Content copied to clipboard
Link copied to clipboard
open fun <T> RecyclerView.Adapter<*>.autoNotifying(initialValue: List<T> = emptyList(), comparator: Comparator<T>): ReadWriteProperty<RecyclerView.Adapter<*>, List<T>>
Content copied to clipboard
Link copied to clipboard
fun bindViewHolder(@NonNull p0: ScanHistoryAdapter.Companion.ViewHolder, p1: Int)
Content copied to clipboard
Link copied to clipboard
fun createViewHolder(@NonNull p0: ViewGroup, p1: Int): ScanHistoryAdapter.Companion.ViewHolder
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(viewHolder: ScanHistoryAdapter.Companion.ViewHolder, position: Int)
Content copied to clipboard
open fun onBindViewHolder( @NonNull p0: ScanHistoryAdapter.Companion.ViewHolder, p1: Int, @NonNull p2: MutableList<Any>)
Content copied to clipboard
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ScanHistoryAdapter.Companion.ViewHolder
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onFailedToRecycleView(@NonNull p0: ScanHistoryAdapter.Companion.ViewHolder): Boolean
Content copied to clipboard
Link copied to clipboard
open fun onViewAttachedToWindow(@NonNull p0: ScanHistoryAdapter.Companion.ViewHolder)
Content copied to clipboard
Link copied to clipboard
open fun onViewDetachedFromWindow(@NonNull p0: ScanHistoryAdapter.Companion.ViewHolder)
Content copied to clipboard
Link copied to clipboard
open override fun onViewRecycled(viewHolder: ScanHistoryAdapter.Companion.ViewHolder)
Content 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