mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +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(
|
.from(
|
||||||
context,
|
context,
|
||||||
artist.getId(),
|
artist.getId(),
|
||||||
// CustomGlideRequest.ARTIST_PIC,
|
CustomGlideRequest.ARTIST_PIC,
|
||||||
artist.getImageUrl(),
|
// artist.getImageUrl()
|
||||||
null
|
null
|
||||||
)
|
)
|
||||||
.build()
|
.build()
|
||||||
|
|
|
||||||
|
|
@ -58,9 +58,10 @@ public class ArtistHorizontalAdapter extends RecyclerView.Adapter<ArtistHorizont
|
||||||
|
|
||||||
CustomGlideRequest.Builder
|
CustomGlideRequest.Builder
|
||||||
.from(
|
.from(
|
||||||
context, artist.getId(),
|
context,
|
||||||
// CustomGlideRequest.ARTIST_PIC,
|
artist.getId(),
|
||||||
artist.getImageUrl(),
|
CustomGlideRequest.ARTIST_PIC,
|
||||||
|
// artist.getImageUrl()
|
||||||
null
|
null
|
||||||
)
|
)
|
||||||
.build()
|
.build()
|
||||||
|
|
|
||||||
|
|
@ -52,8 +52,8 @@ public class ArtistSimilarAdapter extends RecyclerView.Adapter<ArtistSimilarAdap
|
||||||
.from(
|
.from(
|
||||||
context,
|
context,
|
||||||
artist.getId(),
|
artist.getId(),
|
||||||
// CustomGlideRequest.ARTIST_PIC,
|
CustomGlideRequest.ARTIST_PIC,
|
||||||
artist.getImageUrl(),
|
// artist.getImageUrl()
|
||||||
null
|
null
|
||||||
)
|
)
|
||||||
.build()
|
.build()
|
||||||
|
|
|
||||||
|
|
@ -69,10 +69,10 @@ public class CustomGlideRequest {
|
||||||
|
|
||||||
if (PreferenceUtil.getInstance(context).isDataSavingMode()) {
|
if (PreferenceUtil.getInstance(context).isDataSavingMode()) {
|
||||||
this.item = MusicUtil.getDefaultPicPerCategory(category);
|
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()) {
|
} else if (custom != null && !PreferenceUtil.getInstance(context).isDataSavingMode()) {
|
||||||
this.item = custom;
|
this.item = custom;
|
||||||
|
} else if (item != null && !PreferenceUtil.getInstance(context).isDataSavingMode()) {
|
||||||
|
this.item = createUrl(item, PreferenceUtil.getInstance(context).getImageSize());
|
||||||
} else {
|
} else {
|
||||||
this.item = MusicUtil.getDefaultPicPerCategory(category);
|
this.item = MusicUtil.getDefaultPicPerCategory(category);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -123,8 +123,8 @@ public class ArtistPageFragment extends Fragment {
|
||||||
.from(
|
.from(
|
||||||
requireContext(),
|
requireContext(),
|
||||||
artistPageViewModel.getArtist().getId(),
|
artistPageViewModel.getArtist().getId(),
|
||||||
// CustomGlideRequest.ARTIST_PIC,
|
CustomGlideRequest.ARTIST_PIC,
|
||||||
artist.getImageUrl(),
|
// artist.getImageUrl()
|
||||||
null
|
null
|
||||||
)
|
)
|
||||||
.build()
|
.build()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue