Umar Ata
01/18/2022, 5:50 PMheckfyxe
01/18/2022, 5:54 PMUmar Ata
01/18/2022, 6:00 PMzsmb
01/18/2022, 6:02 PMclass Test {
val a0: Int = 0
val a1: Int = 0
.....
}
zsmb
01/18/2022, 6:03 PM0
values potentially being used in the result.hfhbd
01/18/2022, 6:05 PMlateinit
or delegates to prevent using the default valueCasey Brooks
01/18/2022, 6:05 PMMap<String, String>
and wrapping the response into a domain object using the map as a property delegate https://kotlinlang.org/docs/delegated-properties.html#storing-properties-in-a-maphfhbd
01/18/2022, 6:05 PMUmar Ata
01/18/2022, 6:36 PMUmar Ata
01/18/2022, 6:40 PMJavier
01/18/2022, 10:55 PMJavier
01/18/2022, 10:56 PMgildor
01/19/2022, 2:20 AMUmar Ata
01/19/2022, 6:38 AMgildor
01/19/2022, 6:45 AMUmar Ata
01/19/2022, 6:48 AMgildor
01/19/2022, 6:52 AMUmar Ata
01/19/2022, 6:55 AMSufyan Sattar
01/19/2022, 2:02 PMSufyan Sattar
01/19/2022, 2:03 PMSufyan Sattar
01/19/2022, 2:04 PMDevanshu Kaushik
01/19/2022, 6:52 PMThis gets initialised when the app launched and then used over different places of app by the help of shared viewmodel that holds this class as livedataSounds like a god-class of configurations to me. You should really consider separating it out in a feature-specific manner apart from other things. Not every one of those 300/500 properties should be required right at app start, some can be fetched on a need-to basis surely (?)
Umar Ata
01/22/2022, 12:58 PMgildor
01/25/2022, 3:04 PM