[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
2022-12-08 14:05:37 -08:00
parent 9a6a2c8a2d
commit 196d55aa77
2 changed files with 27 additions and 6 deletions

View File

@@ -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() {}
}