Search code examples
androidandroid-listviewandroid-adapterhorizontalscrollviewhorizontallist

How to implement a "News like" HorizontalScrollView in Android?


I want to implement an Horizontal ScrollView for dinamically show a News section like above:

enter image description here

The list will be populated dinamically via JSON async request. A simple position indicator (the circles) helps users to navigate trough the news.

I cannot use ViewPager, because the scroll will be a small section of a single activity.

How can I implement it (also using adapters)?


Solution

  • Using the below library, You can implement dynamically us you can implement in ListView :

    https://github.com/ongakuer/CircleIndicator