Like this image I am trying to set notification large icon as user profile thumbnail like whatsapp or other chatting apps
I have tried
Glide.with(context)
.asBitmap()
.load(messageNotification.getLargeIcon())
.into(new SimpleTarget<Bitmap>() {
@Override
public void onResourceReady(Bitmap resource, Transition<? super Bitmap> transition) {
builder.setLargeIcon(resource);
}
});
but it is not working.. Any Help?
If you set the large icon using glide..the you should also notify the NotificationManager
onResourceReady(resource, transition)