org.hdtourist.view.utils
Class ListaCategoriasAdapter
java.lang.Object
android.widget.BaseAdapter
org.hdtourist.view.utils.ListaCategoriasAdapter
- All Implemented Interfaces:
- android.widget.Adapter, android.widget.ListAdapter, android.widget.SpinnerAdapter
public class ListaCategoriasAdapter
- extends android.widget.BaseAdapter
The Class ListaCategoriasAdapter.
Fields inherited from interface android.widget.Adapter |
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION |
Constructor Summary |
ListaCategoriasAdapter(java.util.List<Categoria> listaCategorias,
android.app.Activity actividad)
Instantiates a new lista categorias adapter. |
Method Summary |
int |
getCount()
|
java.lang.Object |
getItem(int arg0)
|
long |
getItemId(int position)
|
android.view.View |
getView(int position,
android.view.View arg1,
android.view.ViewGroup arg2)
|
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 |
actividad
private final android.app.Activity actividad
- The actividad.
listaCategorias
private java.util.List<Categoria> listaCategorias
- The lista categorias.
ListaCategoriasAdapter
public ListaCategoriasAdapter(java.util.List<Categoria> listaCategorias,
android.app.Activity actividad)
- Instantiates a new lista categorias adapter.
- Parameters:
listaCategorias
- the lista categoriasactividad
- the actividad
getCount
public int getCount()
getItem
public java.lang.Object getItem(int arg0)
getItemId
public long getItemId(int position)
getView
public android.view.View getView(int position,
android.view.View arg1,
android.view.ViewGroup arg2)