The Facebook timeline seems to display all the feeds in the listview vertically. When the user shares his/her multiple photos, then those photos are displayed in horizontal list view. Has anybody any idea, how this actually works. Because I don't think nesting a horizontal listview within vertical listview works. Nor does the horizontal listview functions smoothly within the vertical scrollbar. So, if anybody has any idea about how Facebook implements its views in timeline, do share it here.
Asked
Active
Viewed 6,593 times
3
-
I think it is possible to put more listviews into each other... Just implement two custom ArrayAdapters and you can do it... – EMarci15 Feb 24 '13 at 12:21
-
1It looks to me like a Gallery inside the list item! – madlymad Feb 24 '13 at 12:22
2 Answers
0
To use a gallery for the photos check out that example: https://stackoverflow.com/a/11544447/944070
You may also need an implementation of different list items per case, so this answer would also be helpful https://stackoverflow.com/a/3515221/944070
0
That can be done using custom list view. Below tutorial covers facebook like feed view using volley networking library
Android Facebook like Custom ListView Feed using Volley

Minion
- 565
- 1
- 7
- 23