mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Add TypingIndicatorDecoration to CFV2.
This commit is contained in:
committed by
Greyson Parrelli
parent
27e7383db6
commit
47b97aafc6
@@ -80,6 +80,10 @@ public class ConversationTypingView extends ConstraintLayout {
|
||||
indicator.startAnimation();
|
||||
}
|
||||
|
||||
public boolean isActive() {
|
||||
return indicator.isActive();
|
||||
}
|
||||
|
||||
private void presentGroupThreadAvatars(@NonNull GlideRequests glideRequests, @NonNull List<Recipient> typists) {
|
||||
avatar1.setAvatar(glideRequests, typists.get(0), typists.size() == 1);
|
||||
avatar1.setVisibility(VISIBLE);
|
||||
|
||||
@@ -125,4 +125,8 @@ public class TypingIndicatorView extends LinearLayout {
|
||||
public void stopAnimation() {
|
||||
isActive = false;
|
||||
}
|
||||
|
||||
public boolean isActive() {
|
||||
return isActive;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user