Search code examples
androidandroid-layoutandroid-recyclerviewfragmentpageradapter

Which Android elements should I use to create two dynamic Lists?


I want to create an Android screen that has a List that scrolls from left to right (Items are more intricate than example below), and onClick() of a Horizontal Item, it displays items vertically (ie. Item 1, Item 2, Item 3).

I'm a little confused as to which elements should be used to create this screen?

Android Screen


Solution

  • You do something like this :

    ScrollView

    ---- RecyclerView (Horizontal)

    ---- RecyclerView (Vertical)