ViewUserBody

@Composable
fun ViewUserBody(id: String, model: UserModel?, loading: Boolean = false, error404: Boolean = false, onActions: (ViewUserActions) -> Unit = {}, backDispatcher: OnBackPressedDispatcher? = null)

Body page ViewUserScreen

Author

Vitaliy Zarubin

Parameters

id

user identifier

model

data db room UserModel

loading

state call query to api

error404

state if model not found

onActions

actions page

backDispatcher

dispatcher press back