Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Dec 24, 2018
1 parent c61363f commit 0a8c758
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ public void setChildDatas(List<S> childDatas) {
}

public void removeChild(int childPosition) {

if (childDatas == null || childDatas.size() == 0) {
return;
}
childDatas.remove(childPosition);
}

public T getGroupData() {
Expand Down

0 comments on commit 0a8c758

Please sign in to comment.