How to do this

3 replies. Last post: December 9, 2014 3:03 AM by Product Support
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Ryan HermanMember

I have a simple Button on a View, and in the core have it bound to a ActionPresenter that shows up asking what you want to do with that button.  Once the user makes a selection, how in the world can I hide the button?

I have tried to setup a service using IMobileComponentService to access the native but the issue is the button is not static, so I'm unable to set Button.hide = true;.  This is something I will need to access and can't figure out how to do this.

If I do something like 

var test = new ViewController;

test.hideButton(); 

it won't work because the view is already established so I do't need a new ViewController within the service.  I have tried to setup EventHandler and binded it to the native delegate.


The other option I thought would help if the Core got executed before the native or if I could figure out how to wait for the core to finish its command in the native, then continue on with the native delegate...

Please help!

1 attachment
All times are GMT -5. The time now is 3:24 PM.
Previous Next