Package com.yandex.mobile.ads.feed
Class FeedAdAdapter
-
- All Implemented Interfaces:
public final class FeedAdAdapter extends FeedAdapterInternal
Adapter for displaying feed ads. Class allows to set FeedAdEventListener.
-
-
Field Summary
Fields Modifier and Type Field Description private FeedAdEventListener
eventListener
-
Constructor Summary
Constructors Constructor Description FeedAdAdapter(FeedAd feedAd)
-
Method Summary
Modifier and Type Method Description final FeedAdEventListener
getEventListener()
Sets an FeedAdEventListener. final Unit
setEventListener(FeedAdEventListener eventListener)
Sets an FeedAdEventListener. -
Methods inherited from class com.monetization.ads.feed.ui.FeedAdapterInternal
getItemCount, getItemViewType, onAttachedToRecyclerView, onBindViewHolder, onCreateViewHolder, onDetachedFromRecyclerView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled
-
Methods inherited from class androidx.recyclerview.widget.RecyclerView.Adapter
bindViewHolder, createViewHolder, findRelativeAdapterPositionIn, getItemId, getStateRestorationPolicy, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onBindViewHolder, onFailedToRecycleView, registerAdapterDataObserver, setHasStableIds, setStateRestorationPolicy, unregisterAdapterDataObserver
-
Methods inherited from class androidx.recyclerview.widget.ListAdapter
getCurrentList, onCurrentListChanged, submitList, submitList
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FeedAdAdapter
FeedAdAdapter(FeedAd feedAd)
-
-
Method Detail
-
getEventListener
final FeedAdEventListener getEventListener()
Sets an FeedAdEventListener.
-
setEventListener
final Unit setEventListener(FeedAdEventListener eventListener)
Sets an FeedAdEventListener.
-
-
-
-