InQBarna / TableFixHeaders

Android library that implements a table with fixed headers.
Apache License 2.0
818 stars 300 forks source link

after horizontal scrolling content get reset #134

Closed kaushalraykar closed 4 years ago

kaushalraykar commented 4 years ago

hello in my column no 3 their is a edit text, when i enter the value in edit text and perfom horizontal scrolling edit text value get reset to 0.

BraisGabin commented 4 years ago

TFH doesn't save the state of the views. So if you have an EditText in it you should save the data that the user writes as soon as it writes it. Otherwise you are going to have this problem. Or other problems like values repeated on vertical scroll.

You could rewrite TFH to save and restore the view state... But I think that even the RecyclerView doesn't do that so it doesn't seem a good idea.