Currently, when injecting dependencies into a Controller, we can't perform constructor injection because Conductor needs to be able to recreate the Controllers after a configuration change. This sucks because field injection is confusing and error-prone.
Can we provide an abstraction like a ControllerFactory which would behave similarly to androidx.work.WorkerFactory in that consumers could override it with their own ControllerFactory?
Currently, when injecting dependencies into a
Controller, we can't perform constructor injection because Conductor needs to be able to recreate the Controllers after a configuration change. This sucks because field injection is confusing and error-prone.Can we provide an abstraction like a
ControllerFactorywhich would behave similarly toandroidx.work.WorkerFactoryin that consumers could override it with their ownControllerFactory?