Keep the scroll position when changing orientation. #8

Closed
opened 2022-07-24 08:45:28 +00:00 by AmineL · 2 comments
Owner

"Just one annoying bug: when going thru the feeds and having " mark as read" if the phone change from upright to landscape, the articles are reset back to the first article read. Then its necessary to fo back to the list view and start where you left of when the phone flipped..."

"Just one annoying bug: when going thru the feeds and having " mark as read" if the phone change from upright to landscape, the articles are reset back to the first article read. Then its necessary to fo back to the list view and start where you left of when the phone flipped..."
AmineL added the
Priority = Low
Priority = Some day
Type = Enhancement
Up For Grabs
labels 2022-07-24 08:45:28 +00:00
Author
Owner

Done, but the layout manager does not change. Not liking the result. I'll try to find something else.

Done, but the layout manager does not change. Not liking the result. I'll try to find something else.
Author
Owner

For now, this will be low priority.

The HomeActivity would have to change, and I don't have that much time to focus on the issue.

What I did was disable the activity reloading on orientation change (not sure if it was the right thing to do see here), but that was causing an issue.

Because the activity wasn't reloading, the view layout wasn't changing to StaggeredGridLayout in landscape mode.

This is still open if anyone want to do the changes.

For now, this will be low priority. The `HomeActivity` would have to change, and I don't have that much time to focus on the issue. What I did was disable the activity reloading on orientation change (not sure if it was the right thing to do [see here](https://stackoverflow.com/questions/7818717/why-not-use-always-androidconfigchanges-keyboardhiddenorientation/7990543#7990543)), but that was causing an issue. Because the activity wasn't reloading, the view layout wasn't changing to `StaggeredGridLayout` in landscape mode. This is still open if anyone want to do the changes.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Louvorg/ReaderForSelfoss-multiplatform#8
No description provided.