I have an app in which frame is created when the app is launched and I register it with SuspensionManager for saving state but I want to save a class which is called few steps later in this frame but as I search for this when reactivation of app it can't find
the class to call as Frame.
SuspensionManager.RegisterFrame(MainPage.moreFrame, "MyPicture");
public static MyPicture Current;
public void MyPicture(){Current=this;}
This is my code where moreFrame is the frame and MyPicture is class where I want to call Continuation Manager. Then in onActivated I look for frame as follow:
Frame scenarioFrame = Demo.More.MyPicture.Current.FindName("MyPicture") as Frame;
but it returns null and continuation manager is not called. Here MyPicture class is used to call FileOpenPicker.I am following this link and sample Link
to Microsoft sample Can anyone help in this?