This is simple if we want to refresh my activity .when we click on the button .
public onClick(View view){
Intent refresh = new Intent(this,CurrentActivity.class);
startActivity(refresh);
this.finish();
}
public onClick(View view){
Intent refresh = new Intent(this,CurrentActivity.class);
startActivity(refresh);
this.finish();
}
No comments:
Post a Comment