Ive Vasiljevic
12/23/2019, 1:07 PMMikołaj Kąkol
12/23/2019, 1:56 PMMatteo Mirk
12/23/2019, 2:21 PMUserLoginData
and UserAuthenticationData
do not extend ModelData
, and if you try to assign for example an instance of UserLoginData
to ModelData
or do an is
check, you’ll get a complation error. Am I missing something? 🤔Ive Vasiljevic
12/23/2019, 2:35 PMsealed class UserData(...): ModelData() {
data class UserLoginData(...): UserData()
data class UserAuthenticationData(...): UserData()
}
Matteo Mirk
12/23/2019, 2:36 PM