ImageAdapter

class ImageAdapter(val clickCallback: (Int) -> Unit? = null, val nextFocusUp: Int? = null, val nextFocusDown: Int? = null) : RecyclerView.Adapter<RecyclerView.ViewHolder>

Constructors

Link copied to clipboard
constructor(clickCallback: (Int) -> Unit? = null, nextFocusUp: Int? = null, nextFocusDown: Int? = null)

Types

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

Properties

Link copied to clipboard
val clickCallback: (Int) -> Unit? = null
Link copied to clipboard
val nextFocusDown: Int? = null
Link copied to clipboard
val nextFocusUp: Int? = null

Functions

Link copied to clipboard
Link copied to clipboard
open override fun getItemCount(): Int
Link copied to clipboard
open override fun getItemId(position: Int): Long
Link copied to clipboard
open fun getItemViewType(p0: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun notifyItemMoved(p0: Int, p1: Int)
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: RecyclerView.ViewHolder, position: Int)
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecyclerView.ViewHolder
Link copied to clipboard
Link copied to clipboard
open fun setHasStableIds(p0: Boolean)
Link copied to clipboard
fun updateList(newList: List<Int>)