title: java doesn't run if structure inside of onclick listener
body: <p>All you must see as code is below. </p>
  
  <pre><code>bSet.setOnClickListener(new View.OnClickListener() {
  
              @Override
              public void onClick(View v) {
                  // TODO Auto-generated method stub
                  String first = etFirstNumber.getText().toString();
                  String second = etSecondNumber.getText().toString();
                  int f = Integer.parseInt(first);
                  int s = Integer.parseInt(second);
  
                  int calc = 0;
                  int n = 0;
  
                  if(s &lt; f)
                  {
                      calc = f - s;
                      n = s;
                  }else if(f &gt; s){
                      calc =  s - f;
                      n = f;
                  }
  
                  int number = n + (int) (Math.random() * calc);
  
                  String result = String.valueOf(number);
  
                  tvDescription.setText(result);
              }
          });
  </code></pre>
  
  <p>You can think <code>first</code> as 35 and <code>second</code> as 17. I get 0 as result everytime? What is the problem? Can't I use if clauses inside of onclicklistener?</p>