ManagedContent

open fun ManagedContent(context: Context, content: @Composable () -> Unit)

Function to display the correct content based on the current scenario such server offline or device disconnected

Parameters

context

: the current context where the function has been invoked

content

: the content to display in a normal scenario