public abstract class AdBoxAdapter
extends java.lang.Object
| Constructor and Description |
|---|
AdBoxAdapter(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(AdItem item) |
protected android.content.Context |
getContext() |
int |
getCount() |
AdItem |
getItem(int position) |
protected android.view.LayoutInflater |
getLayoutInflater() |
void |
insertItem(AdItem item,
int position) |
boolean |
isEmpty() |
void |
notifyDataSetChanged() |
void |
notifyDataSetInvalidated() |
void |
registerDataSetObserver(android.database.DataSetObserver observer) |
protected void |
setItems(java.util.List<AdItem> items) |
void |
unregisterDataSetObserver(android.database.DataSetObserver observer) |
protected android.view.LayoutInflater getLayoutInflater()
protected android.content.Context getContext()
public int getCount()
protected void setItems(java.util.List<AdItem> items)
public void addItem(AdItem item)
public void insertItem(AdItem item, int position)
public AdItem getItem(int position)
public boolean isEmpty()
public void registerDataSetObserver(android.database.DataSetObserver observer)
public void unregisterDataSetObserver(android.database.DataSetObserver observer)
public void notifyDataSetChanged()
public void notifyDataSetInvalidated()