Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
limuyang committed Jul 28, 2019
1 parent 5830e16 commit bb756fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ new Thread(new Runnable() {
@Override
public void run() {
final List<DiffUtilDemoEntity> newData = getNewList();
DiffDemoCallback callback = new DiffDemoCallback(newData);
MyDiffCallback callback = new MyDiffCallback(newData, mAdapter.getData());
final DiffUtil.DiffResult diffResult = DiffUtil.calculateDiff(callback, false);
runOnUiThread(new Runnable() {
@Override
Expand Down

0 comments on commit bb756fb

Please sign in to comment.