//Android/br.com.arch.toolkit.android.foldable.extension/onNewLayoutInfo
[android]
fun ComponentActivity.onNewLayoutInfo(func: (WindowLayoutInfo) -> Unit): Job
Observes the activity and notifies on device state changes
android
| Â | Â |
|---|---|
| func | Will be called whenever there is a change |