Parcelable, minor: Rename MagicParcel to Parcelize

This commit is contained in:
Yan Zhulanow
2017-07-26 17:57:22 +03:00
parent f29cf07fa4
commit ea1068a822
51 changed files with 102 additions and 102 deletions
@@ -10,15 +10,15 @@ import android.os.Parcelable
// Starts with A, should be loaded before other classes
abstract class AParcelable : Parcelable
@MagicParcel
@Parcelize
data class P1(val a: String) : AParcelable()
sealed class Sealed : AParcelable()
@MagicParcel
@Parcelize
data class Sealed1(val a: Int) : Sealed()
@MagicParcel
@Parcelize
data class Test(val a: P1, val b: AParcelable, val c: Sealed, val d: Sealed1) : Parcelable
fun box() = parcelTest { parcel ->