jme3test.android
Class DemoLaunchAdapter
java.lang.Object
android.widget.BaseAdapter
jme3test.android.DemoLaunchAdapter
- All Implemented Interfaces:
- android.view.View.OnClickListener, android.widget.Adapter, android.widget.ListAdapter, android.widget.SpinnerAdapter
public class DemoLaunchAdapter
- extends android.widget.BaseAdapter
- implements android.view.View.OnClickListener
The view adapter which gets a list of LaunchEntries and displaqs them
Fields inherited from interface android.widget.Adapter |
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION |
Method Summary |
int |
getCount()
|
java.lang.Object |
getItem(int position)
|
long |
getItemId(int position)
|
android.view.View |
getView(int position,
android.view.View convertView,
android.view.ViewGroup viewGroup)
|
void |
onClick(android.view.View view)
|
Methods inherited from class android.widget.BaseAdapter |
areAllItemsEnabled, getDropDownView, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserver |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DemoLaunchAdapter
public DemoLaunchAdapter(android.content.Context context,
java.util.List<DemoLaunchEntry> listDemos)
getCount
public int getCount()
- Specified by:
getCount
in interface android.widget.Adapter
getItem
public java.lang.Object getItem(int position)
- Specified by:
getItem
in interface android.widget.Adapter
getItemId
public long getItemId(int position)
- Specified by:
getItemId
in interface android.widget.Adapter
getView
public android.view.View getView(int position,
android.view.View convertView,
android.view.ViewGroup viewGroup)
- Specified by:
getView
in interface android.widget.Adapter
onClick
public void onClick(android.view.View view)
- Specified by:
onClick
in interface android.view.View.OnClickListener