title: Duplicate Classes to handle app flow (with explicit intents)
body: <p>I have three different options in my app that allow the user through several of the same classes but at different times, ie</p>
  
  <p>1) Sharing with friend:</p>
  
  <p><em>MainClass -> InviteFriendOrGroup -> Sharing -> IM</em></p>
  
  <p>2) Creating event with friends</p>
  
  <p><em>MainClass -> InviteFriendOrGroup -> CreateEvent -> OpenEventsPage</em></p>
  
  <p>3) Creating event with no friends:</p>
  
  <p><em>MainClass -> CreateEvent -> OpenEventsPage</em></p>
  
  <p>My issue is with the intents to allow for this navigation without so many duplicate classes. For example, in the InviteFriendOrGroup class, <code>onListItemClick</code> method </p>
  
  <pre><code>    Intent i = new Intent(getActivity(), SpecialSharing.class);
      startActivity(i);
  </code></pre>
  
  <p>which means that only open 1) above is allowed. An easy solution is to make duplicate classes, but with the different intents in them, ie.InviteFriendOrGroupEvent, or InviteFriendOrGroupSharing....</p>
  
  <p>But there has to be a better way? </p>