Skip to content

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

@ZQ7

Description

@ZQ7

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions