Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Orientation Change in Fragment #193

Open
abbaselectricwala opened this issue May 13, 2020 · 0 comments
Open

Handle Orientation Change in Fragment #193

abbaselectricwala opened this issue May 13, 2020 · 0 comments

Comments

@abbaselectricwala
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant