parth
09/01/2020, 10:52 PMClass 'FilterOptions' is not abstract and does not implement abstract member public abstract fun describeContents(): Int defined in android.os.Parcelable
but in the generated code…
public FilterOptions(@Nullable String keyword) {
this.keyword = keyword;
}
public int describeContents() {
return 0;
}
what gives?Rohan Pambhar
09/02/2020, 9:48 AM@Parcelize
as follow-
@Parcelize
data class MyModel(val vFirstName: String?, val iAge: Int) : Parcelable
I am not sure, but AFAIK it is the only way to use @Parcelize
annotation.
Correct me if I am wrong after testing this. 🙂parth
09/02/2020, 2:37 PMAlexey Belkov [JB]
09/07/2020, 12:50 PM