org.hdtourist.view.utils
Class InformacionAdapter

java.lang.Object
  extended by android.widget.BaseAdapter
      extended by org.hdtourist.view.utils.InformacionAdapter
All Implemented Interfaces:
android.widget.Adapter, android.widget.ListAdapter, android.widget.SpinnerAdapter

public class InformacionAdapter
extends android.widget.BaseAdapter

The Class InformacionAdapter.


Field Summary
private  InformacionFragment actividad
          The actividad.
private  InformacionListPresenter informaion
          The informaion.
private  java.util.List<IInformacionVisible> listado
          The listado.
private  java.util.List<IInformacionVisible> listadoVisible
          The listado visible.
 
Fields inherited from interface android.widget.Adapter
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
 
Constructor Summary
InformacionAdapter(InformacionListPresenter inf, InformacionFragment informacionFragment)
          Instantiates a new informacion adapter.
 
Method Summary
 int getCount()
           
 IInformacionVisible getItem(int position)
           
 long getItemId(int position)
           
 android.view.View getView(int position, android.view.View arg1, android.view.ViewGroup arg2)
           
private  void setInformacionVisible()
          Fija el informacion visible.
 
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
 

Field Detail

actividad

private final InformacionFragment actividad
The actividad.


informaion

private final InformacionListPresenter informaion
The informaion.


listado

private java.util.List<IInformacionVisible> listado
The listado.


listadoVisible

private java.util.List<IInformacionVisible> listadoVisible
The listado visible.

Constructor Detail

InformacionAdapter

public InformacionAdapter(InformacionListPresenter inf,
                          InformacionFragment informacionFragment)
Instantiates a new informacion adapter.

Parameters:
inf - the inf
informacionFragment - the informacion fragment
Method Detail

getCount

public int getCount()

getItem

public IInformacionVisible getItem(int position)

getItemId

public long getItemId(int position)

getView

public android.view.View getView(int position,
                                 android.view.View arg1,
                                 android.view.ViewGroup arg2)

setInformacionVisible

private void setInformacionVisible()
Fija el informacion visible.