getContentResolver()

public abstract class ContentResolver
extends Object

java.lang.Object
   ↳	android.content.ContentResolver

Android Application

  • Activity
  • Service
  • Broadcast Receiver
  • Content Provider :
    Application사이의 정보를 공유하는 역할입니다. Content Provider가 각종 설정값이나 DB에 접근하게 도와준다면, 그 결과를 반환하는 역할은 Content Resolver가 진행합니다.

getContentResolver()

  • abstract ContentResolver getContentResolver()
    Return a ContentResolver instance for your application's package.
// e.g.
Uri channelUri = mContext.getContentResolver().insert(Utils.getUri(mContext), values);



Reference)

https://developer.android.com/reference/android/content/ContentResolver

Icons made by Freepik from www.flaticon.com

좋은 웹페이지 즐겨찾기