Marko Novaković
05/22/2024, 10:20 PMObject 'MyScreen' is not abstract and does not implement abstract member public abstract fun describeContents(): Int defined in com.slack.circuit.runtime.screen.Screen
.
it’s Parcelable error but there is no Parcelable in KMP world. should I expect/actual that and then use it or I’m missing something in the setup?Marko Novaković
05/22/2024, 10:28 PMinterface
and do
// KMP module
interface MyScreen : Screen
// Android
@Parcelize
data object AndroidMyScreen : MyScreen, Parcelable
in Android app and use this one instead.
that’s ityoussef hachicha
05/23/2024, 5:25 AMMarko Novaković
05/23/2024, 9:40 AMyoussef hachicha
05/23/2024, 9:48 AMagrosner
05/23/2024, 10:37 AMMarko Novaković
05/23/2024, 10:40 AMI’m guessing it’s expect actualized into parcelable in Android code?it is expext/actual but it doesn’t get inherited for some reason. this is the only way I found plus I checked sample project, counter, and they are doing the same
Marko Novaković
05/23/2024, 10:43 AMagrosner
05/23/2024, 10:46 AM// common
@Parcelize
data object MyScreen : Screen
Marko Novaković
05/23/2024, 10:50 AMMarko Novaković
05/23/2024, 10:51 AMyoussef hachicha
05/23/2024, 11:01 AMagrosner
05/23/2024, 11:25 AMMarko Novaković
05/23/2024, 9:19 PMJosh Feinberg
05/24/2024, 12:56 AM