일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Java
- Android 12 대응
- 영어공부
- 프로그래머스 알고리즘
- Kotlin
- Android
- Android WebView
- Android ViewPager2
- Android Interceptor
- 66챌린지
- DataBinding
- 안드로이드
- Android ProgressBar
- 습관만들기
- WebView
- OkHttp Interceptor
- Kotlin FCM
- Android 12
- 알고리즘 자바
- 안드로이드 갤러리 접근
- MVP Architecture
- Android Jetpack
- 영어독립365
- Android Navigation
- 카카오 알고리즘
- android recyclerview
- 안드로이드 카카오 로그인
- scope function
- Android DataBinding
- 안드로이드 fcm
Archives
- Today
- Total
목록Android Background (1)
Developer Geek
Android Push 알림 + Background vs Foreground in Kotlin
Background vs Foreground 실행(Push 알림, Background vs Foreground) Push 알림을 구현하게 되면, Background 상태에서의 액션과 Foreground 상태에서의 액션을 구분해야할 때가 있다. 예를 들어 Foreground 상태에서는 앱의 특정 Activity를 실행시킬 수 있지만, Background 상태에서는 Splash 화면을 보여준 이후에 특정 Activity로 이동하도록 구현해야할 수도 있다. 이때 앱의 상태값을 확인하여 분기처리 할 수 있는데, Application 클래스를 상속받는 클래스를 통해 상태값을 관리할 수 있다. MyApplication.kt: Application, Livecycleobser 상속 Application 상속: App..
안드로이드/Service
2022. 6. 18. 09:00