Lukasz Kalnik
07/12/2024, 8:41 AMobject
from Swift?Vlad Mircan
07/12/2024, 8:45 AMObjectFromKotlin()
Lukasz Kalnik
07/12/2024, 8:46 AMVlad Mircan
07/12/2024, 8:51 AMAlexander Zhirkevich
07/12/2024, 9:26 AM.shared
static propertyLukasz Kalnik
07/12/2024, 9:26 AMVlad Mircan
07/12/2024, 9:31 AMAlexander Zhirkevich
07/12/2024, 9:32 AMVlad Mircan
07/12/2024, 9:34 AMLukasz Kalnik
07/12/2024, 9:38 AMsergey.bogolepov
07/12/2024, 9:53 AMDoes it mean that what I suggested creates a new instance every time then?No, it still going to be a singleton, but access through
shared/companion
class properties is preferable as it is more explicit. See documentation here (including links to interopedia)