- 一番最初のActivity で finish();
→ アプリが落ちる - Main.ActivityからSub.Activityに遷移後、 Sub.Activity で finish();
→ Sub.Actvityは消えて、Main.Activityが表示される - return;
→処理は終わるが、画面は消えない。
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme