Jetpack Compose image path change causes flash
I have a composable that displays an Image (available locally), and my composable observes state of the file path. The application displays the low quality image while loading the full file, and once the full file is properly ready to be displayed, the state updates with the new path. However, on displaying the higher quality image there is a brief flash. How can I eliminate this flash?
LazyColumn and error @Composable invocations can only happen from the context of a @Composable function
I have a Composable that shows for each category a line with a dropdown etc and when i try to do a Foreach category do a line in the app so people can click and select a level it shows the Composable error @Composable invocations can only happen from the context of a @Composable function