Do any insurance companies do insurance on two cars uk only?

PS I spent the whole evening following links to multicar insurance but not one of them did it despite advertising that they do. try it for yourself so the question is why is it that if a person has…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Say No More To TextWatcher Callback

As Android Developer, we have used TextWatcher callback to listen any of the changes in the EditText.

Something like this :

In Your xml Layout use OnTextChanged property

And call the view model user defined method to handle text changes in EditText. Full Snippet is below :

ViewModel User defined method can be like this (implement as per your implementation):

Now no more of TextWatcher callback in your View(Activity/Fragment), Instead use data binding to avoid boilerplate code.

Use MVVM, implement user defined method’s in View Model to handle OnTextChanged in xml.

Hope to see more of this implementation in future :-)

Cheers!!

Add a comment

Related posts:

7 Privacy tips to stay safe online with chrome

Protect your online privacy with these 7 essential tips for Chrome users. Stay secure and keep your data safe while browsing the web.

cool cool cool

so this is it. the moment when i finally make a blog. start writing. so i guess this is that first post… when you explain who you are. what you like. what you don’t like. basically what the hell to…

Menangkan Trip ke Vietnam Bersama NEAR Foundation

Peran yang signifikan dari NEAR Foundation adalah untuk meningkatkan awareness dari NEAR Protocol. Jadi, dimana lagi tempat yang paling cocok untuk meluncurkan campaign terkini dari NEAR selain di…