ActivityHostedBoomerangStoreScope

@Composable
fun ActivityHostedBoomerangStoreScope(content: @Composable () -> Unit)(source)

A Composable function that provides a BoomerangStore from an Activity that implements BoomerangStoreHost to its content. This function retrieves the BoomerangStore from the hosting Activity and makes it available to the content via LocalBoomerangStore. This function should be used when your app uses both Composables and Fragments for navigation. For more info check BoomerangStoreHost.

Parameters

content

The content that will have access to the BoomerangStore

Throws

if the hosting Activity does not implement BoomerangStoreHost or if the BoomerangStore is not initialized