Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Can an IMvxVisibleViewModel interface/pattern be added #74

Open
slodge opened this Issue · 2 comments

1 participant

@slodge
Owner

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

This is a bug left over from ViewDidUnload vanishing

@slodge
Owner

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
Owner

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
Something went wrong with that request. Please try again.