Auto page size in listview dependent on parent element height

0
Hi I have a question. I would like to have in my application adjustments of the number of list items from the size of the element on which it is displayed. It is known that the height depends on how the list is positioned, the screen resolution, the height of a single element or even how much space the browser bars take up. My idea is to display as many items on the listview as can fit in the maximum space available to the listview, and load the next items when the button is pressed (ideally, there would be as many items as fit + 1, and after scrolling to the invisible one, another set of data would load). What's more, in my case, the elements of my list can have different heights depending on the information they contain. Have you ever faced such a problem and did you find a solution for it?
asked
0 answers