setup
Toolbar
open override fun setupToolbar( toolbar: Toolbar?, title: String?, isChild: Boolean, menu: Int?, onMenuListener: (Int) -> Boolean?)
Content copied to clipboard
Method to set activity's toolbar from fragment
Parameters
toolbar
Toolbar that defined in XML layout, nullable
title
Title for toolbar, nullable
isChild
Display back button it toolbar?
menu
menu Id, nullable if not needed
onMenuListener
listener when item of the menu selected, nullable if not needed