Hi, I'm facing a lifecycle issue using `bindFactor...
# kodein
o
Hi, I'm facing a lifecycle issue using
bindFactory
. FTR: I'm in the context of a Jvm Desktop application, unrelated to Android. I try to keep alive an object bound to a screen, this object is created with
bindFactory
taking a parameter specific to the screen being navigated to. So far, I had no issue, but when moving my window from one screen to another, the whole screen logic was re-triggered (Compose for Desktop context), and thus calling again
bindFactory
, how can I reuse the previously created object?
c
o
I'll give it a try
Indeed, it looks great and was the main source of my issue, I just need to adjust/refine that. Thanks for the input 👍
👍 1