thanks for the response.

in my getChildView() method of my adapter, i have:

                View v;
            if (convertView == null) {
                    v = newChildView(isLastChild, parent);
            } else {
                    v = convertView;
            }

1. i would imagine newChildView would create the default layout - i
have
to create the different layout manually?

2. convertView can be a view with either type - right? how do i know
what
type it is.



On Sep 20, 10:02 pm, TreKing <[email protected]> wrote:
> On Mon, Sep 20, 2010 at 8:17 PM, dashman <[email protected]> wrote:
> > is that possible - i.e. a ELV with different layouts for a group view.
>
> Sure. The View returned for a group (or it's children) is determined by you
> in the adapter. You can return whatever you want depending on your current
> needs.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
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