Function

restoreFocusedChild

Use this function to restore focus to one of the children of the node pointed to by this FocusRequester.

restoreFocusedChild

Source set: Common
public fun FocusRequesterModifierNode.restoreFocusedChild(): Boolean

Use this function to restore focus to one of the children of the node pointed to by this FocusRequester. This restores focus to a previously focused child that was saved by using saveFocusedChild.

Return

true if we successfully restored focus to one of the children of the focusTarget associated with this node.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: