mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
style: even out the top padding and hide one too many dividers
This commit is contained in:
parent
69e9d5686f
commit
5a2d74a2f4
4 changed files with 4 additions and 2 deletions
|
|
@ -454,6 +454,7 @@ public class HomeTabMusicFragment extends Fragment implements ClickCallback {
|
|||
} else {
|
||||
if (bind != null) bind.starredArtistsPlaceholder.placeholder.setVisibility(View.GONE);
|
||||
if (bind != null) bind.starredArtistsSector.setVisibility(!artists.isEmpty() ? View.VISIBLE : View.GONE);
|
||||
if (bind != null) bind.afterFavoritesDivider.setVisibility(!artists.isEmpty() ? View.VISIBLE : View.GONE);
|
||||
if (bind != null) bind.starredArtistsRecyclerView.setLayoutManager(new GridLayoutManager(requireContext(), UIUtil.getSpanCount(artists.size(), 5), GridLayoutManager.HORIZONTAL, false));
|
||||
|
||||
starredArtistAdapter.setItems(artists);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue