开发者

Android Image Gallery in Grid Form

开发者 https://www.devze.com 2023-03-21 01:14 出处:网络
I am working on a project related to some image viewer. I get images from some server and display their thumbnail version on screen. I want to show the images in 3 x 2 matrix means 2 images per row an

I am working on a project related to some image viewer. I get images from some server and display their thumbnail version on screen. I want to show the images in 3 x 2 matrix means 2 images per row and 3 rows. Images can be from 1 to 50. User may click on a particular image, its details are loaded and shown on screen. The problem I am facing is how to create a matrix view and when user click on a particular image, how to identify which image was clicked so that its details can be loa开发者_如何学运维ded and displayed...???


Gridview is easy way.Besides with fixed matrix, you can use normal layout.GoodLuck

0

精彩评论

暂无评论...
验证码 换一张
取 消