Realm is a new player on mobile database scene, and acts as a replacement for SQLite on Android and Core Data on iOS by providing a database and an easy-to-use object-relational mapping-like (ORM) interface. Learn how to use it in your own projects and how it compares to working with SQLite in a beginner-friendly sample app with Pokémon. This talk was presented at Droidcon Montreal on April 10th, 2015.
12. Pros for Realm
● Very responsive team
● Easy to use
● Convenient for creating and storing data on
the fly
● Object conversion handled for you
● Faster than SQLite
17. Cons for Realm
● Have to create with Java on the device
● Still under active development
● Not a lot of content online
● No importing
● Can’t access objects across threads
18. Missing Features
● Auto-incrementing ids
● Easy migrations (exist, but are painful)
● Compound primary keys
● Notifications on specific data changed
● Null support
● Testing with Robolectric
● Map<K, V> support