title: Comparing TextView's getText() w/ R.string.stringValue in android?
body: <p>Here's my code that's giving me grief.</p>
  
  <pre><code>TextView questionView = (TextView) findViewById(R.id.questionView);
  if(questionView.getText().equals(R.string.begginigStatement){
      currentQuestionIndex = -2;
      Log.d(TAG, "the TextView's text is equal to R.string.beggingStatement);
  }
  </code></pre>
  
  <p>I'm trying to compare a string w/ an int
  but I can't figure out the solution other than perhaps hardcoding the string, though I know that's not a proper convention. What's the solution?</p>