How can I fixed listView header in GroupDataModel.

Hello

I want to set my header of the listview as a guess I put the listView header in GroupDataModel (Group: ItemGrouping.ByFirstChar). and now when scroll us in listview header must be fixed on what is the current title of the item in the listview. like Blackberry Hub.

Thank you

You can use the sample to reach this.

dataModel: GroupDataModel {
                grouping: ItemGrouping.ByFirstChar
                sortingKeys: [ "title" ]
            }
            layout: StackListLayout {
                headerMode: ListHeaderMode.Sticky
            }

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for