Android Tutorial #34: Grid View Button 2D scrollable gridview with image thumbnails as buttons

Опубликовано: 05 Октябрь 2024
на канале: clientuser.net
9,359
26

Source Code:   / clientuser_net  

I thought we could use a different interface to the button we've been using.
Here I show you how to create a scrollable 2D grid of thumbnails, and also assign intent actions to them.
I go through how to identify which scroll view, if you have more than one, has been clicked and then which thumbnail has been clicked.
We use a combination of case and if statements to launch our intents and start other activities.