[QL-v2] Reset input state on scroll and restore state on scrolling back.

Bug: 261872461
Test: see video in bug
Change-Id: I18e1923bdd4c40e84e46579296b69268d46c9fa1
This commit is contained in:
Holly Sun committed 2022-12-12 14:03:31 -08:00
1 parent 9a6a2c8a2d
commit 196d55aa77
2 files changed
+27 -6

No files matched your search

@@ -159,4 +159,14 @@ public class ExtendedEditText extends EditText {
listener.onFocusChange(this, focused);
}
}
/**
* Save the input, suggestion, hint states when it's on focus, and set to unfocused states.
*/
public void saveFocusedStateAndUpdateToUnfocusedState() {}
/**
* Restore to the previous saved focused state.
*/
public void restoreToFocusedState() {}
}