setItems

open fun setItems(mainIconId: Int, subItemsList: List<ConstraintLayout>, rootView: View)

Parameters

mainIconId

resource for main button

subItemsList

list of sub menu items

rootView

the root view of the screen. This will be used to detect touch outside this widget which should collapse the menu.