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
- CoordinatorLayout
- Navigation
- AppBarLayout
- CustomView
- recyclerview
- HTTP
- notification
- 안드로이드
- 알림
- activity
- ViewModel
- Coroutine
- room
- BOJ
- 알고리즘
- Android
- Behavior
- onLayout
- Algorithm
- LiveData
- sqlite
- CollapsingToolbarLayout
- onMeasure
- View
- lifecycle
- 코틀린
- kotlin
- DataBinding
- hilt
- 백준
Archives
- Today
- Total
개발일지
Android in A..Z - Fragment.setRetainInstance 본문
ConfigurationChange같은 상황으로 Activity가 onDestroy되고 재생성될 때 Fragment도 같이 재생성된다. 하지만 setRetainInstance(true)를 설정하면 onCreate, onDestory가 호출되지 않고 재사용된다.
'Android (안드로이드)' 카테고리의 다른 글
Android in A..Z - QR Code (0) | 2021.03.16 |
---|---|
Android in A..Z - Location (0) | 2021.02.06 |
Android in A..Z - TextInputLayout (0) | 2021.01.20 |
Android in A..Z - Glide (0) | 2020.11.07 |
Android in A..Z - Widget (0) | 2020.08.09 |
Comments