Context trong Android là gì?
Context trong Android là gì?
Context là điểm truy cập tới tài nguyên và dịch vụ hệ thống của ứng dụng, là lớp trừu tượng (android.content.Context) mà Activity, Service, Application kế thừa.
getString, getDrawable, resources.startActivity, startService, sendBroadcast.getSystemService(...) (ConnectivityManager, LayoutInflater).filesDir, getSharedPreferences, openFileOutput, database.Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.