Gaurav Chauhan
Gaurav Chauhan
This happened to me when not doing transactions properly/not writing in a transaction and then trying to read it.
I created a model class by extending the RealmObject class. While building the project I get the error ``` java Error:(8, 8) error: Attempt to recreate a file for type...
Nevermind. Got it.
I had another model class with the same name in another package.
From their documentation: > Realm supports the following field types: boolean, short, ìnt, long, float, double, String, Date and byte[]. The integer types short, int, and long are all mapped...
Thanks. That worked. But deleteRealmFile does return true. Shouldn't it return false if the file is not deleted in such a case?
I see. Thanks for the response @cmelchior :)
Is this the only possibility? Because I don't see this happening anywhere in my code.
Wait, encountering it again. Below is an explanation of what I'm trying to do. I need to constantly update the app with data from the server. So for polling data,...
@cmelchior : I sync current client state with the server response. So it involves either: a) using setters to change values of RealmObjects. b) creating new RealmObjects c) Since some...