Hello ! I am trying to understand how to get Contacts (from ContactsContract) using a ViewModel. I only found the official tutorial which uses a CursorLoader (https://developer.android.com/training/contacts-provider/retrieve-names). Are there any tutorials, guides or articles who could help understand how to do that? Thank you for your patience!
EDIT: Ignore the question as it wasn't related to Kotlin.
EDIT2: If you care, it seems that I was understanding it the wrong way. ContactsContract is a ContentProvider, which is an API on a database. It would be redundant with a Room/DAO implementation.
a
Andreas Sinz
09/19/2018, 1:38 PM
#android
k
karelpeeters
09/19/2018, 1:43 PM
Not even, it's not Kotlin related.
c
CamilleBC
09/19/2018, 1:44 PM
Oh sorry, yeah I didn't really think before posting. I'll try to find a more genereic android community to post 🙂
👍 1
j
Jeremy Rempel
09/19/2018, 3:16 PM
try Android United
👏 1
c
CamilleBC
09/19/2018, 4:14 PM
@jeremy Thanks, I've done that. I'm just waiting for the invite now 😛
@jeremy Hello Jeremy! Did you join that community? I've tried three times to register, but I have never recieved the invite 🙂
j
Jeremy Rempel
09/27/2018, 6:46 PM
yes I've joined. thats strange. I'm not sure who admin/mods are