Recent Conversations Adapter
class RecentConversationsAdapter : RecyclerView.Adapter<RecentConversationsAdapter.ConversionViewHolder>
Author
Alper Sahin An adapter class for populating a RecyclerView with a list of recent chat conversations.
Parameters
chat Messages
The list of chat messages representing recent conversations.
conversion Listener
The listener to handle conversation item click events.
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the number of items in the adapter's data set.
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
Link copied to clipboard
open fun onBindViewHolder(@NonNull p0: RecentConversationsAdapter.ConversionViewHolder, p1: Int, @NonNull p2: MutableList<Any>)
open override fun onBindViewHolder(holder: RecentConversationsAdapter.ConversionViewHolder, position: Int)
Binds data to a ConversionViewHolder at the specified position.
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecentConversationsAdapter.ConversionViewHolder
Creates and returns a new UserViewHolder instance for 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