Blackberry call list not updating
To keep an in-memory Realm “alive” throughout your app’s execution, hold onto a reference to it. This has a lot of benefits with regards to type safety.
When all in-memory Realm instances with a particular name go out of scope with no references, that frees all that Realm’s data.
The grid View Example is a trivial app that shows how to use Realm as the backing store for a Grid View.