Good morning, I'm investigating the launch modes of the activities on android.
I am developing an application where there should only be one instance of an activity (A), if it were the case that there were more instances of the activity could cause errors in the execution of the application, investigating a little, reach the point of find these two ways to start activities
android:launchMode="singleTask" y android:launchMode="singleInstance"
In play store I found this app that shows how types of activity launches on Android work link The problem is that when I start these activities in both modes they seem to do the same and I do not want to make a mistake in which to choose to start my activity, I hope you can help me to identify the difference between both launch modes, since I did not understand the information very well from the official documentation, thank you in advance
Official documentation: link