galex
08/08/2020, 12:27 PMView.setVisibility
on Composables? I’d like to hide a Composable when needed but not just change its opacity because this means it still catches onClicks!var modifier = Modifier.fillMaxSize()
modifier = if (showProgress) modifier + Modifier.noTap().drawOpacity(1f)
else modifier + Modifier.drawOpacity(0f)
Ricardo C.
08/08/2020, 12:31 PMallan.conda
08/08/2020, 12:31 PMif (showProgress){
ProgressDialog(...)
}
galex
08/08/2020, 12:47 PMRicardo C.
08/08/2020, 12:50 PMgalex
08/08/2020, 12:54 PMGiorgos Neokleous
08/08/2020, 12:55 PMgone
, out of curiosity what about invisible
?Mehdi Haghgoo
08/08/2020, 5:41 PMallan.conda
08/08/2020, 5:44 PMbrandonmcansh
08/08/2020, 7:17 PM