com.getsensibill.ui / SBMainTabsFragment
SBMainTabsFragment
class SBMainTabsFragment : SBBaseFragment, SBPaginatedFragment
Sensibill SDK Main entry point and host fragment for the most common functionality and pages.
New instances of this fragment should be created using newInstance
Presents the following fragments to users in a ViewPager layout:
- The Receipt List page (SBReceiptListFragment)
- The Folder List page (ReceiptFolderFragment)
This Fragment by default also displays a FloatingActionButton that will launch the capture flow.
Types
| Name | Summary |
|---|---|
| TabMode | enum class TabModeEnum representing different options for the labels displayed in this fragment’s tab layout. |
Constructors
| Name | Summary |
|---|---|
| <init> | SBMainTabsFragment()Sensibill SDK Main entry point and host fragment for the most common functionality and pages. |
Companion Object Functions
| Name | Summary |
|---|---|
| newInstance | fun newInstance(tabMode: SBMainTabsFragment.TabMode = TabMode.TITLE, showFloatButton: Boolean = true): SBMainTabsFragmentCreate a new instance of SBMainTabsFragment with the provided configuration |