Parcelable: Fixes after review
This commit is contained in:
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
import kotlinx.android.parcel.MagicParcel
|
||||
import android.os.Parcelable
|
||||
import android.os.Parcel
|
||||
|
||||
open class Delegate : Parcelable {
|
||||
override fun writeToParcel(dest: Parcel?, flags: Int) {}
|
||||
override fun describeContents() = 0
|
||||
}
|
||||
|
||||
@MagicParcel
|
||||
class Test : Parcelable <error descr="[PARCELABLE_DELEGATE_IS_NOT_ALLOWED] Delegating 'Parcelable' is now allowed">by</error> Delegate()
|
||||
Reference in New Issue
Block a user