Mindmap
Accessing contact list
Inhalt der Mindmap
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"
Informationen
- Beschreibung
- Coding Mindmap am Accessing contact list, erstellt von vishal bhalerao am 21/10/2017.
- Erstellt von
- vishal bhalerao
- Aufrufe
- 0
- Tags
- Bewertung