Hello, I see some strange behavior with compose on...
# compose-wear
a
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)
y
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
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.
I'm forced to use @style/AppCompatTheme with AppCompatActivity and this causes the issue. Any idea how to solve it?
y
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
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