import android.os.Handler;
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
final Intent mainIntent = new Intent(HomeActivity.this, TargetActivity.class);
HomeActivity.this.startActivity(mainIntent);
HomeActivity.this.finish();
}
}, 5000);
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
final Intent mainIntent = new Intent(HomeActivity.this, TargetActivity.class);
HomeActivity.this.startActivity(mainIntent);
HomeActivity.this.finish();
}
}, 5000);
No comments:
Post a Comment