Android ListView sorting problem
I want to create Gridview similar to WPF datagrid i don't know how many of you know about WPF data grid i'll explain its like having header row and rows to bind and whenever i click on each column of header row, the column 'll be sorted. But in this android list view i didn't see any header like in WPF but sorting is there and it'll sorted irrespective of column i.e. when i click on first column at row position '0' all columns 'll be sorted including header row (means header row go开发者_Go百科ing downwards) so how can i slove my problem?
Thanks, @nag.
So you just want a header row in your listview? Call listView.addHeaderView() passing it the view/layout you want in the header.
精彩评论