Setting more than one adapter for a single list view

后端 未结 1 1163
南方客
南方客 2020-12-11 19:00

Is it possible for setting more than one adapter to a single list?

For example

  • list.setAdapter(adapter1);

1条回答
  •  失恋的感觉
    2020-12-11 19:37

    Maybe you can try attaching multiple adapters to a single adapter like here

    android attaching multiple adapters to one adapter

    Or maybe this http://jsharkey.org/blog/2008/08/18/separating-lists-with-headers-in-android-09/

    if I understand what you need it for correctly

    Pls update why you want it for so we have a better understanding

    0 讨论(0)
提交回复
热议问题