[android] context 마스터 하기! - Context 는 Android API 중 가장 잘못 design 된 녀석이다. Android 에서 신과 같은 object 이다.. - Android 는 component 들을 갖고 있다. Activity, Service, BroadcastReceiver, ContentProvider. Android OS 자체도 component 들을 가지고 있다. WifiManager, Vibrator, PackageManager 등등.. 그리고 Resource 라는 녀석도 있다. Context 를 간단히 이야기하면 component 간의 다리 역할을 하는 component 이다. context 를 통해 component 간의 communication, instantiate, access 등을 할 수 있다. - C.. 2021. 1. 26. 반응형 이전 1 다음