https://kotlinlang.org logo
#kodein
Title
p

Pieter

04/08/2019, 11:44 AM
Hi. Not sure if anyone else has used kodein in the way I am needing to. I asked a question on the Github for the kodein project and @salomonbrys directed me to the Configurable kodein extension. Basically I have many classes to be injected in an android app but only some are needed in the initial startup and background log in process of the app. I was wanting to only then add the bindings for the rest of the classes after a call has returned to indicate my user has logged in. Only reason for this was that if i added all bindings at the start it was pushing my main-dex file over the method limit. Can someone confirm for me that what i want to do means i need to have a MUTABLE ConfigurableKodein object and then add the later bindings to that?