Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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

 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seeing the actual error messages (including all stack traces) would help.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!