I have a problem creating an application that restores to the same activity after i press home button and launch the application again.
If i create a project in Java, with two activities, run it, switch to the second activity, go to the home screen and back, the application will be opened on the second activity.
But if i do the same in Mono for Android, after i run the application second time, it opens the first activity (which is marked as MainLauncher).
I see that application is not restarting (i've subclassed application class to check this), but every time i go to the home screen and back to the application, it opens the main activity.
After searching the web, i've found that marking my activities with "LaunchMode=Android.Content.PM.LaunchMode.SingleTask, AlwaysRetainTaskState=true" would help, but it doesn't.
So the question is, how to make the application restore to the activity which was active, when i closed the app?