Closed NateZ7 closed 6 years ago
Make sure you have these added as gradle dependencies please.
implementation "android.arch.lifecycle:livedata:1.1.1"
implementation "android.arch.lifecycle:extensions:1.1.1"
Thanks!
@skydoves Thanks !! It did the trick.
Another question, how do I change the font of the items inside the menu ? Thanks, looks great so far.
@NateZ7 If you want other fonts of the item, you should use CustomPowerMenu with your own customized item layout.
Thanks!
@skydoves Isn't there any simpler way of doing so instead of creating custom class and adapter ? Thanks !
@NateZ7 Sorry. The only way is Customizing now. Thank you!
OK, I managed to do what I needed with the CustomPowerMenu, thanks for all the help, great lib !
The library looks fantastic and I would like to use it. I added the following to the
build.gradle
implementation 'com.github.skydoves:powermenu:2.0.3
on
onCreate
I have the following code -I get the following error :
Error:(339, 26) error: cannot access LifecycleObserver class file for android.arch.lifecycle.LifecycleObserver not found
any help ? thanks !