根据他们的内容在列表视图组类似的行 [英] group similar rows in listview based on their content

查看:89
本文介绍了根据他们的内容在列表视图组类似的行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个显示一组行的列表视图,每行可点击。 现在,我希望将类似类型的行下一个报头类似如该图所示(嘲笑向上)。可能有的请告知或提供本办法。

i have a listview that displays a set of rows, each row is clickable. now, i wish to group similar type of rows under one header something like as shown in the figure (mocked up). could some please advise or provide an approach for this.

推荐答案

添加一个额外的paremeter的类别为每个列表视图项。然后执行类似基于该参数stickylistheaderslistview。

Add an extra paremeter for the "category" for each listview item. Then implement something like stickylistheaderslistview based on that parameter.

这篇关于根据他们的内容在列表视图组类似的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆