[android-beginners] Re: getting length of an EditText while entering text

2009-09-29 Thread Justin Anderson
One way would be to subclass the EditText class... You would then have access to onTextChanged and could do whatever you want with it. Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and

[android-beginners] Re: getting length of an EditText while entering text

2009-09-29 Thread infero
> One way would be to subclass the EditText class...  You would then have > access to onTextChanged and could do whatever you want with it. Thanks Justin, That sounds like a big overhead :-( for something quite simple. I hope there is somehow a simpler way available... Regards infero --~--~-

[android-beginners] Re: getting length of an EditText while entering text

2009-09-29 Thread Justin Anderson
And indeed there is... My last post was without referencing the docs. However there is this: addTextChangedListener(TextWatcher watcher) Hope that helps. Thanks, Justin -- There are only 10 types of people in the world... Those