stefanoa Active Member Licensed User Longtime User Feb 11, 2012 #1 Hi, anyone knows how to display the first letter of an alphabetical list of contacts while browsing the list (using vertical scrollbar in a ListView).? ie. show A B C etc .. thanks
Hi, anyone knows how to display the first letter of an alphabetical list of contacts while browsing the list (using vertical scrollbar in a ListView).? ie. show A B C etc .. thanks
barx Well-Known Member Licensed User Longtime User Feb 11, 2012 #2 I'm assuming you mean something like this. No idea how it is done but just thought I'd add a pic so people knew what you was looking for. Upvote 0
I'm assuming you mean something like this. No idea how it is done but just thought I'd add a pic so people knew what you was looking for.
C COBRASoft Active Member Licensed User Longtime User Feb 12, 2012 #3 You should use a scrollview and place everything yourself (labels, buttons, ...). When going through your sorted list of contacts you can easily know when the first letter is different from the last one. At that point (simple if structure) you can add an extra label with the letter. At least, this is how I would do it . Upvote 0
You should use a scrollview and place everything yourself (labels, buttons, ...). When going through your sorted list of contacts you can easily know when the first letter is different from the last one. At that point (simple if structure) you can add an extra label with the letter. At least, this is how I would do it .