View on GitHub

sensibill-android-documentation

com.getsensibill.ui / SBMainTabsFragment / newInstance

newInstance

@JvmStatic fun newInstance(tabMode: SBMainTabsFragment.TabMode = TabMode.TITLE, showFloatButton: Boolean = true): SBMainTabsFragment

Create a new instance of SBMainTabsFragment with the provided configuration

Parameters

tabMode - The tab used mode to determine the titles to display in the fragment’s tab layout

showFloatButton - True to show the floating action button linking to capture, false to hide it

See Also

TabMode

Return A new instance of the fragment, configured as requested