Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Maintenance work
View staffing
Description
Currently FocusRequester.requestFocus() has no return value. Users have to use an onFocusChanged callback to determine whether the requestFocus succeeded.
We can't change the API of requestFocus() until we move to Compose 2.0. However in preparation for that, make the underlying FocusModifier.requestFocus() return a boolean. This might be useful in internal code that calls FocusModifier.requestFocus()