GiraffePlayer2 icon indicating copy to clipboard operation
GiraffePlayer2 copied to clipboard

Handle Orientation Change in Fragment

Open abbaselectricwala opened this issue 6 years ago • 0 comments

i have multiple fragment in my activity. when i click on the expand button in the player in portrait mode it exits from the player moves to the first fragment in landscape mode with the audio running in background. i have added the orientation in manifest and also added the configuration change method in fragment and activity both. @Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); PlayerManager.getInstance().onConfigurationChanged(newConfig); }

Would be great if you help me out with this.

abbaselectricwala avatar May 13 '20 12:05 abbaselectricwala