Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.

Commit

Permalink
Added Lifecycle documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
heiko-braun committed Feb 17, 2011
1 parent b04f4b3 commit fc02048
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Lifecycle.txt
Original file line number Diff line number Diff line change
@@ -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.