MessageViewAdapter

abstract class MessageViewAdapter

A generic base adapter that binds items to views using the ViewBinder interface.

Constructors

Link copied to clipboard
constructor(context: Context, layout: Int)
Creates a ViewBinder

Functions

Link copied to clipboard
open fun getCount(): Int
Link copied to clipboard
open fun getItem(position: Int): Any
Link copied to clipboard
open fun getItemId(position: Int): Long
Link copied to clipboard
open fun getView(position: Int, convertView: View, parent: ViewGroup): View
Link copied to clipboard
open fun hasStableIds(): Boolean
Link copied to clipboard
open fun set(collection: Collection<Message>)
Sets the current items in the adapter to the collection.