Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

is there anything like the iPhones Contact List View?

I can't seem to find an example of it in the Kitchen Sink, but that doesn't necessarily mean it doesn't exist…..

Is it possible, maybe easily, maybe not, to mimic iPhone's Contact List view with the letters on the right to "jump" to the clicked letter?

What I mean in case I'm not clear: http://bit.ly/iphone_contacts

— asked July 1st 2010 by Stephen Gilboy
  • contact
  • iphone
0 Comments

4 Answers

  • You have a few options.

    You can simply build a table view of contacts and style them any way you want. In KS, if you look at the example named Headers with Filter under Views…Table Views - you'll see how to make the UI look the same.

    The other option is to use the built-in contacts picker. See Phone…Contacts in the latest KS to see how you can use the built-in address book UI pickers.

    — answered July 1st 2010 by Jeff Haynie
    permalink
    0 Comments
  • It's for a list of clients, company names, not the actual contacts

    I was thinking of overlaying a skinny view on the right with the letters over a scrollview. Can one programmatically scroll? So the user can flick or press a letter and go there?

    — answered July 1st 2010 by Stephen Gilboy
    permalink
    0 Comments
  • I just pulled the latest KS and looked at the Phone…Contacts picker, but it does not actually do anything with the Contacts(?). If you click on the Show Contacts button, nothing happens. (It calls Ti.Contacts.showContacts(values)). Also, the docs show no events or properties for the Contacts object, and there is nothing on showContacts()…?

    — answered July 1st 2010 by Richard Baughman
    permalink
    0 Comments
  • It's for a list of clients, company names, not the actual contacts

    I was thinking of overlaying a skinny view on the right with the letters over a scrollview. Can one programmatically scroll? So the user can flick or press a letter and go there?

    — answered July 1st 2010 by Stephen Gilboy
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.