title: Android: Is it possible to link two full screen fragments to one activity (useing just one, but choose the right one with logic)?
body: <p>I got a idea yesterday and I wanted to ask you if this is working and how.
  So I use a form to get user input and safe it into a database.
  I use a activity for this task:
  <a href="https://i.stack.imgur.com/zZMOi.png" rel="nofollow noreferrer">https://i.stack.imgur.com/zZMOi.png</a>
  Now I want to add another task with the same layout, but a different logic.
  The user should be able to edit the data (same layout, but editing the information in database instead of creating a new object).</p>
  <p>My idea:
  A <code>DataActivity</code> should open, when the user wants to start the create or edit function.
  The <code>DataActivity</code> holds two full screen fragments and should be able to start the right fragment.
  Is it possible to link two full screen fragments to one activity?</p>