title: String !equals of edittext not working
body: <p>With the help of cursor c and c1 ,I am checking the two database with edittext.If its not equal,then it move to NotFound activity.</p>
  
  <p>Below I am posted the code:</p>
  
  <pre><code>if (c.getCount() &gt; 0) {
  
  .....
  ....
  }
   else if(c1.getCount()&gt;-1){
  ....
  ....
  }
  
   else{
  
         if(!(editText.getText().toString()).equals("c") &amp;&amp; (!(editText.getText().toString().equals("c1")))) {   ----&gt;not working
  
  
         Intent i2=new Intent(Plate.this,NotFound.class);
         startActivity(i2);
  
        }
       }
  </code></pre>
  
  <p>My only problem is <code>if(!(editText.getText().toString()).equals("c") &amp;&amp; (!(editText.getText().toString().equals("c1"))))</code> is not working.I am not sure what's wrong in that.</p>