I have an app which creates a KeyValueStore with one of the key-values a list of custom types.
Shouldn't I be able to use that same KVS and load the custom types in a second app?
I can't seem to make it work.
I'm including the same type definition in the second app, but receiving this error when trying to load it back:
Waiting for debugger to connect...
Program started.
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
Error occurred on line: 25 (KeyValueStore)
java.lang.RuntimeException: java.lang.ClassNotFoundException: b4j.example.coinapi$_symbol
I've tried putting the custom type def in "Main" and "B4XMainPage," but neither works.
Can I not load a custom type from a KVS from a second app?
ADDED: Yes, I searched. None of the solutions worked for me.