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

Can an IMvxVisibleViewModel interface/pattern be added #74

Closed
slodge opened this issue Dec 7, 2012 · 2 comments
Closed

Can an IMvxVisibleViewModel interface/pattern be added #74

slodge opened this issue Dec 7, 2012 · 2 comments
Labels
t/bug Bug type t/feature Feature request type
Milestone

Comments

@slodge
Copy link
Contributor

slodge commented Dec 7, 2012

was "Sort out how to handle views disappearing - especially iOS"

This is a bug left over from ViewDidUnload vanishing

@slodge
Copy link
Contributor Author

slodge commented Mar 9, 2013

The major problems - potential leaks are now solved.

The remaining problems to do with view model lifecycle are something the app has to solve.

Although we could add an optional Ivisualaware interface ... Will consider

@slodge
Copy link
Contributor Author

slodge commented Mar 10, 2013

The idea behind VisualAware is interesting...

The idea would be to add an IMvxVisibleViewModel interface and to then call that from the UI implementations:

  • ViewWillAppear/ViewWillDisappear
  • OnPause/OnRestart
  • OnNavigatedTo/OnNavigatedFrom

Need to think carefully about this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t/bug Bug type t/feature Feature request type
Development

No branches or pull requests

2 participants