whalemare / sheetmenu

Library for speedy implementation menu with BottomSheet
124 stars 18 forks source link

How do I hide a menu item programmatically? #12

Closed tsl-developteam closed 5 years ago

tsl-developteam commented 6 years ago

How do I hide a menu item programmatically? For example, the menu item for purchasing "No Ads"

tsl-developteam commented 6 years ago

@whalemare

whalemare commented 6 years ago

If I understand correctly the question, you can pass different params to your menu in different cases. For now, it is possible only by passing different menu files for each case. The design of this library was originally aimed at a static R.menu files, but not a big problem to alter implementation on dynamic lists. At the moment I don't have time to change the library, so I waiting your PR with changes :D Or wait for changes have been maked by me :) For this, I need month or two

tsl-developteam commented 6 years ago

Thank you!

Чт, 16 серп. 2018, 13:03 користувач Anton Vlasov notifications@github.com пише:

If I understand correctly the question, you can pass different params to your menu in different cases. For now, it is possible only by passing different menu files for each case. The design of this library was originally aimed at a static R.menu files, but not a big problem to alter implementation on dynamic lists. At the moment I don't have time to change the library, so I waiting your PR with changes :D Or wait for changes have been maked by me :) For this, I need month or two

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/whalemare/sheetmenu/issues/12#issuecomment-413492540, or mute the thread https://github.com/notifications/unsubscribe-auth/AmJa7-Lcp66R8dqg9jc8u7RE1BKblXWHks5uRUN3gaJpZM4V6ZmJ .

whalemare commented 5 years ago

Oh, I need 1 year for doing that, so sorry :)