Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScreenStack callbacks #2

Open
NicolasFloquet opened this issue Dec 14, 2012 · 0 comments
Open

ScreenStack callbacks #2

NicolasFloquet opened this issue Dec 14, 2012 · 0 comments

Comments

@NicolasFloquet
Copy link
Member

On gère le passage d'un screen à un autre via une pile. Pour passer à un nouveau screen, on l'empile, et pour revenir au précédent on dépile.
Il serait intéressant si on pouvait, à chaque empilage/dépilage appeler une fonction du screen pour qu'il fasse ce qu'il faut (Initialisation / disposal)
Du coup il faudrait créer une Interface pour les screen que l'on veut pouvoir empiler, qui propose les deux méthodes suivantes:

  • onPush
  • onPop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant