bindWithTabLayout

fun bindWithTabLayout(tabLayout: TabLayout, configuration: TabLayoutDeclaration? = null): ViewPager2Configuration

Function to bind TabLayout with the androidx.viewpager2.widget.ViewPager2

Parameters

tabLayout

TabLayout to linked with the androidx.viewpager2.widget.ViewPager2

configuration

configuration for the TabLayout