Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
anhtuan23 committed Jun 12, 2018
1 parent f578f6a commit 7c81776
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -829,9 +829,9 @@ public void toggleSelectTagView(int position) {
if (isTagViewSelectable){
TagView tagView = ((TagView)mChildViews.get(position));
if (tagView.getIsViewSelected()){
unselectTagView(position);
tagView.deselectView();
} else {
selectTagView(position);
tagView.selectView();
}
}
}
Expand All @@ -847,13 +847,13 @@ public void selectTagView(int position) {
}

/**
* Unselect a tag
* Deselect a tag
*
* @param position
*/
public void unselectTagView(int position) {
public void deselectTagView(int position) {
if (isTagViewSelectable)
((TagView)mChildViews.get(position)).unselectView();
((TagView)mChildViews.get(position)).deselectView();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ public void selectView() {
}
}

public void unselectView() {
public void deselectView() {
if (isViewSelectable && getIsViewSelected()) {
this.isViewSelected = false;
postInvalidate();
Expand Down

0 comments on commit 7c81776

Please sign in to comment.