Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

fix: TransactionTooLarge Exception caused by FragmentStateAdapter #1850

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -519,10 +519,6 @@ class CourseTabsDashboardFragment : BaseFragment() {
) { tab: TabLayout.Tab, position: Int ->
tab.text = courseTabItems[position].title
}.attach()

if (courseTabItems.size - 1 > 1) {
binding.pager.offscreenPageLimit = courseTabItems.size - 1
}
}

private fun setupToolbar(hasAccess: Boolean) {
Expand Down
Loading