Fixed 'no meeting today' at the bottom of the screen with header at the top if list is empty

This commit is contained in:
Sylvain Berfini 2024-07-18 14:46:34 +02:00
parent 22795a5284
commit a6b510e536

View file

@ -104,8 +104,8 @@ class MeetingsListFragment : AbstractMainFragment() {
binding.meetingsList.setHasFixedSize(true)
val layoutManager = LinearLayoutManager(requireContext())
layoutManager.stackFromEnd = true
binding.meetingsList.layoutManager = layoutManager
val headerItemDecoration = RecyclerViewHeaderDecoration(requireContext(), adapter)
binding.meetingsList.addItemDecoration(headerItemDecoration)