ActivityHandler

interface ActivityHandler

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun enableInAppNotificationBar(enable: Boolean)
show or hide the feedbar.
Link copied to clipboard
Link copied to clipboard
abstract fun getToolbarMenuItem(menuItemId: Int): MenuItem
gets the menuItem with given id that is set on the toolbar.
Link copied to clipboard
abstract fun hideBottombar()
Link copied to clipboard
abstract fun hideMapContainer()
hides the Map
Link copied to clipboard
abstract fun hideProgressBar()
Link copied to clipboard
abstract fun hideToolbar()
sets visibility of toolbar
Link copied to clipboard
abstract fun launchSearchFragment()
Link copied to clipboard
abstract fun onHomeClicked()
Link copied to clipboard
abstract fun setToolbarHomeIcon(drawable: Drawable, onClickListener: View.OnClickListener)
abstract fun setToolbarHomeIcon(@DrawableRes drawableResId: Int, onClickListener: View.OnClickListener)
shows a drawable as home button with click listener
Link copied to clipboard
shows side menu button as home button
Link copied to clipboard
abstract fun setToolbarHomeIconAsUp()
shows up/back button as home button
Link copied to clipboard
abstract fun setToolbarLogo(drawable: Drawable)
shows the brand logo.
Link copied to clipboard
abstract fun setToolbarTitle(title: String)
show title.
Link copied to clipboard
abstract fun showBottombar(@IdRes menuId: Int)
shows bottom navigation view
Link copied to clipboard
abstract fun showMapContainer()
shows Map
Link copied to clipboard
abstract fun showProgressBar()
abstract fun showProgressBar(message: String)
Link copied to clipboard
abstract fun showToolbar()
sets visibility of toolbar