-
public final class PLYSubscriptionsFragment.Adapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
-
-
Field Summary
Fields Modifier and Type Field Description private final List<PLYSubscriptionsFragment.List>list
-
Constructor Summary
Constructors Constructor Description PLYSubscriptionsFragment.Adapter(List<PLYSubscriptionsFragment.List> list, Function1<PLYSubscriptionData, Unit> callback)
-
Method Summary
Modifier and Type Method Description final List<PLYSubscriptionsFragment.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.PLYSubscriptionsFragment.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
-
PLYSubscriptionsFragment.Adapter
PLYSubscriptionsFragment.Adapter(List<PLYSubscriptionsFragment.List> list, Function1<PLYSubscriptionData, Unit> callback)
-
-
Method Detail
-
getList
final List<PLYSubscriptionsFragment.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)
-
-
-
-