Permalink
Browse files

Added Lifecycle documentation

  • Loading branch information...
1 parent b04f4b3 commit fc02048bf248db2688b2b429ab7dd0208737604d @heiko-braun heiko-braun committed Feb 17, 2011
Showing with 36 additions and 0 deletions.
  1. +36 −0 Lifecycle.txt
View
@@ -0,0 +1,36 @@
+
+How do I choose between onReveal() and onReset()?
+=================================================
+
+onReset is called whenever a new Presenter is requested,
+even if the current Presenter is visible. onReveal is called whenever the Presenter is revealed.
+
+
+In what order are the Presenter methods called?
+===============================================
+
+On First load:
+
+ Constructor
+ onBind
+ prepareFromRequest
+ revealInParent
+ onReveal
+ onReset
+ prepareRequest
+
+
+On Hiding:
+
+ onHide
+
+
+On Subsequent Reveals:
+
+ prepareFromRequest
+ revealInParent
+ onReveal
+ onReset
+ prepareRequest
+
+(Taken from http://code.google.com/p/gwt-platform/wiki/FrequentlyAskedQuestions)

0 comments on commit fc02048

Please sign in to comment.