title: Android singleTask or singleInstance launch mode?
body: <p>I have an app that has a list as its main activity and then you can click items which opens a detailed view of that item. I also have a search activity that is similar to the main activity and works as intended.</p>
  
  <p>However I want this search activity to only have once instance on the stack so that users can search multiple times and clicking back would return them to the previouse view that they were on before they started searching (rather than go back to the previouse search results)</p>
  
  <p>both the singleTask and singelInstance launch mode seems to do what I want so Im not sure which one I should be using for this purpose and why?</p>