3

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.

BenMorel
  • 34,448
  • 50
  • 182
  • 322

2 Answers2

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

Community
  • 1
  • 1
madlymad
  • 6,367
  • 6
  • 37
  • 68
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

enter image description here

Minion
  • 565
  • 1
  • 7
  • 23