android - TextChange listener usage with single TextView -
i using addtextchangedlistener waits user input textview part of simple quiz app. i using single activity of questions - updating ui whenever user proceeds next question. problem having listener picking events of questions due same textview being used. know methods of making listener listen events text view on current question? //listener added in oncreate() textviewletter = (textview) findviewbyid(r.id.textview6); textviewletter.addtextchangedlistener(new textwatcher() { @override public void ontextchanged(charsequence s, int start, int before, int count) { } @override public void beforetextchanged(charsequence s, int start, int count, int after) { } @override public void aftertextchanged(editable s) { toast t = toast.maketext(introduction.this, "changed" toast.length_short); t.show(); } }); //methods ui updated - lessonno ...