SplashScreen
private void startSplash() {
new Thread(new Runnable() {
@Override
public void run() {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
runOnUiThread(new Runnable() {
@Override
public void run() {
if (isRunning) {
startActivity(new Intent(ctx,
ApplyActivaionCodeActivity.class));
finish();
}
}
});
}
}).start();
}