Content Card Adapter
class ContentCardAdapter(context: Context, layoutManager: LinearLayoutManager, cardData: MutableList<Card>, contentCardsViewBindingHandler: IContentCardsViewBindingHandler) : RecyclerView.Adapter<ContentCardViewHolder> , ItemTouchHelperAdapter
Constructors
Link copied to clipboard
fun ContentCardAdapter(context: Context, layoutManager: LinearLayoutManager, cardData: MutableList<Card>, contentCardsViewBindingHandler: IContentCardsViewBindingHandler)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun findRelativeAdapterPositionIn(@NonNull p0: RecyclerView.Adapter<out RecyclerView.ViewHolder>, @NonNull p1: RecyclerView.ViewHolder, p2: Int): Int
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
Gets whether the item at a position is visible on screen.
Link copied to clipboard
Returns whether the card at the adapter position is a control card.
Link copied to clipboard
Link copied to clipboard
Logs an impression on the card. Performs a check against the known set previously impressed card ids. Will also set the viewed state of the card to true.
Link copied to clipboard
Marks every on-screen card as read.
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: ContentCardViewHolder, p1: Int, @NonNull p2: MutableList<Any>)
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