title: EditText setText() not working
body: <p>I am programming an Android Application that Downloads a file by URL. For that I need to send a link from one Activity to another with EXTRA_MESSAGE. Then an EditText should be changed with setText(), but the EditText is still empty. My code:</p>
  
  <pre><code>EditText torul = findViewById(R.id.url);
  Intent intent = getIntent();
  String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);
  torul.setText(message);
  </code></pre>
  
  <p>Before you answer to do it with:</p>
  
  <pre><code>torul.setText(message, TextView.BufferType.EDITABLE);
  </code></pre>
  
  <p>Tried it, didn't work..</p>
  
  <p>How I add my EXTRA_MESSAGE:</p>
  
  <pre><code>hl.setOnItemClickListener(new AdapterView.OnItemClickListener(){
      @Override
      public void onItemClick(AdapterView&lt;?&gt; adapterView, View view, int i, long l) {
          String url = String.valueOf(((TextView) view).getText());
          start(url);
      }
  });
  private void start(String url) {
      Intent copy = new Intent(this, MainActivity.class);
      copy.putExtra(EXTRA_MESSAGE, url);
      startActivity(copy);
  }
  </code></pre>