• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seeing the actual error messages (including all stack traces) would help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic