From 548414170754589365aa2e381a0922ece3e76899 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 25 Aug 2019 09:22:31 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/main/rss/RssFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/main/rss/RssFragment.kt b/app/src/main/java/io/legado/app/ui/main/rss/RssFragment.kt index 7603f03ea..fba701142 100644 --- a/app/src/main/java/io/legado/app/ui/main/rss/RssFragment.kt +++ b/app/src/main/java/io/legado/app/ui/main/rss/RssFragment.kt @@ -34,6 +34,6 @@ class RssFragment : BaseFragment(R.layout.fragment_rss) { private fun initData() { rssLiveData?.removeObservers(viewLifecycleOwner) rssLiveData = LivePagedListBuilder(App.db.rssSourceDao().observeEnabled(), 50).build() - rssLiveData?.observe(viewLifecycleOwner, Observer { }) + rssLiveData?.observe(viewLifecycleOwner, Observer { adapter.submitList(it) }) } } \ No newline at end of file