I get a wrong result for items that do not exist in the Categories (custom mode).
When categories has already an item then ID's that do not exist return a result.
It's unclear exactly what you mean, can you clarify a bit more? the ItemById returns the category based on the id, the id always needs to be set
Here's the code.
The first Categorie is loaded but the other following categories are not loaded because the ItemById is giving a result for not existing ID's.
I've changed the code and putted the "result := nil" to get it work
We have corrected this. The next version will address this issue.
Thanks for reporting!