Closed bengelhaupt closed 4 years ago
As far as I'm concerned it has nothing to do with #205.
I found out it's the line updateViewPager(listOf())
at the end of CourseItemsActivity.onCreate()
that causes the bug. It has been introduced in https://github.com/openHPI/xikolo-android/commit/dbeee09752cb55532b7e8812a4aadcdf1ca8f2a3#diff-d40a63043cd4256834516fb97b4933da but I dont quite remember why I made that change. It might be some edge-case.
Oh, haha, let's see if something else breaks instead 😅
I believe this is caused by our messy handling of the fragment adapter (which I do not want to touch again), but this workaround fix works as well.