How to pass a selected dictionary from a ListView to another screen in Kodular?

Hello,
I’m developing an app in Kodular where I display a list of tasks from Firebase in a ListView.
Each task is stored as a dictionary (example: {“title”:“Task1”,“description”:“Description1”}).

I want that when a user clicks on a task in the ListView:

  1. The Details screen opens

  2. The task’s title and description are displayed

I tried passing the dictionary directly using “Open another screen with start value”, but the app crashes.

I use JSONTextDecode to convert the JSON from Firebase into a dictionary.

My question:
What is the best way in Kodular to pass a selected dictionary from a ListView to another screen safely and simply, without crashing?

Thanks for your help!

Yes, you can do that, alternatively use TinyDB
Also see tip 1 here General Tips and Tricks for App Inventor/Kodular

It would really help if you provided a screenshot your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select “Download Blocks as Image”. You might want to use an image editor to crop etc. if required. Then post it here in the community

Taifun