https://kotlinlang.org logo
#compose
Title
# compose
z

Zoltan Demant

09/30/2023, 5:59 AM
Now that
SystemUIController
is deprecated, and
enableEdgeToEdge
is available... How do you actually handle dynamically changing the statusBars in response to preferences in the app?
👀 1
o

okarm

09/30/2023, 8:07 AM
I just copied
SystemUIController
into my project. If it ain't broke...
👀 1
t

Timo Drick

09/30/2023, 10:26 AM
Interesting i do use enableEdgeToEdge but also need some functionality from the SystemUIController e.g.: systemUiController.isNavigationBarVisible, systemUiController.isSystemBarsVisible for a video player which should hide the navigation and statusbar when playing a video. So i am also interessted to know how to do this with the new API.
z

Zoltan Demant

10/04/2023, 1:28 PM
Ended up doing something like NIA: https://github.com/android/nowinandroid/pull/817
29 Views