https://kotlinlang.org logo
#android
Title
# android
r

ritesh

03/16/2020, 1:55 PM
I have a domain module (contains model and use-cases) and ui-module, ui-module is dependent on domain module. I need to parcelize one of the model of domain-module, but to use it, i need to convert it to android library to take leverage of
@Parcelize
Any way, can i make use of
typealias
and
expect
and
actual
without converting the domain pure kotlin module to android module?
b

Bulat Mukhutdinov

03/17/2020, 8:34 AM
You can just add ui-module’s model and convert domain-model into ui-model
11 Views