title: access value in an editText from a subclass
body: <p>I have an edittext onCreate like this:</p>
  
  <pre><code>final EditText firstText = (EditText) findViewById(R.id.my_text);
  </code></pre>
  
  <p>I want to get the value of firstText from my subclass:</p>
  
  <pre><code>private TextToSpeech.OnInitListener onInitListener = new TextToSpeech.OnInitListener() {
          @Override
          public void onInit(int status) {
  
              if (status == TextToSpeech.SUCCESS) {
                  int result = mTts.setLanguage(Locale.US);
                  isLoaded = true;
                  String s = firstText.getText().toString();
              }else{
  
              }
  } 
  </code></pre>