mmathieum / montrealtransit-for-android

MonTransit for Android (OLD) / MonTransit pour Android (ANCIEN)
https://play.google.com/store/apps/details?id=org.montrealtransit.android
7 stars 3 forks source link

When switching to landscape view and back, all data is reloaded #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

I'll follow up with more details soon, I don't have my phone right now and
didn't want to forget about filing this.

Original issue reported on code.google.com by magic...@gmail.com on 15 Apr 2010 at 1:28

GoogleCodeExporter commented 9 years ago
The data should not be reloader in the bus stop view.

In the main view with the 4 tab, some data are reloaded (but this is only load 
from 
the local database). If you're displaying the bus lines grouped (by number or 
by 
type) in the 'Bus' tab, the data will reload.

The thing is when the user rotate his phone, all the view is recreated almost 
from 
scratch and it's hard to manage it.

Anyway, I'm waiting for more details from you on your specific issue.

Original comment by mathieu.mea on 15 Apr 2010 at 11:46

GoogleCodeExporter commented 9 years ago
We could add an option to fix set the rotation for the main screen to auto (as 
of 
today), landscape or portrait.
(For example, the official Android Contact app with 4 tabs is only visible in 
portrait 
on touchscreen device (like the Magic, the Nexus One ...)

I also think there is a way to improve the rotation of the bus lines list tab 
(when 
grouping bus lines by number or type).

Original comment by mathieu.mea on 22 Apr 2010 at 12:18

GoogleCodeExporter commented 9 years ago
I think this issue is fixed in r81 / r91.
No data should be reloaded when switching to landscape view.
(The version including these changes is not yest available).

Original comment by mathieu.mea on 3 May 2010 at 5:04