Hello all,
I just started to work with EventBus and don't feel it well. I have to implement code that detects device orientation change (landscape or portrait) and re-draw UI depending on that change. I have found example at GWT samples (MobileWebApp), but implementation is a bit hard to understand. Shouldn't EventBus fire such events by itself ? Why do I need interfaces like Command and ComandSet and 2 different commands when it should be necessary just 1 event (orientationChanged) and property isPortrait (true/false)? General explanation would be very helpful.
Thank you.
-- I just started to work with EventBus and don't feel it well. I have to implement code that detects device orientation change (landscape or portrait) and re-draw UI depending on that change. I have found example at GWT samples (MobileWebApp), but implementation is a bit hard to understand. Shouldn't EventBus fire such events by itself ? Why do I need interfaces like Command and ComandSet and 2 different commands when it should be necessary just 1 event (orientationChanged) and property isPortrait (true/false)? General explanation would be very helpful.
Thank you.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment