Skip to content

Performance improvement detected by BlockCanary #13

@markzhai

Description

@markzhai

TagView

private void drawTags() {
...
View tagLayout = (View) mInflater.inflate(R.layout.tagview_item, null);
...
}

drawTags is called in addTag, which makes it inflate multiple times if we iterator server result to addTag.

Suggestion:
maybe expose a method to call drawTags, instead of call it everytime when add a tag.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions