Constructors

Link copied to clipboard
protected constructor()

Properties

Link copied to clipboard
protected var mEnableActionBar: Boolean

True if you want to show the ActionBar,false otherwise,

Link copied to clipboard
protected var mEnableFullScreen: Boolean

True if you want to set fullscreen,false otherwise.

Functions

Link copied to clipboard
protected open fun createViewModel(modelClass: Class<out ViewModel>): ViewModel

Return a ViewModel.

Link copied to clipboard
protected fun enableActionBar(enable: Boolean)

True if you want to show the ActionBar,false otherwise.

Link copied to clipboard
protected fun enableFullScreen(enable: Boolean)

True if you want to set fullscreen,false otherwise. If you set enableFullScreen to true,the ActionBar will not be shown.

Link copied to clipboard
protected open fun getBinding(): ViewBinding

Get the ViewBinding. By default, it will throw a IllegalStateException.

Link copied to clipboard
protected fun getContext(): VastActivity
Link copied to clipboard
protected fun getDefaultTag(): String
Link copied to clipboard
protected open fun getSnackbar(): Snackbar

Get default Snackbar for activity.

Link copied to clipboard
protected open fun getViewModel(): ViewModel

Get the ViewModel. By default, it will throw a IllegalStateException.