How do we change the screen orientation dynamicall...
# compose
p
How do we change the screen orientation dynamically in compose? @Adam Powell @Andrey Kulikov
We can set the flag in requestOrientation by accessing it from LocalContext. But I wanted to know if there is any built-in function under compose for the same?
c
Orientation is something for the host window manager to handle, so calling out to the Activity is correct. There's no Compose API for this.