/** * bind text of Text view. * @param property the property * @return this. */ public BatchTextViewBinder<T> bindText(String property){ mBinder.bindText(property, mView); return this; } /**
/** * bind text of Text view. * @param property the property * @return this. */ public BatchTextViewBinder<T> bindText(String property){ mBinder.bindText(property, mView); return this; } /**
/** * bind text of Text view. * @param property the property * @return this. * @since 1.1.2 */ public BatchTextViewBinder<T> bindText(Property property){ mBinder.bindText(property.getName(), mView); return this; } /**
/** * bind text of Text view. * @param property the property of data * @param textView the text view. eg: android.widget.TextView on android platform * @return this. * @since 1.1.2 */ public final Binder<T> bindText(Property property, Object textView){ return bindText(property.getName(), textView); } /**
/** * bind text of Text view. * @param property the property of data * @param textView the text view. eg: android.widget.TextView on android platform * @return this. * @since 1.1.2 */ public final Binder<T> bindText(Property property, Object textView){ return bindText(property.getName(), textView); } /**
/** * bind text of Text view. * @param property the property * @return this. * @since 1.1.2 */ public BatchTextViewBinder<T> bindText(Property property){ mBinder.bindText(property.getName(), mView); return this; } /**
@Override protected void onInit(Context context, Bundle savedInstanceState) { Binder<TestSelfMethod> binder = DataMediatorFactory.createBinder(TestSelfMethod.class); //bind property to textView binder.bindText(TestSelfMethod.PROP_text, mTv); //get proxy mProxy = binder.getDataProxy(); }