Mirza
08/02/2024, 6:21 AMfun LoadItem() {
val testObject = viewModel.objectState.value // objectState is State in viewmodel. Even if I am reading directly without state then also same issue
Text(
modifier =
Modifier
._padding_(start = dimensionResource(id = R.dimen._dim_10dp_))
._weight_(1f),
text = testObject?.name ?: "",
color = _COLOR_232428_,
fontSize = 18._sp_,
fontFamily = _RobotoRegular_,
lineHeight = 20._sp_,
)
}