The problem is that I've tryied some of those methods of TabHost class that 
returns View, and I didn't get any which return my ListView.

My point is, each element of the listview contains certains data that I have to 
colect to do something with them. What I really would like to do is use a 
Visitor Pattern to do so, because i may have others operations too.

I wait for reply

regars.

--- Em qua, 3/8/11, RobinDroid <[email protected]> escreveu:

De: RobinDroid <[email protected]>
Assunto: [android-developers] Re: TabHost with ListViews - Accessing elements
Para: "Android Developers" <[email protected]>
Data: Quarta-feira, 3 de Agosto de 2011, 4:42

Is that really necessary because your tabhost has view content and on
that content you have ure listview? So why not use your tabhost
content view for that particular tab.

On Aug 3, 4:13 am, Giorgio Torres <[email protected]> wrote:
> Hi, I have a TabHost that hosts 4 ListViews with some elements.
>
> I would like to know if it is possible to access those elements from the 
> tabHost object.
>
> Exemplifying, i would like something like that:
>
> tab(0).getListViewElement(2).findViewById(R.id.name_textview)
>
> where tab(0) returns the first tab with a ListView, and getListViewElement(2) 
> returns the 3rd element from that list. After that i can get some view of 
> that row.

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

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