fb-android-dagger v1.0.2 Release NotesRelease Date: 2014-04-14 // almost 9 years ago
🚀 This release tweaks the handling of configuration changes (e.g. orientation changes).
Previously, InjectingActivity's onCreate method didn't set up its graph or inject itself until after calling super.onCreate. Since that call to super.onCreate would trigger a call to a retained InjectingFragment's onAttach method, when that InjectingFragment tried to extend the activity graph, it would generate an NPE due to the activity graph not being initialized yet.
🚀 In this release, InjectingActivity initializes its graph an injects itself before calling super.onCreate.