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

Activity is restarted on orientation #1153

Closed
gourabsingha1 opened this issue Mar 9, 2024 · 2 comments
Closed

Activity is restarted on orientation #1153

gourabsingha1 opened this issue Mar 9, 2024 · 2 comments

Comments

@gourabsingha1
Copy link
Contributor

Summary:

When I switch from portrait to landscape mode and vice versa, the activity is restarted giving a bad UX.
This happens in almost all activities.
Also, during this process, the map is filled with blue when a route is shown.
Plus the route detail which shows on top, follows with switching activities from any one activity to any other activity of the first 4 activities on navigation drawer.

Steps to reproduce:

Switch from portrait to landscape mode and vice versa.

Expected behavior:
Activity should not restart. Map shouldn't turn blue. Route detail shouldn't follow.

Observed behavior:

Described above.

Screenshots:

XRecorder_09032024_211915.1.mp4
@gourabsingha1
Copy link
Contributor Author

I've fixed this issue. Raising a PR soon.

@gourabsingha1 gourabsingha1 changed the title Activity is restarted when switched from portrait to landscape mode and vice versa Activity is restarted on orientation Mar 10, 2024
gourabsingha1 added a commit to gourabsingha1/onebusaway-android that referenced this issue Mar 16, 2024
…restarts-on-switching-from-portrait-to-landscape-mode-and-vice-versa
@amrhossamdev
Copy link
Member

I think this is completed

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

2 participants