Android GridView Button Click Handler
I have an Android GridView with an ImageView , TextView and two Button's . The Grid is appearing fine but I am finding it difficult to handle button events within GridView . I am new to Android. Any help would be appreciated. Thanks. If you want the Buttons (and anything else) to have unique click actions in your layout, you need to write a custom adapter and override getView() : public MyAdapter(Context context, List<T> objects) { ... inflater = (LayoutInflater) context.getSystemService(LAYOUT_INFLATER_SERVICE); } @Override public View getView(int position, View convertView, ViewGroup parent)