FeedbackAdapter

open class FeedbackAdapter : RecyclerView.Adapter<FeedbackViewHolder>

FeedbackAdapter provides a binding from FeedbackBottomSheet data set to FeedbackViewHolder that are displayed within a RecyclerView.

Constructors

FeedbackAdapter
Link copied to clipboard
open fun FeedbackAdapter(feedbackItems: List<FeedbackItem>)

Functions

bindViewHolder
Link copied to clipboard
fun bindViewHolder(holder: VH, position: Int)
createViewHolder
Link copied to clipboard
fun createViewHolder(parent: ViewGroup, viewType: Int): VH
getFeedbackItem
Link copied to clipboard
open fun getFeedbackItem(feedbackPosition: Int): FeedbackItem
getItemCount
Link copied to clipboard
abstract fun getItemCount(): Int
open fun getItemCount(): Int
getItemId
Link copied to clipboard
open fun getItemId(position: Int): Long
getItemViewType
Link copied to clipboard
open fun getItemViewType(position: Int): Int
hasObservers
Link copied to clipboard
fun hasObservers(): Boolean
hasStableIds
Link copied to clipboard
fun hasStableIds(): Boolean
notifyDataSetChanged
Link copied to clipboard
fun notifyDataSetChanged()
notifyItemChanged
Link copied to clipboard
fun notifyItemChanged(position: Int)
notifyItemInserted
Link copied to clipboard
fun notifyItemInserted(position: Int)
notifyItemMoved
Link copied to clipboard
fun notifyItemMoved(fromPosition: Int, toPosition: Int)
notifyItemRangeChanged
Link copied to clipboard
fun notifyItemRangeChanged(positionStart: Int, itemCount: Int)
notifyItemRangeInserted
Link copied to clipboard
fun notifyItemRangeInserted(positionStart: Int, itemCount: Int)
notifyItemRangeRemoved
Link copied to clipboard
fun notifyItemRangeRemoved(positionStart: Int, itemCount: Int)
notifyItemRemoved
Link copied to clipboard
fun notifyItemRemoved(position: Int)
onAttachedToRecyclerView
Link copied to clipboard
open fun onAttachedToRecyclerView(recyclerView: RecyclerView)
onBindViewHolder
Link copied to clipboard
abstract fun onBindViewHolder(p: VH, p1: Int)
open fun onBindViewHolder(viewHolder: FeedbackViewHolder, position: Int)
onCreateViewHolder
Link copied to clipboard
abstract fun onCreateViewHolder(p: ViewGroup, p1: Int): VH
open fun onCreateViewHolder(parent: ViewGroup, viewType: Int): FeedbackViewHolder
onDetachedFromRecyclerView
Link copied to clipboard
open fun onDetachedFromRecyclerView(recyclerView: RecyclerView)
onFailedToRecycleView
Link copied to clipboard
open fun onFailedToRecycleView(holder: VH): Boolean
onViewAttachedToWindow
Link copied to clipboard
open fun onViewAttachedToWindow(holder: VH)
onViewDetachedFromWindow
Link copied to clipboard
open fun onViewDetachedFromWindow(holder: VH)
onViewRecycled
Link copied to clipboard
open fun onViewRecycled(holder: VH)
registerAdapterDataObserver
Link copied to clipboard
open fun registerAdapterDataObserver(observer: RecyclerView.AdapterDataObserver)
setHasStableIds
Link copied to clipboard
open fun setHasStableIds(hasStableIds: Boolean)
unregisterAdapterDataObserver
Link copied to clipboard
open fun unregisterAdapterDataObserver(observer: RecyclerView.AdapterDataObserver)