Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
Posts: 17
Registered: ‎02-04-2013
My Device: BB10
My Carrier: NA

ContactListFilters & pagination

It is mentioned in the docs that you can paginate through the search results returned using a ContactListFilters when calling ContactService::contacts().

 

Is there a code sample showing how to perform the pagination?

 

Thanks!

Developer
Posts: 147
Registered: ‎05-31-2013
My Device: BlackBerry Z10 Limited Edition
My Carrier: Bonbon

Re: ContactListFilters & pagination

Funny thing. It used to work for me on previous OS releases, suddenly pagination didn't work and same sample code crashed. So had to resort to 1 full phonebook run, which blocks UI thread. Thus very bad.

A regression bug?

Retired
Posts: 83
Registered: ‎10-10-2012
My Device: Z30
My Carrier: Bell

Re: ContactListFilters & pagination

Hi

>it used to work for me on previous OS releases,

thanks for pointing out - I'll investigate.  Sounds likely.

g