Thanks for the thoughts.. What I've started to do is dig through the
source code for the Call List (in the Contacts.git repository), which
uses a standard ListView with a custom GroupingListAdapter.. Haven't
dug too deep yet, I'm first trying to resolve an import issue.. The
adapter class is using com.android.internal.util.ArrayUtils which I
don't believe is open to developers—anyone know how to use ArrayUtils?

Thanks,
Nick


On Jun 21, 1:44 pm, TreKing <[email protected]> wrote:
> On Mon, Jun 14, 2010 at 6:15 PM, patbenatar <[email protected]> wrote:
> > Is this possible with an ExpandableListView or any standard widget?
>
> Don't think so, at least not by default, but here's an idea for a cheap hack
> workaround:
> Use ExpandableListView and track the indices of the "singular" items. When a
> row is clicked, if it's a "singular", collapse the row (it expands by
> default, this will keep the icon from changing, I think) and do whatever you
> need to do based on the row being clicked.
>
> > If I have to implement my own solution here, can anyone point me in the
> > right direction?
>
> I would start by looking at how ListView and ExpandableListView are
> implemented, then take the bits that you need from both.
>
> --------------------------------------------------------------------------- 
> ----------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to