Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTextView enabled属性布局文件初始化Bug #7

Closed
ZQ7 opened this issue Aug 17, 2018 · 1 comment
Closed

RTextView enabled属性布局文件初始化Bug #7

ZQ7 opened this issue Aug 17, 2018 · 1 comment

Comments

@ZQ7
Copy link

ZQ7 commented Aug 17, 2018

public void setEnabled(boolean enabled) { super.setEnabled(enabled); mHelper.setEnabled(enabled); }
布局文件初始化的时候mHelper为空
public RTextView(Context context, AttributeSet attrs) { mHelper = new RTextViewHelper(context, this, attrs); super(context, attrs); }
是否应该先初始化mHelper?

@RuffianZhong
Copy link
Owner

@ZQ7
已经更新使用新版

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants