Skip to content

MultiTextColorSelectorColorCreator中对颜色值的判断有误 #159

@Suguiqiang

Description

@Suguiqiang

设置#ffffff时,Color.parseColor会返回-1,所以下面判断有误:
if(color == -1){
throw new IllegalArgumentException("cannot find color from the last attribute");
}

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