Task vs Task Affinity in Android, Explained Simply

Before you can really understand launch modes, you need to get these two concepts straight. Here’s the clear version.