WebUiActivity
open class WebUiActivity : SbBaseActivity, WebUiFragment.Listener, WebUiNetworkErrorFragment.Listener
Content copied to clipboard
Barebones Activity wrapper for the WebUiFragment which contains minimal functionality, but can be used directly. This activity can also be extended to get base WebUi functionality, adding additional UI and functionality as required.
Available Intent arguments:
ARG_NAVIGATION_OVERRIDE An argument of type NavigationIntent. Provide this argument in order to start the Spend Manager UI on a specific page.
ARG_WEB_THEME_OVERRIDE An argument of type WebTheme. Provide this argument if you want to programmatically override the theme used by the Spend Manager UI. If not provided, colours from
Theme.Sensibill
will be used.
Constructors
WebUiActivity
Link copied to clipboard
fun WebUiActivity()
Content copied to clipboard
Types
Functions
activityOnBackPressed
Link copied to clipboard
protected fun activityOnBackPressed()
Content copied to clipboard
Convenience method to call AppCompatActivity.onBackPressed in case it is directly required by subclasses of this Activity
callSetContentView
Link copied to clipboard
protected open fun callSetContentView()
Content copied to clipboard
Overridable function in charge of calling setContentView.
createWebUiFragment
Link copied to clipboard
createWebUiNetworkErrorFragment
Link copied to clipboard
protected open fun createWebUiNetworkErrorFragment(): WebUiNetworkErrorFragment
Content copied to clipboard
Overridable function used to create the WebUiFragment held in this Activity.
onBackPressed
Link copied to clipboard
open override fun onBackPressed()
Content copied to clipboard
onDisplayNetworkError
Link copied to clipboard
onNetworkErrorClose
Link copied to clipboard
open override fun onNetworkErrorClose()
Content copied to clipboard
onNetworkErrorRetry
Link copied to clipboard
open override fun onNetworkErrorRetry()
Content copied to clipboard
onRequestFinish
Link copied to clipboard
Properties
webContainerId
Link copied to clipboard
The resource id of the view that the WebUiFragment will be placed in.
webFragment
Link copied to clipboard
The instance of WebUiFragment that is being displayed by the activity
webInitialNavigation
Link copied to clipboard
webTheme
Link copied to clipboard
Inheritors
CaptureWithMetadataFlowActivity
Link copied to clipboard