Mind map
Accessing contact list
Map content
Accessing contact list
need to declare constants like projection,selection etc
- but android has its own ready made class for constants required for contact called "ContactContract"
- Create RecyclerView, ListView
- initialize by passing Simple curserAdapter without passing curser to it as we getting it from loader Manager
- write code in Loader manger CallBacks
- use swapCurser method to add new cursor with data in Simple cursor adapter
- use CursorLoader class
- implement LoaderManager.Callbacks
- use swapCurser method to add new cursor with data in Simple cursor adapter
- use simpleCursorAdapter class
- Create Constants for column names, view id etc so adapter can map view with data
- write code in Loader manger CallBacks
- initialize by passing Simple curserAdapter without passing curser to it as we getting it from loader Manager
- import ContactContract
- Create RecyclerView, ListView
- but android has its own ready made class for constants required for contact called "ContactContract"
Information
- Description
- Coding Mind Map on Accessing contact list, created by vishal bhalerao on 21/10/2017.
- Created by
- vishal bhalerao
- Views
- 0
- Tags
- Rating