Skip to content

Instantly share code, notes, and snippets.

@nazmulidris
Created March 9, 2018 01:27
Show Gist options
  • Select an option

  • Save nazmulidris/00d8fb9665a21046bebbe09a57267743 to your computer and use it in GitHub Desktop.

Select an option

Save nazmulidris/00d8fb9665a21046bebbe09a57267743 to your computer and use it in GitHub Desktop.
override fun onPictureInPictureModeChanged(
isInPIPMode: Boolean, newConfig: Configuration?) {
exoplayerview_activity_video.useController = !isInPictureInPictureMode
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment