Friday, June 7, 2013

Re: Acitivities and places:problem in using eventBus

 
yes, the second activity started after the event is fired . Actually when  i click in the button "next"
 in the first view, it called two functions in the first activity :
1.createSoumission() who fire the event
2.and goto (Place SecondPlace)

i fixed the problem by switching the calls

1. i call the goto (secondPlace)
2.createSoumission()


thank you a lot for you help, you saved my day

Le vendredi 7 juin 2013 14:39:37 UTC+2, Donald Mteka a écrit :

Is the second Activity ever started before you fire the event from first Activity? Just check that you didn't fire the event before the second Activity had the chance to start (hence register a handler).. Another possibility would be different 'instances' of EventBus objects, which is hardly the case as the bus was offered from PlaceHistoryHandler.

HTH.


On Fri, Jun 7, 2013 at 2:57 PM, Sahli Sabrina <sahli....@gmail.com> wrote:
ok thank you  a lot for the reply :)
 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Donald Mteka
+255653105004

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment