Skip to content

Commit 87d18e5

Browse files
committed
修改demo错误
1 parent 48fc6bc commit 87d18e5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/src/main/java/com/czq/kotlinarch/example/FeedArticleActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ class FeedArticleActivity : BasePagingActivity<FeedArticleContract.IPresenter>()
3030
}
3131

3232

33+
34+
3335
}

kotlin_arch/src/main/java/com/czq/kotlin_arch/basePage/paging/BasePagingActivity.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,8 @@ abstract class BasePagingActivity<T : IBasePagingPrensenter> : BaseActivity<T>()
8787
multiAdapter.items = datasource
8888
multiAdapter.notifyDataSetChanged()
8989
}
90+
override fun notifyDataChange() {
91+
multiAdapter.notifyDataSetChanged()
92+
}
9093

9194
}

0 commit comments

Comments
 (0)