skydoves / PowerMenu

:fire: Powerful and modernized popup menu with fully customizable animations.
Apache License 2.0
1.19k stars 175 forks source link

Kotlin - Global CustomPopMenu variable #55

Closed ravirajjak closed 4 years ago

ravirajjak commented 4 years ago

How would u dismiss custom popup menu in kotlin ?

skydoves commented 4 years ago

@ravirajjak It is same as the Java. Use dismiss() function.

ravirajjak commented 4 years ago

@skydoves no not at all Following is the global declaration in class var customPowerMenu: CustomPowerMenu<, out MenuBaseAdapter<>>? = null