下面是我在BaseExpandableListAdapter里面实现的getChildView()方法:
public View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent)
{
LinearLayout lView4 = (LinearLayout) View.inflate(context,R.id.content, null);
TextView name=(TextView) lView4.findViewById(R.id.name);
name.setText(objs.get(groupPosition).childs.get(childPosition));
TextView desc=(TextView) lView4.findViewById(R.id.desc);
name.setText("待定");
return lView4;
}
http://www.jianshu.com/p/e30485d019b3
你这个问题感觉很含糊,你具体要实现什么样的效果呢