BrotherV/Floating-ArcMenu

listener after open/ close menu

Opened this issue · 4 comments

Hi,

How can i listen to user action s on menu ?

Hi, what do you want to do exactly?! If you want to listen to child click events you can easily use app example instruction. Is there anything else that you need to know?!

i want to listen on parent
i will add listener which fire when status "isExpanded" has changed

Hello again,
Well it has a listener for menu button, you can use setOnClickListener for menu. In another word you can access to menu click directly and also you can check whether the menu isClose or isOpen. Remeber the listener will fire before actions(a few mili seconds before actions)

i used your listener ArcLayout.OnMenuItemOpenClose

and grant access to ArcLayout -> setOnMenuItemOpenClose

public void setOnMenuItemOpenClose(ArcLayout.OnMenuItemOpenClose listener){
		mArcLayout.setOnMenuItemOpenClose(l);
}

Thank you
your library is the best