title: Android: getIntent() is deprecated
body: <p>My program consists of a MainActivity and two fragment activities.  I need one fragment to take a String value from the user and pass it to the second fragment. </p>
  
  <p>I am trying to wrap my head around how to do this.  Since I am familiar with intents, I found <a href="https://stackoverflow.com/questions/16036572/how-to-pass-values-between-fragments">this answer</a> on another post and decided to try it out.  Everything looks fine until I get to step 4, when I try to use Intent <code>i = getIntent();</code> in my second fragment, Studio won't let me use it and says <code>"getIntent(java.lang.String) is deprecated"</code>.  </p>
  
  <p>This doesn't make sense to me since I have used <code>getIntent()</code> in other programs without issue, and it is letting me use it in my <code>MainActivity</code> (step 2 from the other post) without screaming at me.   </p>
  
  <p>I know this can be done without using intents, but I can't figure it out and can't find any really thorough tutorials in order to do so.  So I guess my questions are:</p>
  
  <ol>
  <li>Can I make intents work for this purpose still?  What should I do to get around this deprecation issue?</li>
  <li>Any other advice, explanations, or links to "explain it like I'm 5" tutorials would be very helpful and welcome.  I have Googled and read a few, but I am still not understanding this and am becoming increasingly frustrated.  It seems like this should be a relatively simple concept.</li>
  </ol>