Chat Adapter
Author
Alper Sahin An adapter class for populating a RecyclerView with chat messages in a chat interface.
Parameters
receiver Profile Image
The profile image of the receiver (can be null if not available).
chat Message
The list of chat messages to display.
sender Id
The unique identifier of the message sender.
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the total number of items in the data set.
Link copied to clipboard
Determines the view type for an item in the RecyclerView.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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 fun onBindViewHolder(@NonNull p0: RecyclerView.ViewHolder, p1: Int, @NonNull p2: MutableList<Any>)
Binds data to a ViewHolder at the specified position.
Link copied to clipboard
Creates and returns a new ViewHolder for an item in the RecyclerView.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard