Getting "Dead Code" error when i try use for statement
<p>Bassicly i want to print 1 then 2 then 3 then 4 incrementing when the user presses the next button - but it shows a warning on i++ saying its a "Dead Code", this is how i usually do for statements so im not sure whats going on. Any guidance would be appreciated   </p>

<pre><code>public void onClick(View v) {
    // TODO Auto-generated method stub
     switch(v.getId()){
     case R.id.one:
         break;
        case R.id.Next:

            for(int i=1; i&lt;11; i++){


                info.setText(""+i);

        break;

    }
</code></pre>
