I have a list of MyClass objects:

 public class MyClass { public String title; public String comment; public ImageView photo; } 

I need to present these objects in the same way as the mobile Chrome browser presents its open tabs (in the form of a stack, a photo with a title, with the possibility of an animated scroll, etc.)

Are there ready components for a similar task?

    1 answer 1

    Of course there is - you can present the data as you wish: you can use the ListView, customize the adapter (read how to display the data: where to put which field: text or photo) or use its improved version of RecycleView. An adapter is responsible for displaying the data, to which you can feed the layer you need: Data layer

    • Have you seen how tabs look in mobile Google Chrome? Nothing like a ListView. StackView looks more like Ivan Myasnikov
    • @IvanMiasnikov, you need to draw the layer yourself, what the data will look like - Ivan Vovk