0

I have a custom object named User, which is a RealmObject.

When I query my Realm DB for a user like this:

User user = getRealm().where(User.class).findFirst();

I get this response (using debugging):

Realm Object

As can be seen, the object isn't initialized but the values are showing in the first line.

What is the issue here?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Asim
  • 6,962
  • 8
  • 38
  • 61

0 Answers0