I set up sliding tabs with two Fragments each Fragment has a Button which goes to a WebView. The problem with this is whe
Fragment
Button
WebView
Kotlin:
Using ViewPager2...
viewPager.isUserInputEnabled = false
Swiping between tab is disabled and the user can still tap tabs at the top to go between tabs.
Documentation on isUserInputEnabled