Package com.
devbase.
presentation.
viewpager
Defines adapter configuration for ViewPager and ViewPager2
Types
Link copied to clipboard
class DevPagerStateAdapter( fm: FragmentManager, lifeCycle: Lifecycle, fragmentList: List<Fragment>) : FragmentStateAdapter
Content copied to clipboard
ViewPager2 Adapter
Link copied to clipboard
class DevViewPagerAdapter( fm: FragmentManager, listFragment: ArrayList<DevFragment<*>>, listTitle: ArrayList<String>? = null) : FragmentStatePagerAdapter
Content copied to clipboard
Base for Pager adapter, can be used for ViewPager with TabLayout
Link copied to clipboard
class TabLayoutConfiguration(var listTitles: List<String>? = null, var listIcon: List<Drawable?>? = null)
Content copied to clipboard
class for containing TabLayout configuration
Link copied to clipboard
Link copied to clipboard
class ViewPagerConfiguration( var activity: FragmentActivity? = null, var fragment: Fragment? = null, var listFragment: List<Fragment> = listOf(), var tabLayout: TabLayout? = null, var tabLayoutConfiguration: TabLayoutConfiguration? = null)
Content copied to clipboard
class for containing androidx.viewpager2.widget.ViewPager2 configuration
Link copied to clipboard
Functions
Link copied to clipboard
method to configure ViewPager2