Search Results Unregistered Adapter
class SearchResultsUnregisteredAdapter : RecyclerView.Adapter<SearchViewHolder>
Content copied to clipboard
Adapter for the recycler view that handles the posts displayed on the search results for unregistered users.
Parameters
dataPosts
Posts displayed on the search results.
Constructors
SearchResultsUnregisteredAdapter
Link copied to clipboard
fun SearchResultsUnregisteredAdapter()
Content copied to clipboard
Creates an adapter for the recycler view that handles the posts displayed on the search results for unregistered users.
Properties
diffCallbacks
Link copied to clipboard
private val diffCallbacks: SearchResultsUnregisteredAdapter.<no name provided>
Content copied to clipboard
differ
Link copied to clipboard
Inherited properties
mHasStableIds
Link copied to clipboard
mObservable
Link copied to clipboard
mStateRestorationPolicy
Link copied to clipboard
private val mStateRestorationPolicy: RecyclerView.Adapter.StateRestorationPolicy
Content copied to clipboard
Functions
getItemCount
Link copied to clipboard
onBindViewHolder
Link copied to clipboard
open override fun onBindViewHolder(holder: SearchViewHolder, position: Int)
Content copied to clipboard
onCreateViewHolder
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): SearchViewHolder
Content copied to clipboard
updatePosts
Link copied to clipboard
Inherited functions
bindViewHolder
Link copied to clipboard
canRestoreState
Link copied to clipboard
createViewHolder
Link copied to clipboard
@NonNull()
Content copied to clipboard
findRelativeAdapterPositionIn
Link copied to clipboard
open fun findRelativeAdapterPositionIn(@NonNull() p0: RecyclerView.Adapter<out RecyclerView.ViewHolder>, @NonNull() p1: RecyclerView.ViewHolder, p2: Int): Int
Content copied to clipboard
getItemViewType
Link copied to clipboard
getStateRestorationPolicy
Link copied to clipboard
@NonNull()
Content copied to clipboard
hasObservers
Link copied to clipboard
hasStableIds
Link copied to clipboard
notifyDataSetChanged
Link copied to clipboard
fun notifyDataSetChanged()
Content copied to clipboard
notifyItemChanged
Link copied to clipboard
notifyItemInserted
Link copied to clipboard
notifyItemMoved
Link copied to clipboard
notifyItemRangeChanged
Link copied to clipboard
notifyItemRangeInserted
Link copied to clipboard
notifyItemRangeRemoved
Link copied to clipboard
notifyItemRemoved
Link copied to clipboard
onAttachedToRecyclerView
Link copied to clipboard
onBindViewHolder
Link copied to clipboard
open fun onBindViewHolder(@NonNull() p0: SearchViewHolder, p1: Int, @NonNull() p2: MutableList<Any>)
Content copied to clipboard
onDetachedFromRecyclerView
Link copied to clipboard
onFailedToRecycleView
Link copied to clipboard
onViewAttachedToWindow
Link copied to clipboard
onViewDetachedFromWindow
Link copied to clipboard
onViewRecycled
Link copied to clipboard
registerAdapterDataObserver
Link copied to clipboard
open fun registerAdapterDataObserver(@NonNull() p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard
setHasStableIds
Link copied to clipboard
setStateRestorationPolicy
Link copied to clipboard
open fun setStateRestorationPolicy(@NonNull() p0: RecyclerView.Adapter.StateRestorationPolicy)
Content copied to clipboard
unregisterAdapterDataObserver
Link copied to clipboard
open fun unregisterAdapterDataObserver(@NonNull() p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard