-
public final class ControlFocusInsetsAnimationCallback extends WindowInsetsAnimationCompat.Callback
A WindowInsetsAnimationCompat.Callback which will request and clear focus on the given view, depending on the WindowInsetsCompat.Type.ime visibility state when an IME WindowInsetsAnimationCompat has finished.
This is primarily used when animating the WindowInsetsCompat.Type.ime, so that the appropriate view is focused for accepting input from the IME.
-
-
Field Summary
Fields Modifier and Type Field Description private final WindowInsetsmDispachedInsets
-
Constructor Summary
Constructors Constructor Description ControlFocusInsetsAnimationCallback(View view, Integer dispatchMode)
-
Method Summary
Modifier and Type Method Description WindowInsetsCompatonProgress(WindowInsetsCompat insets, List<WindowInsetsAnimationCompat> runningAnimations)UnitonEnd(WindowInsetsAnimationCompat animation)-
-
Method Detail
-
onProgress
WindowInsetsCompat onProgress(WindowInsetsCompat insets, List<WindowInsetsAnimationCompat> runningAnimations)
-
onEnd
Unit onEnd(WindowInsetsAnimationCompat animation)
-
-
-
-