Example:Main LinearLayout|Sub LinearLayout|ListView |ListView has a set of names, which change the sub linear layout's content.Now I have the sub LL in my main LL. How do I add the ListView properly, using an \[code\]arraylist<string> ar\[/code\]But I don't know how to properly use the list adapter. One other question: can I update the listview contents with a thread every few seconds?