Aug 26, 2017 · 1 min read
Awesome Mert. But there is one thing i am bit confused of ;-)
What official docs says for “singleTask” and “singleInstance” is
The system creates a new task and instantiates the activity at the root of the new task. However, if an instance of the activity already exists in a separate task, the system routes the intent to the existing instance through a call to its
onNewIntent()method, rather than creating a new instance. Only one instance of the activity can exist at a time.
If i understand correctly, it mean both singleTask and singleInstance will create new task . Please correct me if i got wrong . Thanks Mert .
