<Property - Initialize a map property only once> I...
# forum
r
Property - Initialize a map property only once I have a map as my property. Key - String, Value - Complex object The map will be initialized during runtime using contents from a json file. I want to read the json file only once at the beginning and initialize the map. I will then add/ update the map. During every update to the map, I will write to the json file. I want to make sure that I get the updated map every single time I use it. Kindly suggest if Kotlin’s backing properties will be useful for my use case. If not, kindly suggest an...