@Override public void setText(CharSequence text, BufferType type) { if (!TextUtils.isEmpty(text)) { super.setText(replace(text), type); } else { super.setText(text, type); } }
private void init() { setContentView(R.layout.common_flipping_loading_diloag); mFivIcon = (FlippingImageView) findViewById(R.id.loadingdialog_fiv_icon); mHtvText = (HandyTextView) findViewById(R.id.loadingdialog_htv_text); mFivIcon.startAnimation(); mHtvText.setText(mText); }
public void setText(CharSequence text) { if (text != null) { mHtvText.setText(text); } }
public void setText(String text) { mText = text; mHtvText.setText(mText); }