So, this is for a normal Activity (min sdk version 7, target sdk version 15):
I have a Listview and a custom made Adapter connected to it.
This Listview is declared in an xml-file together with a TabHost. If the Listview is put directly in the layout and not in a tab, it works perfectly. But if I put it inside one of the tabs, it simply will not show.
Why can't I do this? Do I need to specify something special for the listview or the tabhost, or do I need to call some update/invalidate function on the tabhost after updating the list?
I have a Listview and a custom made Adapter connected to it.
This Listview is declared in an xml-file together with a TabHost. If the Listview is put directly in the layout and not in a tab, it works perfectly. But if I put it inside one of the tabs, it simply will not show.
Why can't I do this? Do I need to specify something special for the listview or the tabhost, or do I need to call some update/invalidate function on the tabhost after updating the list?
rientation="vertical" >