简体   繁体   中英

How to do DroidParts to Realm Migration for Non-primitive Data Structure?

Three years back we used Droidparts library to save the data,We have decided to change database from Droidparts to Realm Database. We are able to pull the data for Primitive datatype. Incase of Non-Primitive data structures like(ArrayList) we are facing issues because Realm doesn't support for Non-Primitive data structures.

Please suggest me possible solution ?

It would be clear if you can state what you mean by non-Primitive. (Is it a boxed type number value?, or user defined class?)

In case of custom class and boxed type number value, Realm support list of those types out of box. You can take a look at the latest document for more detail.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM