Monday, February 22, 2016

Re: EventBus and orientation changes for devices

Never looked at the MobileWebApp example in detail but if the implementation is too abstract/complex for your own use case then don't use it.

You are right that the bare minimum would be a class that detects the orientation change (using various techniques, e.g. resize event or orientationchange event,  depending on the browser support) and then fires an OrientationChanged event on the EventBus. 

-- J.

--
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