Hello, I see some strange behavior with compose on Wear OS 2 (2.34 Emulator) but only for this app. I have other app which uses viewmodel and it works just fine. Anyone knows what may be causing this? (App has a lot of chips for different settings)
No idea, but one speculative guess, could you apply a solid background to the screen? I wonder whether compose isn't drawing to the parts that are invalidated as you scroll.
a
amoledwatchfaces
07/04/2023, 3:33 PM
It's because of the AppCompatActivity which I'm using to be able to change locales manually.
AppCompatDelegate.setApplicationLocales()
When I switch to ComponentActivity, the issue is fixed but I'm not able to changes app locale anymore.
amoledwatchfaces
07/04/2023, 3:37 PM
I'm forced to use @style/AppCompatTheme with AppCompatActivity and this causes the issue. Any idea how to solve it?
If you can make a simple repro - I'd raise a bug, since that is in an androidx supported library. Not sure if/when it will be fixed or prioritised.
a
amoledwatchfaces
07/04/2023, 3:48 PM
Yes. I think I have it. Had to change theme to AppCompat.Light.NoActionBar with #000 background and also add the @style/MyAppTheme to Android Manifest in both application and mainactivity (Previously only had it in . Mainactivity