mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
Set bottomSheet in peek if a song is playing
This commit is contained in:
parent
1926c7a696
commit
57320c25e6
5 changed files with 25 additions and 7 deletions
|
|
@ -103,6 +103,7 @@ public class DiscoverSongAdapter extends RecyclerView.Adapter<DiscoverSongAdapte
|
|||
@Override
|
||||
public void onClick(View view) {
|
||||
MediaManager.startQueue(mediaBrowserListenableFuture, context, songs.get(getBindingAdapterPosition()));
|
||||
activity.setBottomSheetInPeek(true);
|
||||
|
||||
SongRepository songRepository = new SongRepository(App.getInstance());
|
||||
songRepository.getInstantMix(songs.get(getBindingAdapterPosition()), 20, new MediaCallback() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue