반응형 딜레이1 postDelayed public class MainActivity extends Activity { final Handler handler = new Handler(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); auth(); handler.postDelayed(new Runnable() { @Override public void run() { gotoLogin(); } }, 1000 * 2); } protected void auth() { } protected void gotoLogin() { Intent intent .. 2021. 8. 4. 이전 1 다음 반응형