|
I have a view with a presenter for a boolean value and a push button to
toggle it.
I want that the text on the button change in function of the boolean:
when the value is true, I want the text on the button to be 'Open' and
when the value is false I want it to be 'Close'.
How to do that ? As I don't create a component for the button, I don't
have access to it (I tried to create a PushButton component but I got an
error :-) ... )
Thanks,
Joseph
|