Mapa mental
Accessing contact list
Conteúdo do 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"
Informações
- Descrição
- Coding Mapa Mental sobre Accessing contact list, criado por vishal bhalerao em 21-10-2017.
- Criado por
- vishal bhalerao
- Visualizações
- 0
- Tags
- Avaliação