Created a demo for foldable devices. When the device is folded, I want to show one layout and when the device is unfolded I have different layout to show.then how to manage two layout according to Configuration Changed.?
override fun onConfigurationChanged(newConfig: Configuration) {
super.onConfigurationChanged(newConfig)
Log.i(myTag, "onConfigurationChanged...")
}