Reputation: 4126
I'm creating a mini project that reads a JSON file from Flickr and get's a collection of images. I want to read those images a dispose them in a grid of images. When a user click/tap in one photo a new activity shows it in full screen.
As a bonus I want a share button on the full screen activity and loading widget on the main widget (while loading images from web).
I am beginner in Android but by now I have a JSON parser working, the next step I want to do is the grid display. So my question is, has anybody implemented something like that here? How can I do the grid trick? Suggestions are welcome!
Upvotes: 0
Views: 1133
Reputation: 27748
Check this answer of mine a few days ago. It is mighty length, so instead of adding the entire code, I am merely linking to it.
You will have to adapt a few things to suit your specific needs, but there, you will find almost the entire solution to your needs.
https://stackoverflow.com/a/13265776/450534.
I make use of Fedor's Lazy Loading, but feel free to use the Universal Image Loader as suggested by Lazy Ninja
Upvotes: 1