You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In class TagView in method addTags(List<Tag> tags)you do addTag(item);
But what are doing here?
public void addTag(Tag tag) {
mTags.add(tag);
drawTags();
}
After adding of each tag to addTag you draw tags...
Inside drawTags()
first removeAllViews();
and then for (Tag item : mTags)
Are you jokking? Why if you are going to remove and redraw all, you do it after adding of each element to inner list?
Sorry guys but it have to be optimized!
The text was updated successfully, but these errors were encountered:
In class TagView in method
addTags(List<Tag> tags)
you doaddTag(item)
;But what are doing here?
After adding of each tag to addTag you draw tags...
Inside drawTags()
first
removeAllViews();
and then
for (Tag item : mTags)
Are you jokking? Why if you are going to remove and redraw all, you do it after adding of each element to inner list?
Sorry guys but it have to be optimized!
The text was updated successfully, but these errors were encountered: