public class BoxAudioListAdapter
extends android.widget.ArrayAdapter
| Modifier and Type | Field and Description |
|---|---|
protected android.content.Context |
mContext |
protected int |
mEqualizerPosition |
protected boolean |
mIsPlaying |
| Constructor and Description |
|---|
BoxAudioListAdapter(android.content.Context context,
java.util.List items,
boolean isPlaying) |
| Modifier and Type | Method and Description |
|---|---|
android.view.View |
getView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
void |
setEqualizerPosition(int position) |
void |
setPlaying(boolean playing) |
add, addAll, addAll, clear, createFromResource, getContext, getCount, getDropDownView, getDropDownViewTheme, getFilter, getItem, getItemId, getPosition, insert, notifyDataSetChanged, remove, setDropDownViewResource, setDropDownViewTheme, setNotifyOnChange, sortareAllItemsEnabled, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserverprotected android.content.Context mContext
protected int mEqualizerPosition
protected boolean mIsPlaying
public BoxAudioListAdapter(android.content.Context context,
java.util.List items,
boolean isPlaying)
public android.view.View getView(int position,
android.view.View convertView,
android.view.ViewGroup parent)
getView in interface android.widget.AdaptergetView in class android.widget.ArrayAdapterposition - The position of this view in the adapter.convertView - ConvertView holding onto a cached View if applicable, or null if not created.parent - The parent view of this adapter.public void setEqualizerPosition(int position)
public void setPlaying(boolean playing)