(I mean how can it (the singleton `AmountScreen`) ...
# announcements
r
(I mean how can it (the singleton
AmountScreen
) be null?)
If I declare
allScreens
as a function, then it works, so I’m guessing that when resolving the list like this, it runs before the singleton static instance is created.. But is this intended/expected?
r
👍 2
r
Yeah, seems so. Thanks a lot! I searched for a bit and did not find it..
m
What if you declare
allScreens
using
by lazy
?
r
yap, that works too 🙂
which is what I’m doing now