Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-23390] Android: Implement contacts offset and max #8112

Closed
wants to merge 3 commits into from

Commits on Jul 12, 2016

  1. [TIMOB-23390] Android: Implement contacts paginate

    This is only for Android.
    
    This to implement Pagination in Ti.Contacts.getAllPeople(). An example
    for usage is as follows:
    
    ```javascript
    var people = Ti.Contacts.getAllPeople({max:5,offset:10});
    ```
    
    This will set the max number of persons returned to be 5 and sets the
    offset to be from index 10 onwards. Eg, Persons number 10, 11, 12, 13
    and 14.
    ashcoding committed Jul 12, 2016
    Configuration menu
    Copy the full SHA
    469313d View commit details
    Browse the repository at this point in the history
  2. [TIMOB-23390] Android: Get total contacts added

    Implemented a method called ```Ti.Contacts.getSizeOfAllPeople()``` that
    will get the total size of all the contacts for Android. This is to be
    used with the properties ```max`` and ```offset``` in
    ```Ti.Contacts.getAllPeople()```.
    ashcoding committed Jul 12, 2016
    Configuration menu
    Copy the full SHA
    7fa7ffa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10456ce View commit details
    Browse the repository at this point in the history