josesamuel / remoter

Remoter - An alternative to Android AIDL for Android Remote IPC services using plain java interfaces
Apache License 2.0
84 stars 14 forks source link

@Parcelize - Unresolved reference: CREATOR #16

Closed gorbachev-sweatcoin closed 1 month ago

gorbachev-sweatcoin commented 9 months ago

Hi, awesome plugin, but unfortunately it's not working with @Parcelize, as far as I know, there is an issue with CREATOR field. (https://youtrack.jetbrains.com/issue/KT-19853/Parcelize-CREATOR-field-should-be-available-from-code)

And I receive errors in my project _Stub.kt:260:57 Unresolved reference: CREATOR

Screenshot 2023-11-28 at 19 36 51

Possible solution would be using kotlinx.parcelize#parcelableCreator<T : Parcelable> according to the link provided above.

Screenshot 2023-11-28 at 19 38 07
josesamuel commented 1 month ago

Not related to this. @parcelize works if that is setup properly,