How to animate Google map to full screen in compose?
My Android compose app displays maps in the column with a vertical scroll (like a preview).
The map is displayed in the box and the fullscreen icon is at the bottom.
How can I use the fullScreen map when the user clicks on the fullScreen icon?
ComposeView doesn’t always refresh when composable content recomposes
I am absolutely baffled by this: I want to show a composable miniplayer in a ComposeView (in the layout.xml of a Fragment) as the rest of the screen (apart from one other ComposeView) is still in xml. The miniplayer recomposes just fine when state changes but this isn’t always reflected on screen as sometimes the view doesn’t update when state changes but if I run the app again it might just work as expected (or not).
ComposeView doesn’t always refresh when composable content recomposes
I am absolutely baffled by this: I want to show a composable miniplayer in a ComposeView (in the layout.xml of a Fragment) as the rest of the screen (apart from one other ComposeView) is still in xml. The miniplayer recomposes just fine when state changes but this isn’t always reflected on screen as sometimes the view doesn’t update when state changes but if I run the app again it might just work as expected (or not).
Compose TextField’s bad composition performance
I’m current implementing Compose Navigation in my app, and I’ve noticed that any screen with a TextField causes considerable delay between interaction and transition start. Are there any way to optimize the TextField performance?
Android Compose background color won’t change
I created a new empty activity in Android Studio
CircularProgressIndicator() doesn’t work inside an enabled button?
The CircularProgressIndicator() not loading inside an enabled button, works fine inside a disabled button though.
OutputTransformation on BasicTextField reseting text
Does anyone knows how to properly do a Password OutputTransformation to use with a BasicTextField?
I am doing like this:
Content of Scaffold’s top bar not recomposing
I have a run of the mill jetpack app, with a Scaffold setup. The top bar composable is supposed to display the username once they log in, but recomposition is not triggered. This is the code (I replaced the regular top bar with a simple Text, for simplicity)
How to avoid recomposition of neibour Box?
I’m trying to draw a backgroud (5000 dots using drawPoints
) that shouldn’t change once it was drawn. Every time I modify the count
variable (which is not read by Box1
), Box1
still redraws, though only Box2
reads count
variable.
Disable ripple effect of DropdownMenu and DropdownMenuItem in Jetpack Compose
In Jetpack Compose, how can I disable ripple effect (or adjust it) when clicking on DropdownMenu
(and DropdownMenuItem
also)