mirror of
https://github.com/NiciDieNase/chaosflix
synced 2025-02-16 21:18:23 +00:00
replace MergeAdapter with ConcatAdapter (fix after updating Recyclerview-Version)
This commit is contained in:
parent
f2509c58d5
commit
7efc839710
1 changed files with 2 additions and 2 deletions
|
@ -13,9 +13,9 @@ import androidx.browser.customtabs.CustomTabsIntent
|
|||
import androidx.fragment.app.Fragment
|
||||
import androidx.lifecycle.Observer
|
||||
import androidx.navigation.fragment.findNavController
|
||||
import androidx.recyclerview.widget.ConcatAdapter
|
||||
import androidx.recyclerview.widget.GridLayoutManager
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import androidx.recyclerview.widget.MergeAdapter
|
||||
import com.google.android.material.snackbar.Snackbar
|
||||
import de.nicidienase.chaosflix.common.mediadata.entities.streaming.StreamUrl
|
||||
import de.nicidienase.chaosflix.common.viewmodel.BrowseViewModel
|
||||
|
@ -65,7 +65,7 @@ class LivestreamListFragment : Fragment() {
|
|||
}
|
||||
}
|
||||
|
||||
binding.list.adapter = MergeAdapter(livestreamAdapter, eventInfoAdapter)
|
||||
binding.list.adapter = ConcatAdapter(livestreamAdapter, eventInfoAdapter)
|
||||
binding.swipeRefreshLayout.setOnRefreshListener {
|
||||
updateList()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue