How to Use Crosslight to Bind CanExecute on ActionBar Items?

5 replies. Last post: April 30, 2015 2:52 AM by Arief Handany
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Jimmy TungolMember

Okay, so how do we properly bind commands to menu items from the action bar where CanExecute is dynamically changing or raised from a viewmodel? I mean, BindingProvider is the area for all this feature to pair a button id to a command, but CanExecute functions are not working on Android even if DelegateCommand.RaiseCanExecuteChanged() is being called. Regardless if the return value is true or false, it's not doing anything to the menu items... their Enabled states don't change. This doesn't seem to be an issue on iOS. Do we have to call RegisterViewIdentifier or what?

Please advise. Thanks!

All times are GMT -5. The time now is 11:30 AM.
Previous Next