Back to project page gridView.
The source code is released under:
Apache License
If you think the Android project gridView listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.datayumyum.pos; //from ww w . jav a 2s . c om import android.view.View; import android.view.ViewGroup; import android.widget.*; import java.util.List; /** * Created by sonnyto on 2/17/14. */ public class CategoryAdapter extends BaseAdapter { private static final String TAG = "com.datayumyum.pos.CategoryAdapter"; private List<View> itemButtonList; public CategoryAdapter(List<View> itemButtonList) { this.itemButtonList = itemButtonList; } @Override public int getCount() { return itemButtonList.size(); } @Override public Object getItem(int position) { return null; } @Override public long getItemId(int position) { return 0; } @Override public View getView(int position, View convertView, ViewGroup parent) { View imageView = itemButtonList.get(position); return imageView; } }