Custom glide builder now also accepts a custom url

This commit is contained in:
CappielloAntonio 2021-08-11 13:05:10 +02:00
parent 231eab549c
commit 8243173e29
24 changed files with 54 additions and 26 deletions

View file

@ -66,7 +66,7 @@ public class PlayingNotification {
final int bigNotificationImageSize = service.getResources().getDimensionPixelSize(R.dimen.notification_big_image_size);
service.runOnUiThread(() -> CustomGlideRequest.Builder
.from(service, song.getPrimary(), CustomGlideRequest.SONG_PIC)
.from(service, song.getPrimary(), CustomGlideRequest.SONG_PIC, null)
.bitmap()
.build()
.into(new CustomTarget<Bitmap>(bigNotificationImageSize, bigNotificationImageSize) {