mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-03 21:57:44 +00:00
9b2aabfdc8
Fixes #3317 Closes #3605 // FREEBIE
13 lines
384 B
Java
13 lines
384 B
Java
package org.thoughtcrime.securesms.components.emoji;
|
|
|
|
import android.graphics.drawable.Drawable;
|
|
import android.graphics.drawable.Drawable.Callback;
|
|
import android.text.style.ImageSpan;
|
|
|
|
public class AnimatingImageSpan extends ImageSpan {
|
|
public AnimatingImageSpan(Drawable drawable, Callback callback) {
|
|
super(drawable, ALIGN_BOTTOM);
|
|
drawable.setCallback(callback);
|
|
}
|
|
}
|