mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-02 02:13:33 +00:00
Randomized initialization of playlists on the homepage
This commit is contained in:
parent
72712d6feb
commit
72218749c0
2 changed files with 8 additions and 7 deletions
|
|
@ -484,7 +484,7 @@ public class HomeFragment extends Fragment {
|
|||
}
|
||||
|
||||
public void initPinnedPlaylistsView() {
|
||||
homeViewModel.getPinnedPlaylistList(requireActivity()).observe(requireActivity(), playlists -> {
|
||||
homeViewModel.getPinnedPlaylistList(requireActivity(), 5, true).observe(requireActivity(), playlists -> {
|
||||
if (bind != null && playlists != null) {
|
||||
for (Playlist playlist : playlists) {
|
||||
int playlistViewHashCode = playlist.getId().hashCode();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue