ForBritishEyesOnly
ForBritishEyesOnly copied to clipboard
Scroll position and navigation history are lost across process death
I tried putting the app in background to see what happens, and the first screen gets reloaded.
But that's not the general expected behavior.
I wonder if Square already has something in place to make the restoration of workflow stack easy.
There is a snapshot api. Try uncomment code in the activity
This should work, it's likely that the templates are out of date.
Note that saving and restoring view state is exercised by https://github.com/square/workflow/blob/master/kotlin/samples/tictactoe/app/src/androidTest/java/com/squareup/sample/TicTacToeEspressoTest.kt#L131