Friday, February 7, 2014

EditText listener event addTextChangedListener (new TextWatcher ())


            
There is a child in ExpandableListView controls in EditText, and now want to achieve the control monitor, the start is the default value, and there is no problem, now want to directly modify the content (which is the default), when modified, child appears to be modified in the other group the group, and some did not modify operation value has changed, which is why ah? ? ? Great God enlighten me beg, online. . . . .
Reply:
ListView reuse every item view caused, for example, view the second line may be re-used as a view in line 7, since each item view listview are likely to be reused when another item, this is done in order to save memory and time.
Reply:
What method can solve this problem ah? ?
Reply:
There may only be a result of your position, your listener event is written in the adapter inside it?
Reply:
Yes, in getChildView squadron edittext controls listening again to modify the content edittex hope the data outside the data input for the next adaptation

No comments:

Post a Comment