http://code.google.com/android/reference/android/widget/TextView.html#addTextChangedListener(android.text.TextWatcher)
Example:
editText.addTextChangedListener(new TextWatcher() {
public void afterTextChanged(Editable s) {
//XXX do s
So that's how I use the TextWatcher...Ok, it works perfectly! Thanks
tauntz! (Am I correct in assuming this is how to use the
tabHost.setOnTabChangeListener()?)
On Oct 26, 12:39 pm, tauntz <[EMAIL PROTECTED]> wrote:
> http://code.google.com/android/reference/android/widget/TextView.html...)
>
> E
Yes, you are correct.
(You can also create your own class that implements
OnTabChangeListener like this:
public class TabChangeListener implements OnTabChangeListener {
public void onTabChanged(String tabID) {
// XXX do something
}
}
and then use it:
TabChangeLis
3 matches
Mail list logo