SearchViewHolder

fun SearchViewHolder(itemView: View)

Creates a view holder for the recycler view that handles the posts displayed on the search result.

Parameters

itemView

Layout for a single item in the recycler view.