realm-java
realm-java copied to clipboard
How to store List<Long> with relam? - Question
Hi, how can I store to Realm list of Long's?
For example i have class Person:
Person extends RealmObject{
private List
Thanks
As String. Just like you would with SQLite.
This will change when primitive list support is added, but this is not that time yet. Realm's getting there, though.
store it in json array of integer format as a string the you can parse it from String and to string using GSON library
Hi @lazarvgd I assume the above answered your question. If not, feel free to reopen.