1

Android: Having a ListView inside another each with an adapter

view story
linux-howto

http://stackoverflow.com – I want to have a ListView inside another each with dynamic content. The ViewHolder for the first adapter has a ListView called req_list and I have assigned it to a ListView widget. holder.req_list = (ListView)convertView.findViewById(R.id.req_listView); The constructor of my second adapter looks like: public MyAdapter2(Context context, HashMap map){ this.map=map; this.mInflater = LayoutInflater.from(context); } Then I try to set the adapter for req_list of the first adapter, holder.req_list.setAdapter(new MyAdapter2(???, MyHashMap)); I don't kno (HowTos)