setup
Toolbar
abstract fun setupToolbar( toolbar: Toolbar? = null, title: String? = null, isChild: Boolean, menu: Int? = null, onMenuListener: (Int) -> Boolean? = null)
Content copied to clipboard
Method to set toolbar, can be called from DevActivity or DevFragment
Parameters
toolbar
Toolbar that defined in XML layout, nullable
title
Title for toolbar, nullable
isChild
Display back button it toolbar?