0
votes

I need to implement a list / listView to create a notification menu but I am wondering how to do it so that my object will stay generic and each of row will have adjustable height and weight. I am adding picture below so you can envision easier what I am talking about.

Main issue is, that the rows can be / even must have different size, it is up to state if I press go_back (arrow on the left), then we should get different info, so the rows will change height.

enter image description here

1
Can you add List View and it's delegate code, pleaseNikxp
It's possible a DelegateModel could help you. It allows you to define groups . You can change how the delegate is drawn based on what group it is in.JarMan

1 Answers

0
votes

Regarding the "movable menu" with different pages that contain different types of listView elements eg. width and height, You might find SwipeView interesting. The menu might be a SwipeView with different menu pages. You can just set the interactive property of the SwipeView to false, so that it its pages can not be swiped and implement this back button to change the menu pages instead. In that way You can achieve what You want - menu pages with elements of eg. different sizes.