Questions tagged as 'realm'

1
answer

Realm Error io.realm.exceptions.RealmMigrationNeededException on Android

I am starting to use database style Realm after adding a new field Age to class Person import io.realm.RealmObject; import io.realm.annotations.Index; import io.realm.annotations.PrimaryKey; public class Person extends RealmOb...
asked by 01.06.2016 / 09:23
1
answer

How to parse a JSON with array of dictionaries within another array with Swift and alamofire

I am trying to walk an object with alamofire, and everything is fine until I have to deal with the array of dictionaries that I have within that same object. I think I have a problem with the model, but I'm not sure and since I did not find any...
asked by 25.10.2018 / 21:29
1
answer

Return of an object in Realm

I am having problems with an object that returns to me in Realm, the strange thing is that if I printo by console the object if it gives me a good impression but nevertheless if I try to access its value it tells me that it is empty. The structu...
asked by 25.01.2017 / 16:11
0
answers

Alternative Realm Cloud

I would like to know cheaper alternatives to Realm Cloud, to maintain a synchronization of the data stored by users (small things). eg. With SqlLite one can contract a simple host with mysql.     
asked by 12.11.2018 / 19:17
0
answers

Relate Tables in Realm

I am doing a "ingresVehiculo", in which I enter a patent for a vehicle and its type (motorcycle, car, etc.), but I do not know how to indicate that said Vehicle belongs to a certain type (which comes preloaded in the DB ), until now I go like th...
asked by 18.11.2018 / 22:21
0
answers

Save List in realm

   response model @SerializedName("modules") @Expose private List<Module> modules = null;    model module @SerializedName("idmodulo") @Expose private String idmodulo; @SerializedName("nombre") @Expose...
asked by 04.09.2018 / 05:44
0
answers

Multiple queries in Realm

I am trying to perform different searches on the same query. That is, on a RealmQuery look for a series of colors that match the ones I want and then look for a series of types. Putting all this in the same query ArrayList<Integ...
asked by 05.05.2018 / 19:12
1
answer

Assign data to an ignore attribute in Realm

I have a RecyclerView adapter where I send a list of an object as a parameter, what I want is that when I select an item to set a boolean the selected position, I created a ignore field that is a boolean . This is the class: public class...
asked by 02.05.2018 / 19:43
1
answer

Problem Realm boolean and mysql

I am learning android and I have created an app that manages lots. Use Realm for the persistence of data and retrieve them through retrofit of a Mysql table. When I recover the boolean data from the Batch table, they always appear as false even...
asked by 13.02.2018 / 00:43
1
answer

Error with RealmSearchView with my Realm Data Base

I want to implement a SearchView in realm and I found RealmSearchView in link but I get an error in the adapter, these are the errors at com.condado.yeikel.mediosbasicos.Adapters.ExpedienteSearchViewAdapter$ExpedienteItemView.bind(Expediente...
asked by 07.11.2017 / 16:19