First of all let us apologize for the caused inconvenience. We have spent some time investigating your project and came to a conclusion that the simulator is freezing because at some point your application loops endlessly.
We have noticed that you add a handler to the data source Change event. The handler modifies the data source and causes another trigger of the Change event. This results in several executions of the showMainCategories()function.
We strongly advice you not to modify the data source collection in the change event. If you want to apply some custom filter to your collection you can apply a filter configuration
Also it is better to create a list view and bind to a data source only once. Then modify or filter the datasource.
So if we can summarize it after some code refactoring your function should look something like this:
" ... your service url ... "
Please let us know if this works for you. Meanwhile we would make sure that the Simulator handles such scenarios in a more graceful way.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.