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
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.
-
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?
-
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()…?
-
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?