1

Ok so i am trying to make a music app and i watched a tutorial saying that i should use a ListView but that video came out in 2015. A collegue told me that a recyclerView would be better

2 Answers2

2

If you are looking for simplicity, then I suggest ListView. It has detailed documentation (which can be found at https://developer.android.com/guide/topics/ui/layout/listview.html). It also has easy-to-use setAdapter functions to help you enter your data.

On the other hand, RecyclerView is more complex. It is more powerful and allows you to perform more tasks (such as various layout patterns, described at https://developer.android.com/training/material/lists-cards.html), but its API is more technical than that of ListView's.

If you are just going for displaying a list of songs and possibly subtitles, then I suggest going with the more simple route - ListView.

rpurohit
  • 364
  • 1
  • 10
1

It is better. RecyclerView is a ListView improvement! If you want to know more you can take a look here. Basically it reuses views, delegates common animations. You can also put items in a grid/staggered/linear/whatever layout through LayoutManager.