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
- OutlinedButton
- Imageview
- firebasefunctions
- 밑줄
- 뷰바인딩
- Activity
- lifecyclescope
- button
- 팝업액티비티
- BottomSheetDialog
- 안드로이드스튜디오
- textview
- ViewModel
- nav_graph
- FRAGMENT
- firebase
- Kotlin
- 코틀린
- RealtimeDB
- ROOM
- ButtonWithButton
- androidstudio
- 안드로이드
- Dialog
- Android
- ArrayList
- MaterialButton
- EditText
- 랜덤ID
- 안드로이드 스튜디오
Archives
- Today
- Total
안드로이드 앱 개발
Activty의 Stack 관리 - Kotlin 본문
* 로딩화면을 구현하다가 Activity의 스택을 관리해줘야 할 필요를 느꼈다.
(로딩화면의 스택을 안 비운다면, 백버튼으로 앱을 종료시 로딩화면이 다시 나타나기 때문)
val intent = Intent(applicationContext, ActivityMain::class.java)
startActivity(intent)
this.finish()
'안드로이드앱' 카테고리의 다른 글
Activity를 dialog로 팝업했을 때 창의 크기 컨트롤 (0) | 2021.06.19 |
---|---|
Custom Dialog 만들기 (0) | 2021.06.12 |
뒤로가기 버튼을 눌렀을 때, 토스트 띄우고 앱 종료 - Java (0) | 2021.04.12 |
Room Library 사용 방법 1 - Kotlin (0) | 2021.03.31 |
BottomNavigationView + Viewpager2 (0) | 2021.03.30 |