android - Difference between singleTask and singleInstance -


i did not find thread on stackoverflow answer question. have seen android singletop singleinstance , singletask question related project scenario.

what differences between singletask , singleinstance?? have read docs not understand..

i have read thread android singletask or singleinstance launch mode? not understand. sorry

what unclear docs ?

the "singletask" , "singleinstance" modes differ each other in 1 respect: "singletask" activity allows other activities part of task. it's @ root of task, other activities (necessarily "standard" , "singletop" activities) can launched task. "singleinstance" activity, on other hand, permits no other activities part of task. it's activity in task. if starts activity, activity assigned different task — if flag_activity_new_task in intent.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -