I'm trying to test "tombstoning" in my C# Store app that is based on mvvmcross. I've based my code on Stuart's instructions.
public class SavedState
{
public int EntityId { get; set; }
}
public void ReloadState(SavedState savedState)
{
_entityId = savedState.EntityId;
}
public SavedState SaveState()
{
var state = new SavedState();
state.EntityId = _appStateService.SelectedEntity.ID;
return state;
}
"ReloadState" is never called, no matter what I do on my local machine, or in the simulator. Is there any way to trigger suspension while the debugger is running? How do people test this functionality?