GiraffePlayer2
GiraffePlayer2 copied to clipboard
Handle Orientation Change in Fragment
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.