We are now importing code from the Swift version of the project we are working on into or Kotlin version. Wr are having difficulties. For example:
Only gives options to save a list of HashMaps instead of list of Custom classes. Is there anything we are missing? Can you give a sample code?
I think it would be this:
We are trying to save an array list of custom classes. The only thing we see is to save hash maps, and not custom classes.
There are two of() methods - one taking table name as a string and the other which takes a Class object. Please make sure you are using the latter.
Thanks for the quick reply. We will try that, and report back with the results.