small fix
This commit is contained in:
parent
e5570b2d10
commit
f081ac31f6
|
@ -89,7 +89,9 @@ public class CustomEmojiAdapter extends BaseAdapter {
|
||||||
public void onResourceReady(@NonNull Drawable resource, @Nullable Transition<? super Drawable> transition) {
|
public void onResourceReady(@NonNull Drawable resource, @Nullable Transition<? super Drawable> transition) {
|
||||||
emoji.setDrawable(resource);
|
emoji.setDrawable(resource);
|
||||||
if (imageView != null && emoji.getDrawable() != null) {
|
if (imageView != null && emoji.getDrawable() != null) {
|
||||||
imageView.setImageDrawable(emoji.getDrawable());
|
try {
|
||||||
|
imageView.setImageDrawable(emoji.getDrawable());
|
||||||
|
}catch (Exception ignored){}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue