Wrap ConversationActivity code in a Fragment.

This commit is contained in:
Alex Hart
2022-01-14 09:06:28 -04:00
committed by Greyson Parrelli
parent afd6af6f57
commit b2b51e63be
11 changed files with 531 additions and 405 deletions

View File

@@ -100,6 +100,10 @@ public final class ViewUtil {
return new Stub<>(parent.findViewById(resId));
}
public static <T extends View> Stub<T> findStubById(@NonNull View parent, @IdRes int resId) {
return new Stub<>(parent.findViewById(resId));
}
private static Animation getAlphaAnimation(float from, float to, int duration) {
final Animation anim = new AlphaAnimation(from, to);
anim.setInterpolator(new FastOutSlowInInterpolator());