Android - Gridview Item Click Opens All Layouts January 29, 2024 Post a Comment I have this problem. I have a gridView and when I click an item, it should open a layout BUT every button I click, opens every layout so if I press back button I need to press it 1Solution 1: You are missing break statement in your switch case.Add break after every case, like this...case0: Intent ammissione = (newIntent(List.this, Ammissione.class)); startActivity(ammissione); break; CopySee The Switch Statement Share Post a Comment for "Android - Gridview Item Click Opens All Layouts"
Post a Comment for "Android - Gridview Item Click Opens All Layouts"