I cannot get android contacts using v-play nativeUtils. Is there something wrong with this code?
App {
AppListView {
anchors.fill: parent
model:nativeUtils.getContacts()
delegate:SimpleRow {
text: modelData.name
detailText: modelData.phoneNumber
}
}
}
There is a new property, called
contactsthat you can use for displaying contacts. Have a look at the documentation and the sample here: https://v-play.net/doc/nativeutils/#contacts-propBest, Alex