Hi, I am currently populating a list of items as shown in this image:
On the 'homePage_MAIN,' I execute a primary DB query, and below that, in the ListView, I define how to dynamically generate children (with filtering using a custom function). This setup works perfectly for up to 100 children. However, as the list expands, I need to implement infinite scrolling.
Unfortunately, the 'homePage_MAIN' DB query does not allow me to activate infinite scrolling, as this feature is missing. One solution might be to remove the query from 'homePage_MAIN' and copy it into the ListView. Yet, this change prevents me from generating children within the same ListView. I attempted to modify the card into a container component to see if the generation option would become available, but it did not.
The ability to generate is crucial due to the complex filtering I'm employing. So, my question is, how can I manage the loading of numerous components through infinite scrolling while maintaining intricate filtering? Furthermore, how will this setup behave during filtering? Is this method the most efficient for both loading and filtering components? At present, the system functions well, but with the growing list, I aim to minimize the number of components displayed for an enhanced user experience.
Thank you very much
Linoy