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

Cells shrink on screen rotation #1

Open
arifnadeem7 opened this issue Jan 3, 2018 · 4 comments
Open

Cells shrink on screen rotation #1

arifnadeem7 opened this issue Jan 3, 2018 · 4 comments

Comments

@arifnadeem7
Copy link

I am using this library and I have enabled it for both portrait and landscape mode, the data is drawn perfectly the first time (both in portrait and landscape mode) but as soon as I change the screen orientation, the cells shrink and remain in that state unless I start the Activity again.

Any idea on how to go about fixing this?

@evrencoskun
Copy link
Owner

Could you please share your problem with some video ?

Thanks

@arifnadeem7
Copy link
Author

arifnadeem7 commented Jan 3, 2018

I won't be able to attach a video, but here are steps to reproduce

  1. Enable both screen orientations
  2. Scroll content and rotate device from portrait to landscape and vice-versa until you see cells which are either out of place or shrinked.

I am attaching screen shot of the problem, there is a problem in your example too when you rotate the device, please refer to 2nd screenshot attached and see row 18.

tableproblem
screenshot_20180103-145107

@evrencoskun
Copy link
Owner

evrencoskun commented Jan 3, 2018

The reason is (probably) TableView doens't store the scroll postion according to the activity lifecycle.

Even though this process is in my notes, I didn't do anything for this.

If I can find the time, This control will be inserted on this weekend .

Thanks for bug reporting

Have a nice day.

@arifnadeem7
Copy link
Author

Thanks for the prompt reply, have a nice day too.

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