android attaching multiple adapters to one adapter

前端 未结 2 1452
孤独总比滥情好
孤独总比滥情好 2020-11-30 09:22

I have been using the SeparatedListAdapter which is very well known and works perfectly, but it seems that I cannot use the addSection() to add a SimpleAdapter, because the

2条回答
  •  南笙
    南笙 (楼主)
    2020-11-30 10:01

    Added this line:

    setListAdapter(_sla);
    

    below the line:

    _sla.addSection("Results", _resultsAdapter);
    

提交回复
热议问题