Offline Synchronization Screen¶
The Offline Synchronization screen displays the synchronization status of the offline database with the remote service.
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