title: Android: on swipe switch between Views / Activities / Fragments
body: <p>I'm implementing a chat application. The user is able to have multiple chats open simultaneously, and I want to allow him to switch between these chats with swiping left or right. Like e.g. in the gtalk app. I'm not sure what's the best way to implement this:</p>
  
  <ul>
  <li>Should I use one Activity per chat? If yes, how do I select the correct activity instance for switching to the next chat?</li>
  <li>Should I use only one Activity instance and several views and switch between them like in <a href="http://www.inter-fuser.com/2009/07/android-transistions-slide-in-and-slide.html">this example</a>?</li>
  <li>Or should I use Fragments and switch between them? Does the FragmentManager provide a way to pick the right Fragment instance for switching between them?</li>
  </ul>
  
  <p>What do you think is the best solution, and why? Any suggestions? Thanks for your help!</p>