mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Code cleanup
This commit is contained in:
parent
fc5876829c
commit
4396b83667
1 changed files with 0 additions and 11 deletions
|
|
@ -44,7 +44,6 @@ public class AlbumPageFragment extends Fragment {
|
||||||
private AlbumPageViewModel albumPageViewModel;
|
private AlbumPageViewModel albumPageViewModel;
|
||||||
|
|
||||||
private SongHorizontalAdapter songHorizontalAdapter;
|
private SongHorizontalAdapter songHorizontalAdapter;
|
||||||
private AlbumArtistPageOrSimilarAdapter albumArtistPageOrSimilarAdapter;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreate(@Nullable Bundle savedInstanceState) {
|
public void onCreate(@Nullable Bundle savedInstanceState) {
|
||||||
|
|
@ -70,7 +69,6 @@ public class AlbumPageFragment extends Fragment {
|
||||||
initAppBar();
|
initAppBar();
|
||||||
initAlbumInfoTextButton();
|
initAlbumInfoTextButton();
|
||||||
initMusicButton();
|
initMusicButton();
|
||||||
initSimilarAlbumsView();
|
|
||||||
initBackCover();
|
initBackCover();
|
||||||
initSongsView();
|
initSongsView();
|
||||||
|
|
||||||
|
|
@ -138,11 +136,6 @@ public class AlbumPageFragment extends Fragment {
|
||||||
Toast.makeText(requireContext(), "Error retrieving artist", Toast.LENGTH_SHORT).show();
|
Toast.makeText(requireContext(), "Error retrieving artist", Toast.LENGTH_SHORT).show();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
/*albumPageViewModel.getAlbumInfo().observe(requireActivity(), album -> {
|
|
||||||
if (bind != null) bind.albumBioLabel.setVisibility(album.getNotes() != null ? View.VISIBLE : View.GONE);
|
|
||||||
bind.albumBioLabel.setText(album.getNotes());
|
|
||||||
});*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initMusicButton() {
|
private void initMusicButton() {
|
||||||
|
|
@ -197,8 +190,4 @@ public class AlbumPageFragment extends Fragment {
|
||||||
songHorizontalAdapter.setItems(songs);
|
songHorizontalAdapter.setItems(songs);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initSimilarAlbumsView() {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue