-
public final class PLYSubscriptionsTvFragment.Adapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
-
-
Field Summary
Fields Modifier and Type Field Description private final List<PLYSubscriptionsTvFragment.List>list
-
Constructor Summary
Constructors Constructor Description PLYSubscriptionsTvFragment.Adapter(List<PLYSubscriptionsTvFragment.List> list, Function1<PLYSubscriptionData, Unit> callbackSelected, Function1<PLYSubscriptionData, Unit> callbackClick)
-
Method Summary
Modifier and Type Method Description final List<PLYSubscriptionsTvFragment.List>getList()RecyclerView.ViewHolderonCreateViewHolder(ViewGroup parent, Integer viewType)IntegergetItemCount()IntegergetItemViewType(Integer position)UnitonBindViewHolder(RecyclerView.ViewHolder holder, Integer position)-
Methods inherited from class io.purchasely.views.subscriptions.tv.PLYSubscriptionsTvFragment.Adapter
bindViewHolder, canRestoreState, createViewHolder, findRelativeAdapterPositionIn, getItemId, getStateRestorationPolicy, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, setStateRestorationPolicy, unregisterAdapterDataObserver -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PLYSubscriptionsTvFragment.Adapter
PLYSubscriptionsTvFragment.Adapter(List<PLYSubscriptionsTvFragment.List> list, Function1<PLYSubscriptionData, Unit> callbackSelected, Function1<PLYSubscriptionData, Unit> callbackClick)
-
-
Method Detail
-
getList
final List<PLYSubscriptionsTvFragment.List> getList()
-
onCreateViewHolder
RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, Integer viewType)
-
getItemCount
Integer getItemCount()
-
getItemViewType
Integer getItemViewType(Integer position)
-
onBindViewHolder
Unit onBindViewHolder(RecyclerView.ViewHolder holder, Integer position)
-
-
-
-