Skip to content

Offline Synchronization Screen

The Offline Synchronization screen displays the synchronization status of the offline database with the remote service.

Offline Synchronization

Definition

@Composable
fun OfflineSyncScreen(
    settings: OfflineSyncScreenSettings = OfflineSyncScreenSettings(),
    progress: () -> Float,
    onBackButtonClick: ViewClickListener = {}
) { ... }

Example

val state : MutableStateOf<Float> = ...
OfflineSyncScreen(progress = {
    state.value
}) {
    navController.popBackStack()
}

Last update: February 20, 2023