AdditivesAdapter

class AdditivesAdapter(initialValue: List<AdditiveName> = emptyList(), clickListener: (String) -> Unit?) : RecyclerView.Adapter<AdditivesAdapter.ViewHolder> , AutoUpdatableAdapter

Created by prajwalm on 16/04/18.

Constructors

Link copied to clipboard
fun AdditivesAdapter(initialValue: List<AdditiveName> = emptyList(), clickListener: (String) -> Unit?)

Types

Link copied to clipboard
class ViewHolder(binding: <Error class: unknown class>) : RecyclerView.ViewHolder

Functions

Link copied to clipboard
open fun <T> RecyclerView.Adapter<*>.autoNotify(    old: List<T>,     new: List<T>,     comparator: Comparator<T>)
Link copied to clipboard
open fun <T> RecyclerView.Adapter<*>.autoNotifying(initialValue: List<T> = emptyList(), comparator: Comparator<T>): ReadWriteProperty<RecyclerView.Adapter<*>, List<T>>
Link copied to clipboard
fun bindViewHolder(@NonNull p0: AdditivesAdapter.ViewHolder, p1: Int)
Link copied to clipboard
fun createViewHolder(@NonNull p0: ViewGroup, p1: Int): AdditivesAdapter.ViewHolder
Link copied to clipboard
open fun findRelativeAdapterPositionIn(    @NonNull p0: RecyclerView.Adapter<out RecyclerView.ViewHolder>,     @NonNull p1: RecyclerView.ViewHolder,     p2: Int): Int
Link copied to clipboard
open override fun getItemCount(): Int
Link copied to clipboard
open fun getItemId(p0: Int): Long
Link copied to clipboard
open fun getItemViewType(p0: Int): Int
Link copied to clipboard
Link copied to clipboard
fun hasObservers(): Boolean
Link copied to clipboard
fun hasStableIds(): Boolean
Link copied to clipboard
fun notifyDataSetChanged()
Link copied to clipboard
fun notifyItemChanged(p0: Int)
fun notifyItemChanged(p0: Int, @Nullable p1: Any?)
Link copied to clipboard
fun notifyItemInserted(p0: Int)
Link copied to clipboard
fun notifyItemMoved(p0: Int, p1: Int)
Link copied to clipboard
fun notifyItemRangeChanged(p0: Int, p1: Int)
fun notifyItemRangeChanged(    p0: Int,     p1: Int,     @Nullable p2: Any?)
Link copied to clipboard
fun notifyItemRangeInserted(p0: Int, p1: Int)
Link copied to clipboard
fun notifyItemRangeRemoved(p0: Int, p1: Int)
Link copied to clipboard
fun notifyItemRemoved(p0: Int)
Link copied to clipboard
open fun onAttachedToRecyclerView(@NonNull p0: RecyclerView)
Link copied to clipboard
open override fun onBindViewHolder(holder: AdditivesAdapter.ViewHolder, position: Int)
open fun onBindViewHolder(    @NonNull p0: AdditivesAdapter.ViewHolder,     p1: Int,     @NonNull p2: MutableList<Any>)
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): AdditivesAdapter.ViewHolder
Link copied to clipboard
open fun onDetachedFromRecyclerView(@NonNull p0: RecyclerView)
Link copied to clipboard
open fun onFailedToRecycleView(@NonNull p0: AdditivesAdapter.ViewHolder): Boolean
Link copied to clipboard
open fun onViewAttachedToWindow(@NonNull p0: AdditivesAdapter.ViewHolder)
Link copied to clipboard
open fun onViewDetachedFromWindow(@NonNull p0: AdditivesAdapter.ViewHolder)
Link copied to clipboard
open fun onViewRecycled(@NonNull p0: AdditivesAdapter.ViewHolder)
Link copied to clipboard
open fun registerAdapterDataObserver(@NonNull p0: RecyclerView.AdapterDataObserver)
Link copied to clipboard
open fun setHasStableIds(p0: Boolean)
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
var additives: List<AdditiveName>