I would like to call splashScreen activity while current activity is been executed. Once current activity finishes its load, finish splashScreen activity. How can I call one activity and keep executing current activity? Thank you.
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Intent intent = new Intent(TabBarActivity.this, splashScreen.class);
startActivity(intent);
setContentView(R.layout.main);
cicle();
}
do the “loading” in splash activity instead, whenever the loading ends, launch the next activity. There is no need for something that complex