Skip to content

gzeinnumer/SplashScreen

Repository files navigation

SplashScreen

  • Type 1 No RUN UI
Thread timer = new Thread(){
    public void run(){
        try{
            sleep(1000);
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            Intent intent = new Intent(getApplicationContext(), SplashScreenExerSecond.class);
            startActivity(intent);
            SplashScreenExerFirst.this.finish();
        }
    }
};
timer.start();
  • Type 2 RUN UI
new Handler().postDelayed(new Runnable() {
    @Override
    public void run() {
        ///action
    }
}, 4000);

Copyright 2020 M. Fadli Zein

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages