Android GridView first button not working
问题 I am having weird problems with Android GridView. I create a 3x4 grid and insert buttons into that grid. I want the background of the button to change when the user clicks that button. And this is working just fine for all buttons except the first one (the one with index 0 - top left). OnClick event listener doesn't fire at all for that button no matter what I do. Here is the code where I create the view: public View getView(int position, View convertView, ViewGroup parent) { Button imageView