Composable Function

remoteComponent

Returns a RemoteComponent bound to the enclosing layout component.

remoteComponent

Source set: JvmAndAndroid
@Composable
public fun remoteComponent(): RemoteComponent

Returns a RemoteComponent bound to the enclosing layout component.

  • Captures the enclosing layout component's identity at composition time.
  • RemoteFloat is consumed (such as in sibling modifiers, nested containers, or RemoteCanvas draw commands).

  • Resolves RemoteComponent properties to that component's ID regardless of where the resulting

Return

RemoteComponent bound to the current layout component in composition

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: