Questions tagged as 'realm'

1
answer

Difference between RealmList and RealmResults in Realm.io of Android

What are the differences in returning the data of a query Realm.io that are in the form of RealmList or RealmResults ?     
asked by 20.10.2016 / 12:35
2
answers

Show results of a RealmResults in a Recyclerview (Android)

I'm trying to create an adapter to display data in a RecyclerView , but that your data provider is using the database system realm.io , that is, populate the RecyclerView from the result RealmResults of a query, list of...
asked by 27.09.2016 / 22:57
5
answers

List view shows only one result

I'm creating a listview with Realm and it only shows the first result. With debugger I have seen that the variable position does not increase in value and the one covered by the List is always with the same value. In the s...
asked by 14.05.2017 / 11:08
1
answer

Convert image to base64 android

My code what it does is take an image from the gallery and take its route in string and waiting for it in the database awaits the route of the image and displays it. I want to be able to take a photo from the camera and also choose fro...
asked by 27.04.2017 / 06:36
1
answer

Error in Realm: UnsupportedOperationException: Missing right-hand side of OR

I'm trying to make a query in realm. I have an array with the id that I want and I get this error: java.lang.UnsupportedOperationException: Missing right-hand side of OR When I make the RealmQuery match to RealmResult, I make this match si...
asked by 12.04.2018 / 18:31
2
answers

OutOfMemoryError using base64 and realmdb when displaying images on android

My code what it does is get an image from the gallery or from the camera and convert this image to base64 , then wait in RealmDB , when I want to show the image, I convert it from string to bitmap and I show it in c...
asked by 04.05.2017 / 05:09
1
answer

Adapter Problem

I have a problem in my RecyclerView.Adapter . My mistake is as follows    java.lang.NullPointerException on: Attempt to invoke virtual method 'java.lang.String com.example.piipe.bienestapp.Modelos.usuario.getNombre ()' on a null obje...
asked by 08.05.2018 / 01:25
1
answer

can not be @Required or @NotNull

When using version 4.3.3 of REALM for android development I get the following error: Error:Field "groupName" with type "pizware.evaluapp.Models.Group" cannot be @Required or @NotNull. but I do not use any of those labe...
asked by 01.02.2018 / 02:29
1
answer

Search for a field in the realm database

Someone knows how to perform a query in Realm where the entire table was scanned and the tuples were taken where the name of a field corresponded to the one I have. That is, if we have a database of a library, and we want to take users with a...
asked by 16.04.2018 / 10:06
3
answers

Autoincrement when adding record in Android Realm

Really I see that there is nothing like Mysql to be able to assign auto-increase of an index. How could something similar be done when entering new records. Structure User extended RealmObject public class User extends RealmOb...
asked by 02.09.2016 / 10:35