This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Murach's Java Programming and have Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Java Programming this week in the Beginning Java 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

 
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: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seeing the actual error messages (including all stack traces) would help.
 
look! it's a bird! it's a plane! It's .... a teeny tiny ad
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!