Re: [android-developers] nested listview

2012-02-26 Thread Ted Scott
If I understand what you mean, then yes, except it is all handled in the 
ExpandableListView. You provide 2 lists, via some adapter, one is the 
parent list and the other a child list which you get by over-riding a 
getChildren method, depending how your lists are obtained.  (In an 
implementation I did, I use a DB to back the lists, so I use a 
SimpleCursorTreeAdapter and I override getChildrenCursor) Have a look at 
the expandable list examples in the api demos, there are 3 data source 
flavors in there.


On 2/26/2012 10:24 AM, hazem omies wrote:

hi Ted ,

many thanks Ted , but i need when open item passing value to other 
intent listview ,,this is doable ??


On Sun, Feb 26, 2012 at 5:10 PM, Ted Scott > wrote:


Sounds like you want an ExpandableListView

http://developer.android.com/reference/android/widget/ExpandableListView.html



On 2/26/2012 9:25 AM, hazem omies wrote:

hi,,,

how i can make nested listview as follow :

main activity contain a listview binding from web servers XML
parser  ,,my issue is when click on item ,,the seconed
listview open
related to this item as nested ,,??


-- 
You received this message because you are subscribed to the Google

Groups "Android Developers" group.
To post to this group, send email to
android-developers@googlegroups.com

To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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


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

Re: [android-developers] nested listview

2012-02-26 Thread hazem omies
hi Ted ,

many thanks Ted , but i need when open item passing value to other intent
listview ,,this is doable ??

On Sun, Feb 26, 2012 at 5:10 PM, Ted Scott  wrote:

> Sounds like you want an ExpandableListView http://developer.android.com/**
> reference/android/widget/**ExpandableListView.html
>
>
> On 2/26/2012 9:25 AM, hazem omies wrote:
>
>> hi,,,
>>
>> how i can make nested listview as follow :
>>
>> main activity contain a listview binding from web servers XML
>> parser  ,,my issue is when click on item ,,the seconed listview open
>> related to this item as nested ,,??
>>
>>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to 
> android-developers@**googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+**unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/**group/android-developers?hl=en
>

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

Re: [android-developers] nested listview

2012-02-26 Thread Ted Scott
Sounds like you want an ExpandableListView 
http://developer.android.com/reference/android/widget/ExpandableListView.html


On 2/26/2012 9:25 AM, hazem omies wrote:

hi,,,

how i can make nested listview as follow :

main activity contain a listview binding from web servers XML
parser  ,,my issue is when click on item ,,the seconed listview open
related to this item as nested ,,??



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


[android-developers] nested listview

2012-02-26 Thread hazem omies
hi,,,

how i can make nested listview as follow :

main activity contain a listview binding from web servers XML
parser  ,,my issue is when click on item ,,the seconed listview open
related to this item as nested ,,??

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