Skip to content

Instantly share code, notes, and snippets.

@aemxn
Created January 11, 2014 17:40
Show Gist options
  • Save aemxn/8374116 to your computer and use it in GitHub Desktop.
Save aemxn/8374116 to your computer and use it in GitHub Desktop.
public class CategoryListAdapter extends BaseAdapter {
// class constructor
public CategoryListAdapter(Context context,
ArrayList<HashMap<String, String>> items) {
}
// How many items are in the data set represented by this Adapter.
public int getCount() {
}
// Get the data item associated with the specified position in the data set.
public Object getItem(int position) {
}
// Get the row id associated with the specified position in the list.
public long getItemId(int position) {
}
// displaying the listview with the mapped items
public View getView(int position, View convertView, ViewGroup parent) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment