Skip to content

Commit

Permalink
fix: notify dataset changed after data updated
Browse files Browse the repository at this point in the history
  • Loading branch information
goofyz committed Jan 16, 2024
1 parent 1844af0 commit b1f6a8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ enum CommentPosition {
public void updateCandidates(List<CandidateListItem> candidates) {
mCandidates.clear();
mCandidates.addAll(candidates);
notifyDataSetChanged();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ public void updateBeans(List<SimpleKeyBean> beans) {
if (!t.isEmpty()) {
mBeansByRows.add(t);
}

notifyDataSetChanged();
}

@Override
Expand Down

0 comments on commit b1f6a8c

Please sign in to comment.