Mapa mental
Accessing contact list
Contenido del mapa
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"
Información
- Descripción
- Coding Mapa Mental sobre Accessing contact list, creado por vishal bhalerao el 21/10/2017.
- Creado por
- vishal bhalerao
- Visitas
- 0
- Etiquetas
- Valoración