Function

BringIntoViewRequester

Create an instance of BringIntoViewRequester that can be used with Modifier.bringIntoViewRequester.

BringIntoViewRequester

Source set: Common
public fun BringIntoViewRequester(): BringIntoViewRequester

Create an instance of BringIntoViewRequester that can be used with Modifier.bringIntoViewRequester. A child can then call BringIntoViewRequester.bringIntoView to send a request to any BringIntoViewModifierNode parent so that they adjust its content to bring this item into view.

Here is a sample where a composable is brought into view:

Here is a sample where a part of a composable is brought into view:

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: