Can I always use Kotlin's Object instead of usual structure of getting Singleton in Java?
http://prntscr.com/nfb8xr
Or it can bring some problem? for example in time working in different threads.
d
Dominaezzz
04/22/2019, 2:17 PM
Yes you can always use Kotlin's Object. It is thread safe.