Back to project page jadab.
The source code is released under:
Apache License
If you think the Android project jadab listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.github.binding.android.propertyprovider.listener; // w w w .j a v a 2s . c o m import com.github.binding.Property; import android.text.Editable; import android.text.TextWatcher; public class TextWatcherProperty implements TextWatcher { public Property<String> property = new Property<String>(null); @Override public void afterTextChanged(Editable editable) { property.set(editable.toString()); } @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { // Empty definition. } @Override public void onTextChanged(CharSequence s, int start, int count, int after) { // Empty definition. AfterTextChanged() is less restrictive. } }