1

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
     }
  }
}
NG_
  • 6,895
  • 7
  • 45
  • 67
amr hashem
  • 11
  • 1

1 Answers1

1

There is a new property, called contacts that you can use for displaying contacts. Have a look at the documentation and the sample here: https://v-play.net/doc/nativeutils/#contacts-prop

Best, Alex

alexleutgoeb
  • 3,123
  • 3
  • 20
  • 31