arkivanov/MVIKotlin

Consider to not throw exceptions in Store.init

arkivanov opened this issue · 1 comments

Currently Store.init throws an error if the store is already initialized. This makes the initialization inconvenient if the store is retained via InstanceKeeper.

This sounds awesome!
Currently I'm required to add var isInifialized to each Store to prevent double initialization when I need to init my Store lazily