com.github.jobs.adapter
Class JobsAdapter

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

public class JobsAdapter
extends com.codeslap.groundy.adapter.ListBaseAdapter<Job,JobsAdapter.ViewHolder>

Author:
cristian

Nested Class Summary
static class JobsAdapter.ViewHolder
           
 
Field Summary
static org.joda.time.format.DateTimeFormatter DATE_PARSER
           
 
Fields inherited from interface android.widget.Adapter
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
 
Constructor Summary
JobsAdapter(android.content.Context context)
           
 
Method Summary
 ArrayList<String> getItemsIds()
           
 void populateHolder(int position, android.view.View view, android.view.ViewGroup parent, Job job, JobsAdapter.ViewHolder holder)
           
 
Methods inherited from class com.codeslap.groundy.adapter.ListBaseAdapter
addItems, clear, getContext, getCount, getItem, getItemId, 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
 

Field Detail

DATE_PARSER

public static final org.joda.time.format.DateTimeFormatter DATE_PARSER
Constructor Detail

JobsAdapter

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

populateHolder

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

getItemsIds

public ArrayList<String> getItemsIds()


Copyright © 2012-2013. All Rights Reserved.