Skip to content

Releases: Zhuinden/realm-book-example

Rewrite v1.1

11 Sep 21:48
Compare
Choose a tag to compare

Changed order of initializing the Realm configuration and calling super.onCreate() to fix handling process death.

Apparently super.onCreate() recreates retained fragments.

Rewrite v1

17 Aug 15:25
Compare
Choose a tag to compare
  • 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