Lilly
12/08/2020, 2:22 AMdata class Test(val test1: Int, val test2: Int)
This would be the base and if a specific condition is satisfied:
data class Test(val test1: Int, val test2: Int, val test3: Int)
I could create 2 separate data classes but then I always have to pass both and I'd like to deal only with one data class. Does someone has an idea?Ray
12/08/2020, 5:06 AMRoshan P Varghese
12/08/2020, 9:10 AMDriss Bounouar
12/08/2020, 9:45 AMLilly
12/08/2020, 1:08 PM