mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-01-31 14:43:36 +00:00
Revert last commit
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user