I have to display ListView contains EditText on Dialog, where a user can type the text in EditText and its content should not be lost.
For example, I have 10 EditText in listview, if the user types "11" in first EditText , "22" in second EditText , "33" in third EditText and scroll down the listview at tenth EditText after that user scroll it up again at first EditText at that time the value in first EditText should be "11", for second EditText "22" and so on, I have achieved this by setting EditText when text gets changed in EditText.
I use NiftyDialog as dialog (Link). The issue is that the EditText got focus randomly (it sometimes worked and sometimes not).
I have set
android:descendantFocusability="afterDescendants"
in ListView and set
android:windowSoftInputMode="adjustPan"
in Manifest File, but its not working properly.
What can be the issue here?