forked from jbossas/console
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathLifecycle.txt
More file actions
36 lines (23 loc) · 702 Bytes
/
Lifecycle.txt
File metadata and controls
36 lines (23 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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)