AboutPlaidBinding.inflate(layoutInflater); // Get the TextView plaidDescription = binding.aboutDescription; // Get the View to give back to PagerAdapter aboutPlaid = binding.getRoot(); @BindView(R.id.about_description) TextView plaidDescription; // Inflate the layout aboutPlaid = layoutInflater.inflate(R.layout.about_plaid, parent, false); ButterKnife.bind(this, aboutPlaid); // Inflate the layout AboutPlaidBinding binding = AboutPlaidBinding.inflate(layoutInflater); // Get the View to give back to PagerAdapter aboutPlaid = binding.getRoot(); // Get the TextView plaidDescription = binding.aboutDescription;
requireAll = false) public static void setTextWatcher(TextView view, final BeforeTextChanged before, final OnTextChanged on, final AfterTextChanged after, final InverseBindingListener textAttrChanged) { ... } @BindingAdapter(value = {"android:beforeTextChanged", "android:onTextChanged", "android:afterTextChanged", "android:textAttrChanged"}, requireAll = false) public static void setTextWatcher(TextView view, final BeforeTextChanged before, final OnTextChanged on, final AfterTextChanged after, final InverseBindingListener textAttrChanged) { ... }