Help! App crashing

What is the name of your app? : The Witcher

Describe your app: It’s a simple checklist of 4 tasks per storie. Ther is 9 stories.

Screenshots :

AIA file :

TheWitcher.aia (2.0 MB)

##bug :
When i click on any element of the ListView, the app closes. No error message exept my phone saying “The Witcher stops systematically”.
When i am testing the app with the companion i don’t have any isues.
I tested deleting the Tiny_DB1.Get Value and it works fine. The thing is i need this block…
The Tag name is ok.
I tried changing the minimum SDK level but without luck.
I don’t know what to do :frowning:
Can you guys help please ?

Hi dear,

Topic moved to Discuss

This block won’t work, you need to perform the replace directly on LsChecked, not on a selection of the index.

As soon as I have a moment, I’ll try to check the project.

I think I’ve modified the project too much, sorry :man_facepalming:.

I don’t think it’s too hard to understand, but since the project was quite heavily reworked, I’m fully available if you need any further explanations.

TheWitcher.aia (2.0 MB)

1 Like

Thanks a lot ! it works great !

In my version, the variable LsChecked is a list of lists. I thought a replacement in a list of lists was done like this :

And the replacement works fine when testing in the companion.

I am not familiar with dictionarys so i’ll tet the magic as is :slight_smile:
Thx again <3

I’ve seen that, the same thing happened to me at the beginning :grin:
Then, when I discovered the world of dictionaries, it opened up so many possibilities and allowed me to manage complex and nested structures without having to remember all the indexes.

If you want to dive deeper into dictionaries, this is an excellent guide.

Have a nice day!

1 Like