cmelchior / realmfieldnameshelper

Realm extension library used to create more type-safe queries.
Apache License 2.0
173 stars 21 forks source link

Does this work with 'implements RealmModel' #11

Closed rajuashok closed 7 years ago

rajuashok commented 7 years ago

Hi there, I want to use your library, but I was wondering if this would work with POJO's that implement the RealmModel interface instead of extending RealmModel. I am traveling and don't have a chance to test this out myself. Will try it out myself tomorrow if you don't get to me before then.

Zhuinden commented 7 years ago

If you use @RealmClass annotation then it should

cmelchior commented 7 years ago

What @Zhuinden said. The annotation processor just picks up all classes with the @RealmClass annotation. So it should work.