Negate the value going to less than 0
<p>I have this code in the if else statement... I'm trying to block the textview value from going below 0, but it still goes below 0.</p>

<pre><code>else if(iv1.getDrawable().getConstantState().equals(getResources().getDrawable(R.drawable.airplane2).getConstantState())){
                    int e =Integer.parseInt(textView5.getText().toString());
                    int f = e-1;
                    String s3 = String.valueOf(f);
                    textView5.setText(s3);
                    int dInt = Integer.parseInt(textView5.getText().toString());
                    if(dInt &lt;= 0)
                                  {

                                       Toast.makeText(getApplicationContext(), "GameOver",Toast.LENGTH_SHORT).show();

                                  }

                }
</code></pre>

<p>P.S. sorry for my english i`ve lessen my code but it still goes to a negative value</p>
