mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 15:03:37 +00:00
Added appbar in the bottom_sheet player
This commit is contained in:
@@ -74,6 +74,7 @@ public class PlayerBottomSheetFragment extends Fragment implements MusicServiceE
|
||||
|
||||
playerBottomSheetViewModel = new ViewModelProvider(requireActivity()).get(PlayerBottomSheetViewModel.class);
|
||||
|
||||
init();
|
||||
initQueueSlideView();
|
||||
initQueueRecyclerView();
|
||||
initFavoriteButtonClick();
|
||||
@@ -120,6 +121,15 @@ public class PlayerBottomSheetFragment extends Fragment implements MusicServiceE
|
||||
bind = null;
|
||||
}
|
||||
|
||||
private void init() {
|
||||
bodyBind.playerMoveDownBottomSheet.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
activity.collapseBottomSheet();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void initQueueSlideView() {
|
||||
bodyBind.playerSongCoverViewPager.setOrientation(ViewPager2.ORIENTATION_HORIZONTAL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user