Skip to content

Commit

Permalink
add clear() for clear list
Browse files Browse the repository at this point in the history
  • Loading branch information
softrunapp committed Nov 24, 2019
1 parent 981c73c commit 9f720cc
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ public void submitItem(ITEM item, int position) {
notifyDataSetChanged();
}

public void clear() {
mDataSet.clear();
notifyDataSetChanged();
}


protected ITEM getItem(int position) {
return mDataSet.get(position);
Expand Down

0 comments on commit 9f720cc

Please sign in to comment.