com.github.jobs.adapter
Class TemplatesAdapter

java.lang.Object
  extended by android.widget.BaseAdapter
      extended by com.codeslap.groundy.adapter.ListBaseAdapter<Template,TemplatesAdapter.ViewHolder>
          extended by com.github.jobs.adapter.TemplatesAdapter
All Implemented Interfaces:
android.widget.Adapter, android.widget.ListAdapter, android.widget.SpinnerAdapter

public class TemplatesAdapter
extends com.codeslap.groundy.adapter.ListBaseAdapter<Template,TemplatesAdapter.ViewHolder>

Version:
1.0
Author:
cristian

Nested Class Summary
static class TemplatesAdapter.ViewHolder
           
 
Field Summary
 
Fields inherited from interface android.widget.Adapter
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
 
Constructor Summary
TemplatesAdapter(android.content.Context context)
           
 
Method Summary
 long getItemId(int position)
           
 void populateHolder(int position, android.view.View view, android.view.ViewGroup parent, Template template, TemplatesAdapter.ViewHolder holder)
           
 
Methods inherited from class com.codeslap.groundy.adapter.ListBaseAdapter
addItems, clear, getContext, getCount, getItem, getItems, getView, updateItems
 
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
 

Constructor Detail

TemplatesAdapter

public TemplatesAdapter(android.content.Context context)
Method Detail

getItemId

public long getItemId(int position)
Specified by:
getItemId in interface android.widget.Adapter
Specified by:
getItemId in class com.codeslap.groundy.adapter.ListBaseAdapter<Template,TemplatesAdapter.ViewHolder>

populateHolder

public void populateHolder(int position,
                           android.view.View view,
                           android.view.ViewGroup parent,
                           Template template,
                           TemplatesAdapter.ViewHolder holder)
Specified by:
populateHolder in class com.codeslap.groundy.adapter.ListBaseAdapter<Template,TemplatesAdapter.ViewHolder>


Copyright © 2012. All Rights Reserved.