I can't seem to solve this problem. I'm trying to add elements to ListView but it keeps giving this error

Read the introductory articles

You are creating lists wrong and adding to lists wrong.

I caught a quick peek at your code, and I have to recommend a recent tutorial on how to deal with not found lookups ...