cachapa / ExpandableLayout

An expandable layout container for Android
Apache License 2.0
2.34k stars 273 forks source link

Resetting child view when expanding other view #79

Closed TamirHarouach closed 5 years ago

TamirHarouach commented 5 years ago

Hi, i have a child view that contain an EditText when i am writing something and move to other editText in other views the first one get reseted.

Screenshot_1566389744

go to other view and write

Screenshot_1566389759

going back to the first one nothing there

Screenshot_1566389764

TamirHarouach commented 5 years ago

PS : if i goes back again and expand the view some time i got the text back

cachapa commented 5 years ago

Is this inside a recyclerview? In that case your previous view is being recycled.

TamirHarouach commented 5 years ago

Yes it's inside a RV, so i should use a listview instead ?

cachapa commented 5 years ago

I don't know your use case, so I can't give a recommendation. You might have more success asking that in StackOverflow. In any case this isn't an issue with ExpandableLayout, so I'm closing this.