Hi all
So after making this post I realize I better get the hang of custom data types.
I'm able to get the following to work without using custom data types but not with. (no items appear)
I read the relevant FF docs however my specific scenario isn't mentioned. Which is basically the need to use a custom data type in a listView that generates dynamic children from an a API call.
The end goal is to pass both the user chosen "id" (hidden) and "number" as parameters to the next page.
For now though I'd just like to use the custom data type to generate the dynamic children. (instead of directly from the JSON predefined paths ) - I'll figure out how to pass the parameters later.
Any help here is very much appreciated as I feel Im stuck in the mud.
This is my api call info
My custom data type
My app state variable
My on page load action building where i make the api call and then update app state
My generate children variable
and finally the button text value
Again just want to say thank you for taking your time reading this, any feedback is appreciated.