smooth transition between LiveStreamPlayerActivity opening

MoreHomeActivity creation

Blogs api integration
This commit is contained in:
2024-05-31 20:27:01 +05:30
parent 5bc2b44bc1
commit 78f3cd85e6
33 changed files with 483 additions and 13 deletions

View File

@@ -90,7 +90,11 @@ class LiveStreamPlayerActivity : AppCompatActivity(), FullscreenHandler {
override fun onFullscreenExitRequested() {
player.stop()
onBackPressedDispatcher.onBackPressed()
val windowInsetsController =
WindowCompat.getInsetsController(window, window.decorView)
windowInsetsController.show(WindowInsetsCompat.Type.systemBars())
finish()
}
override fun onAllowRotationChanged(allowRotation: Boolean) {}