Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- activity
- Kotlin
- 안드로이드
- ScrollView
- 테스트
- tabbar
- viewmodel
- textview
- Coroutines
- drift
- Dialog
- LifeCycle
- DART
- TEST
- Compose
- binding
- 계측
- livedata
- Button
- appbar
- Navigation
- scroll
- android
- data
- 앱바
- Flutter
- 앱
- CustomScrollView
- textfield
- intent
Archives
- Today
- Total
목록전역변수 (1)
Study Record
[안드로이드] Application Class
😶 Appliation Class 개요 앱 전역의 상태를 포함하는 기본 클래스로 운영체제가 앱과 상호작용하기 위해 사용하는 주요 객체이다. 앱 전역의 상태를 포함하므로 전역 변수를 선언하면 앱 어디서든 접근할 수 있다. Application() 을 상속받는 클래스를 만든다. import android.app.Application class TestApplication : Application() { override fun onCreate() { super.onCreate() } } 매니패스트 파일의 태그의 android:name 속성에 클래스를 추가해준다.
안드로이드
2023. 6. 28. 16:10