app / com.otago.open / PDFItemRecyclerViewAdapter / ViewHolder

ViewHolder

class ViewHolder : ViewHolder

The RecyclerView.ViewHolder to bind PDFItems to recycler entries

Parameters

itemView - The recycler item view to bind to

Constructors

<init>

The RecyclerView.ViewHolder to bind PDFItems to recycler entries

ViewHolder(itemView: View)

Properties

imageView

The recycler image view

val imageView: ImageView

textView1

The recycler's first (main) text view

val textView1: TextView

textView2

The recycler's second (auxiliary) text view

val textView2: TextView

Functions

bind

Binds a PDFItem to a recycler View

fun bind(item: PDFItem): Unit