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