What does finish affinity do?

What does finish affinity do?
Answer
In general, the affinity indicates
in which task an activity prefers or belongs to. Once you understand how the stack works, the meaning of finishAffinity() and finishAndRemoveTask() is pretty simple. Finish this activity as well as all activities immediately below it in the current task that have the same affinity.
 

Tìm kiếm

Back
Top