How to use two nested lists in native Mendix

0
Hello everyone, I'm working on a native application, and I'm using web services, one of those services returns me an XML, in which, it returns me two nested lists, on a web page, I was able to consume it correctly, I made a list view, then a dataview by association, and again a list view by association of the data view, but in native it is different, how can I do the same but native? or somehow join both lists
asked
1 answers
2

For native, you need to use a nanoflow datasource for non-persistent data. That nanoflow just retrieves the data over association, perhaps also sort the list and return the sorted list if that is relevant.

 

Also bear in mind that in React Native, you cannot nest two scroll containers in the same direction. Mendix uses React Native under the hood and a listview is also a scroll container.

To prevent weird scrolling issues, use a list view for you outermost list and use the Mendix Repeater widget (comes with NativeMobileResources) or my Native Responsive listview widget to show the inner list, these widgets do not have a scroll container, preventing the scroll issues.

answered