Below is a method in OnClickListner. I want to pass first 1=0, then i=1 likewise.
But below code shows only i=0;
@Override
public void onClick(View v) {
for(i=0; i<shopTelNos.length;i++){
Toast.makeText(c.getApplicationContext(),"value is : "+i,Toast.LENGTH_SHORT).show();
break;
}
}
});
Help me on this.
i