Hi all, I am having some trouble with refactoring some old code. In a fragment, I have two lists, a datesRecyclerView, and a ClassesRecyclerView. When a date on the datesRecyclerView is clicked, a function is called to then populate the classes recyclerview with the classes that occur on that day. for some reason, sometimes the classes recyclerview is empty even though the list that I submit to it is not empty. This is using, XML, Kotlin Flows, and classesAdapter.submitList(filteredClassesList).
I can share the code if anyone wants it.
not kotlin but kotlin colored 3