Interface AdListAdapter

All Superinterfaces:
Adapter, ListAdapter, WrapperListAdapter

public interface AdListAdapter extends WrapperListAdapter
A ListAdapter that wraps another ListAdapter and injects ads.
  • Method Details

    • getItemPosition

      int getItemPosition(int position)
      Calculates the position in the wrapped adapter based on the position in this adapter. Returns -1 if position points to an ad.