Two Laptop Bag*
The moose likes Android and the fly likes how to link parent[first list.xml] to second child[second list_item.xml] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "how to link parent[first list.xml] to second child[second list_item.xml]" Watch "how to link parent[first list.xml] to second child[second list_item.xml]" New topic
Author

how to link parent[first list.xml] to second child[second list_item.xml]

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
how to link parent[first list.xml] to second child[second list_item.xml]?
why this do not work?

ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,R.layout.list_item,android.R.layout.simple_list_item_1, list2);
// this does not give error at bold

Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41060
    
  43
Seeing the actual error messages (including all stack traces) would help.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to link parent[first list.xml] to second child[second list_item.xml]
 
Similar Threads
when i change android:orientation to horizontal it shows blank screen
Hashmap in android
list view problem
Layouts, bottom position
how can we view the two lists on a single display???