Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 |
Tags
- boj
- GitHub
- Coroutines
- ProGuard
- MyVoca
- Codeforces
- Coroutine
- 코루틴
- 코드포스
- 암호학
- AWS
- pandas
- Gradle
- activity
- MiTweet
- Compose
- androidStudio
- Rxjava
- relay
- Kotlin
- textfield
- 백준
- livedata
- Hilt
- 쿠링
- architecture
- 프로그래머스
- TEST
- Python
- android
Archives
- Today
- Total
목록LifeCycle (1)
이동식 저장소
[Android Kotlin Fundamentals] Lifecycle
이 글은 Android Kotlin Fundamentals를 참고하여 작성되었습니다. Activity의 lifecycle Android Activity의 lifecycle을 정리해 본다. onCreate Activity가 처음 생성될 때 호출된다. onStart Activity가 화면에 처음 보이게 될 때(visible) 호출된다. onRestart Activity가 화면에 다시 보이게 될 때 호출된다. onResume Activity가 focus를 잡게 될 때 호출된다. 사용자는 focus를 잡은 Activity만 조작할 수 있다. 여러 앱을 동시에 띄우면 여러 개의 Activity가 focus를 잡을 수도 있다. Focus와 visible의 차이를 잘 기억하자. onPause Activity가 foc..
Primary/Android
2021. 2. 3. 13:34