@SuppressLint("SetTextI18n") @Test public void testGetText() { mHeaderTextView.setText("Lorem ipsum"); HeaderMixin mixin = new HeaderMixin(mTemplateLayout, null, 0); assertEquals("Lorem ipsum", mixin.getText()); }
public CharSequence getText() { final TextView titleView = getTextView(); return titleView != null ? titleView.getText() : null; }
HeaderMixin implements Mixin { public CharSequence getText() { final TextView titleView = getTextView(); return titleView != null ? titleView.getText() : null; } }
HeaderMixin implements Mixin { public CharSequence getText() { final TextView titleView = getTextView(); return titleView != null ? titleView.getText() : null; } HeaderMixin(@NonNull TemplateLayout layout, @Nullable AttributeSet attrs,
            @AttrRes int defStyleAttr); }
HeaderMixin implements Mixin { public CharSequence getText() { final TextView titleView = getTextView(); return titleView != null ? titleView.getText() : null; } HeaderMixin(@NonNull TemplateLayout layout, @Nullable AttributeSet attrs,
            @AttrRes int defStyleAttr); TextView getTextView(); void setText(int title); void setText(CharSequence title); CharSequence getText(); }
HeaderMixin implements Mixin { public CharSequence getText() { final TextView titleView = getTextView(); return titleView != null ? titleView.getText() : null; } HeaderMixin(@NonNull TemplateLayout layout, @Nullable AttributeSet attrs,
            @AttrRes int defStyleAttr); TextView getTextView(); void setText(int title); void setText(CharSequence title); CharSequence getText();  }