samedi 24 avril 2021

gridView item click event doesn't work after adding checkbox

When i add a checkbox to my grid view, I cant click the grid view item ? What is the reason ?.

Given below is the image of my implementation and relevant code

   lvResults1.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener()
                                    {
                                        public boolean onItemLongClick(AdapterView<?> parent, View v,int position, long arg3)
                                        {

                                            return true;
                                        }
                                    });



Aucun commentaire:

Enregistrer un commentaire