BookmarksViewHolder

class BookmarksViewHolder(itemView: View) : RecyclerView.ViewHolder

View holder for the recycler view that handles the posts bookmarked by the user.

Parameters

itemView

Layout for a single item in the recycler view.

Constructors

BookmarksViewHolder
Link copied to clipboard
fun BookmarksViewHolder(itemView: View)
Creates a view holder for the recycler view that handles the posts bookmarked by the user.

Properties

ivItemSearchResults
Link copied to clipboard
private val ivItemSearchResults: ImageView
Image view for an item in the search results.
storage
Link copied to clipboard
private var storage: FirebaseStorage
Service that supports uploading and downloading large objects to Google Cloud Storage.
storageRef
Link copied to clipboard
private var storageRef: StorageReference
Represents a reference to a Google Cloud Storage object.

Inherited properties

itemView
Link copied to clipboard
val itemView: View
mBindingAdapter
Link copied to clipboard
val mBindingAdapter: RecyclerView.Adapter<out RecyclerView.ViewHolder>
mFlags
Link copied to clipboard
val mFlags: Int
mInChangeScrap
Link copied to clipboard
val mInChangeScrap: Boolean
mIsRecyclableCount
Link copied to clipboard
private val mIsRecyclableCount: Int
mItemId
Link copied to clipboard
val mItemId: Long
mItemViewType
Link copied to clipboard
val mItemViewType: Int
mNestedRecyclerView
Link copied to clipboard
val mNestedRecyclerView: WeakReference<RecyclerView>
mOldPosition
Link copied to clipboard
val mOldPosition: Int
mOwnerRecyclerView
Link copied to clipboard
val mOwnerRecyclerView: RecyclerView
mPayloads
Link copied to clipboard
val mPayloads: MutableList<Any>
mPendingAccessibilityState
Link copied to clipboard
val mPendingAccessibilityState: Int
mPosition
Link copied to clipboard
val mPosition: Int
mPreLayoutPosition
Link copied to clipboard
val mPreLayoutPosition: Int
mScrapContainer
Link copied to clipboard
val mScrapContainer: RecyclerView.Recycler
mShadowedHolder
Link copied to clipboard
val mShadowedHolder: RecyclerView.ViewHolder
mShadowingHolder
Link copied to clipboard
val mShadowingHolder: RecyclerView.ViewHolder
mUnmodifiedPayloads
Link copied to clipboard
val mUnmodifiedPayloads: MutableList<Any>
private val mWasImportantForAccessibilityBeforeHidden: Int

Functions

getItemSearchResults
Link copied to clipboard
fun getItemSearchResults(): ImageView
Returns the image view for an item in the search results.
setItemSearchResults
Link copied to clipboard
fun setItemSearchResults(post: String)
Sets the item in the search results to the specified post.

Inherited functions

addChangePayload
Link copied to clipboard
open fun addChangePayload(p0: Any)
addFlags
Link copied to clipboard
open fun addFlags(p0: Int)
clearOldPosition
Link copied to clipboard
open fun clearOldPosition()
clearPayload
Link copied to clipboard
open fun clearPayload()
clearReturnedFromScrapFlag
Link copied to clipboard
open fun clearReturnedFromScrapFlag()
clearTmpDetachFlag
Link copied to clipboard
open fun clearTmpDetachFlag()
createPayloadsIfNeeded
Link copied to clipboard
private open fun createPayloadsIfNeeded()
doesTransientStatePreventRecycling
Link copied to clipboard
open fun doesTransientStatePreventRecycling(): Boolean
flagRemovedAndOffsetPosition
Link copied to clipboard
open fun flagRemovedAndOffsetPosition(p0: Int, p1: Int, p2: Boolean)
getAbsoluteAdapterPosition
Link copied to clipboard
fun getAbsoluteAdapterPosition(): Int
getAdapterPosition
Link copied to clipboard
fun getAdapterPosition(): Int
getBindingAdapter
Link copied to clipboard
getBindingAdapterPosition
Link copied to clipboard
fun getBindingAdapterPosition(): Int
getItemId
Link copied to clipboard
fun getItemId(): Long
getItemViewType
Link copied to clipboard
fun getItemViewType(): Int
getLayoutPosition
Link copied to clipboard
fun getLayoutPosition(): Int
getOldPosition
Link copied to clipboard
fun getOldPosition(): Int
getPosition
Link copied to clipboard
fun getPosition(): Int
getUnmodifiedPayloads
Link copied to clipboard
open fun getUnmodifiedPayloads(): MutableList<Any>
hasAnyOfTheFlags
Link copied to clipboard
open fun hasAnyOfTheFlags(p0: Int): Boolean
isAdapterPositionUnknown
Link copied to clipboard
open fun isAdapterPositionUnknown(): Boolean
isAttachedToTransitionOverlay
Link copied to clipboard
open fun isAttachedToTransitionOverlay(): Boolean
isBound
Link copied to clipboard
open fun isBound(): Boolean
isInvalid
Link copied to clipboard
open fun isInvalid(): Boolean
isRecyclable
Link copied to clipboard
fun isRecyclable(): Boolean
isRemoved
Link copied to clipboard
open fun isRemoved(): Boolean
isScrap
Link copied to clipboard
open fun isScrap(): Boolean
isTmpDetached
Link copied to clipboard
open fun isTmpDetached(): Boolean
isUpdated
Link copied to clipboard
open fun isUpdated(): Boolean
needsUpdate
Link copied to clipboard
open fun needsUpdate(): Boolean
offsetPosition
Link copied to clipboard
open fun offsetPosition(p0: Int, p1: Boolean)
onEnteredHiddenState
Link copied to clipboard
open fun onEnteredHiddenState(p0: RecyclerView)
onLeftHiddenState
Link copied to clipboard
open fun onLeftHiddenState(p0: RecyclerView)
resetInternal
Link copied to clipboard
open fun resetInternal()
saveOldPosition
Link copied to clipboard
open fun saveOldPosition()
setFlags
Link copied to clipboard
open fun setFlags(p0: Int, p1: Int)
setIsRecyclable
Link copied to clipboard
fun setIsRecyclable(p0: Boolean)
setScrapContainer
Link copied to clipboard
open fun setScrapContainer(p0: RecyclerView.Recycler, p1: Boolean)
shouldBeKeptAsChild
Link copied to clipboard
open fun shouldBeKeptAsChild(): Boolean
shouldIgnore
Link copied to clipboard
open fun shouldIgnore(): Boolean
stopIgnoring
Link copied to clipboard
open fun stopIgnoring()
toString
Link copied to clipboard
open override fun toString(): String
unScrap
Link copied to clipboard
open fun unScrap()
wasReturnedFromScrap
Link copied to clipboard
open fun wasReturnedFromScrap(): Boolean