title: How to send values to another method
body: <p>I have these strings latRepr and LngRepr and I want to send them to the getDirecoes method. The GetDirecoes class is a AsyncTask.</p>
  
  <p>This is how I start the method:</p>
  
  <blockquote>
    <p>new GetDirecoes().execute();</p>
  </blockquote>
  
  <p>So, how do I send those strings to here:</p>
  
  <pre><code>private class GetDirecoes extends AsyncTask&lt;Void, Void, Void&gt; implements Serializable {
      @Override
      protected void onPreExecute() {
          super.onPreExecute();
      }
  
      @Override
      protected Void doInBackground(Void... params) {}
  </code></pre>