Dev View

interface DevView

Interface for displaying toolbar and finishing activity

Author

Jimly A.

Since

01-Jun-20.

Functions

Link copied to clipboard
abstract fun finishActivity()

Method to finish Activity, so you can finish activity from fragment

Link copied to clipboard
abstract fun setupToolbar(    toolbar: Toolbar? = null,     title: String? = null,     isChild: Boolean,     menu: Int? = null,     onMenuListener: (Int) -> Boolean? = null)

Method to set toolbar, can be called from DevActivity or DevFragment

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sources

Link copied to clipboard