Tuesday, September 27, 2011

Is there anyway to don't go to a place until a rpc is done?

For example, let's say that I have this dummy menu [ Goto Activity Foo | Goto Activity Bar ]

When I click on [ Goto Activity Foo ] I go to the the Foo Activity, and in the start() method I call to a rpc, let's say dummyService.fetchData().

And, then I click on the [ Goto Acitivity Bar ] before that the rpc that the rpc call dummyService.fetchData() finished. Is there anyway to don't go to Bar Activity if the previous rpc is still undone?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/UWIifo3tqJAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment