NetworkUsageScreenContent

internal fun NetworkUsageScreenContent(modifier: Modifier = Modifier, state: NetworkUsageState, processIntent: (NetworkUsageIntent) -> Unit = {})(source)

Stateless network usage content adapter for previews and ViewModel tests.

Author

Dmitriy Moroz

Parameters

modifier

Compose modifier applied to the shared usage layout.

state

Current network usage state emitted by NetworkUsageViewModel.

processIntent

Intent sink used to route UI actions back to the ViewModel.