Can a GridView have a footer and header just like ListView?

前端 未结 11 2061
北海茫月
北海茫月 2020-12-14 16:29

A quick question:

In ListView I use this code:

list.addHeaderView(headerView);

How to deal with it when working on

11条回答
  •  情歌与酒
    2020-12-14 16:54

    Why don't you change the appearance of the cells for the first rows? if you know how many columns you have, you know how many items will appear in the header = number of columns.It works for me

提交回复
热议问题