android show loading spinner code example
Example: loading android studio
import android.os.Handler;
Runnable runnable = new Runnable() {
@Override
public void run() {
Intent intent = new Intent(getApplicationContext(), inscription.class);
startActivity(intent);
finish();
}
};
//....
new Handler().postDelayed(runnable,3000);
}