https://kotlinlang.org logo
#android
Title
# android
i

Ive Vasiljevic

07/31/2019, 9:26 AM
Is it possible to restart Navigation graph so that when application is restored it starts from the start of the graph?
j

Joaquim Ley

07/31/2019, 9:42 AM
What do you mean with the application restored?
i

Ive Vasiljevic

07/31/2019, 9:51 AM
For example. If application is in a recent list and by opening a couple of new applications (Youtube, Maps, ...). Now application is removed from memory and process is DEAD. So when I enter recent list I can still see my app and by clicking it I want to restart flow of the nav graph.
j

Jan

07/31/2019, 10:04 AM
sounds like you want to restore the last state of the app after app got killed, for that you kind of need to save states, e.g. by architecture (mvx)
c

czuckie

07/31/2019, 10:14 AM
this isn't really a kotlin related question
r

rkeazor

07/31/2019, 11:39 AM
Not kotlin related...
19 Views