Pablo
04/24/2025, 3:18 PM@Composable
fun DetailsScreen(
modifier: Modifier = Modifier,
customClass: CustomClass,
vm: DetailsScreenViewModel = koinViewModel()
) {
In my vm I have this uiState which should store that customClass variable:
data class DetailsScreenUiState(
val loading: Boolean = false,
val customClass: CustomClass? = null //this should keep the variable received in the screen parameter
)
Timo Drick
04/28/2025, 8:51 AM