Releases: Zhuinden/realm-book-example
Releases · Zhuinden/realm-book-example
Rewrite v1.1
Changed order of initializing the Realm configuration and calling super.onCreate()
to fix handling process death.
Apparently super.onCreate()
recreates retained fragments.
Rewrite v1
- uses
executeTransactionAsync()
on the UI thread - uses
initialData()
to prepopulate the Realm - uses
RealmManager
class (a bit stub-like because I'll have to make its content not static later) to manage number of open activities - uses retained fragment to count open activity
- uses retained fragment to store presenter (oh, it actually has a "presenter" instead of just throwing everything in OnClickListeners)
- does not use Application subclass explicitly because of Firebase Crash Reporting for example creating multiple Application instances
- uses
RealmRecyclerViewAdapter
with asynchronous query