Ashu
08/21/2021, 11:43 AMonSizeChanged
modifier provides size values in IntSize
, and the onSizeChanged
lambda is not a composable function either. How can I get size in Dp
inside onSizeChanged
modifier lambda.??Dominaezzz
08/21/2021, 12:09 PMLocalDensity
then?Ashu
08/21/2021, 3:28 PMDominaezzz
08/21/2021, 3:37 PMAshu
08/21/2021, 7:00 PMonSizeChanged
but I was hoping if there were a better way to do this.