How given sample works for ReverseInit?
See original GitHub issueIn the sample page there is reverseInit as below. as far as I know reverseInit is only called when we use poppagemodel with data. Should we do poppage everytime when back button is clicked? How can this be handled sofware backbutton?
//This is called when a pushed Page returns to this Page
public override void ReverseInit (object value)
{
var newContact = value as Quote;
if (!Quotes.Contains (newContact)) {
Quotes.Add (newContact);
}
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
FreshMvvm Quick Start Guide - Michael Ridland
Step 2. Obtain FreshMvvm from Nuget. Obtain FreshMvvm from Nuget by searching for FreshMvvm, make sure to do this on your Xamarin.Forms PCL ......
Read more >FreshMvvm for Xamarin.Forms
FreshMvvm is a super light Mvvm Framework designed specifically for Xamarin.Forms. It's designed to be Easy, Simple and Flexible.
Read more >FreshMvvm - A Mvvm Framework designed for Xamarin.Forms
Basic methods on PageModel (init, reverseinit). Built in IOC Container. PageModel Constructor Injection. Basic methods available in Model, like ...
Read more >Xamarin.Forms MVVM Made Easy with FreshMvvm Framework
... server: https://discord.gg/2cAyTGNHBD Links Sample code repo: ... MVVM without a framework 15:07 - Implement MVVM with FreshMvvm ...
Read more >MVVM Databinding In Xamarin.Forms Using Fresh MVVM
In this tutorial, we will learn how to perform MVVM approach in Xamarin.Forms using Fresh MVVM.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think it should always be called. I have been caught out by this twice now (shame on me!) and had to find this issue to realise why it was not being called.
Figured it out after looking at your source…