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 |
Tags
- relay
- AWS
- android
- 백준
- 프로그래머스
- livedata
- architecture
- Compose
- Gradle
- ProGuard
- GitHub
- activity
- Coroutines
- Python
- 쿠링
- 코루틴
- boj
- MyVoca
- pandas
- 코드포스
- 암호학
- Rxjava
- Codeforces
- MiTweet
- Coroutine
- TEST
- textfield
- Hilt
- androidStudio
- Kotlin
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