mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Revert last commit
This commit is contained in:
parent
e741cc2ea8
commit
a1885e96cd
5 changed files with 12 additions and 11 deletions
|
|
@ -90,8 +90,8 @@ public class ArtistCatalogueAdapter extends RecyclerView.Adapter<ArtistCatalogue
|
|||
.from(
|
||||
context,
|
||||
artist.getId(),
|
||||
// CustomGlideRequest.ARTIST_PIC,
|
||||
artist.getImageUrl(),
|
||||
CustomGlideRequest.ARTIST_PIC,
|
||||
// artist.getImageUrl()
|
||||
null
|
||||
)
|
||||
.build()
|
||||
|
|
|
|||
|
|
@ -58,9 +58,10 @@ public class ArtistHorizontalAdapter extends RecyclerView.Adapter<ArtistHorizont
|
|||
|
||||
CustomGlideRequest.Builder
|
||||
.from(
|
||||
context, artist.getId(),
|
||||
// CustomGlideRequest.ARTIST_PIC,
|
||||
artist.getImageUrl(),
|
||||
context,
|
||||
artist.getId(),
|
||||
CustomGlideRequest.ARTIST_PIC,
|
||||
// artist.getImageUrl()
|
||||
null
|
||||
)
|
||||
.build()
|
||||
|
|
|
|||
|
|
@ -52,8 +52,8 @@ public class ArtistSimilarAdapter extends RecyclerView.Adapter<ArtistSimilarAdap
|
|||
.from(
|
||||
context,
|
||||
artist.getId(),
|
||||
// CustomGlideRequest.ARTIST_PIC,
|
||||
artist.getImageUrl(),
|
||||
CustomGlideRequest.ARTIST_PIC,
|
||||
// artist.getImageUrl()
|
||||
null
|
||||
)
|
||||
.build()
|
||||
|
|
|
|||
|
|
@ -69,10 +69,10 @@ public class CustomGlideRequest {
|
|||
|
||||
if (PreferenceUtil.getInstance(context).isDataSavingMode()) {
|
||||
this.item = MusicUtil.getDefaultPicPerCategory(category);
|
||||
} else if (item != null && !PreferenceUtil.getInstance(context).isDataSavingMode()) {
|
||||
this.item = createUrl(item, PreferenceUtil.getInstance(context).getImageSize());
|
||||
} else if (custom != null && !PreferenceUtil.getInstance(context).isDataSavingMode()) {
|
||||
this.item = custom;
|
||||
} else if (item != null && !PreferenceUtil.getInstance(context).isDataSavingMode()) {
|
||||
this.item = createUrl(item, PreferenceUtil.getInstance(context).getImageSize());
|
||||
} else {
|
||||
this.item = MusicUtil.getDefaultPicPerCategory(category);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -123,8 +123,8 @@ public class ArtistPageFragment extends Fragment {
|
|||
.from(
|
||||
requireContext(),
|
||||
artistPageViewModel.getArtist().getId(),
|
||||
// CustomGlideRequest.ARTIST_PIC,
|
||||
artist.getImageUrl(),
|
||||
CustomGlideRequest.ARTIST_PIC,
|
||||
// artist.getImageUrl()
|
||||
null
|
||||
)
|
||||
.build()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue