fix persistance
Closes #433 (closed)
Merge request reports
Activity
109 110 110 111 AndroidExecutor androidExecutor(); 111 112 113 ForumPersistentData forumPersistentData(); 140 140 141 141 @Provides 142 142 @Singleton 143 ForumPersistentData provideForumPersistence(ForumPersistentData fpd) { 144 return fpd; 143 ForumPersistentData provideForumPersistence() { 144 return new ForumPersistentData(); This change was necessary because of Dagger complaining of a circular dependency, you can't do a constructor injection and also return the same object, to do that you need to use a interface + an impl class. The new was easier to implement since the ForumPersistentData doesn't use any Injections anyways
mentioned in commit bbed6731
mentioned in merge request !222 (merged)
Milestone changed to %Milestone D
Please register or sign in to reply