mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 07:03:35 +00:00
Moved discovery song retrieval logic in homeViewModel
This commit is contained in:
@@ -33,11 +33,11 @@ public class DiscoverSongAdapter extends RecyclerView.Adapter<DiscoverSongAdapte
|
||||
private Context context;
|
||||
private MainActivity activity;
|
||||
|
||||
public DiscoverSongAdapter(MainActivity activity, Context context, List<Song> songs) {
|
||||
public DiscoverSongAdapter(MainActivity activity, Context context) {
|
||||
this.activity = activity;
|
||||
this.context = context;
|
||||
this.inflater = LayoutInflater.from(context);
|
||||
this.songs = songs;
|
||||
this.songs = new ArrayList<>();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user