singleTop
singleTop is an Android activity launch mode that governs how new intents are delivered and how activity instances are reused within a task. When an activity is declared with launchMode="singleTop" and a new intent targets that activity, the system behavior depends on whether an instance of the activity already exists at the top of the current task’s back stack.
If the targeted activity is already at the top, the system does not create a new instance.
Developers should override onNewIntent() to process the incoming intent when an existing top instance receives a
Use cases for singleTop include screens that should not have multiple copies, such as a chat interface,
Relation to other launch modes: singleTop differs from the default standard mode, which always creates a new
Implementation note: declare android:launchMode="singleTop" in the activity tag of the AndroidManifest.xml.