[Solved] Android: What is the best way for building a music player with songs queue?
[ad_1] It’s simple…on recyclerview adapter click, pass arraylist of songs and current clicked pos to service class, then from service class play current and as soon finished play next position Like this : OnClick { service.playmusic(adapter. getsonglist(), current clicked pos) } and in service class you got arraylist and pos so do this List<song> playlist … Read more