Parcelable: Use specialized write/create methods where available (KT-20057)
This commit is contained in:
committed by
Yan Zhulanow
parent
f6d7a17227
commit
1b688182cd
Vendored
+7
-1
@@ -7,4 +7,10 @@ import android.os.IBinder
|
||||
import android.os.IInterface
|
||||
|
||||
@Parcelize
|
||||
class User(val binder: IBinder, val intf: IInterface?) : Parcelable
|
||||
class User(
|
||||
val binder: IBinder,
|
||||
val binderArray: Array<IBinder>,
|
||||
val binderList: List<IBinder>,
|
||||
val binderArrayList: ArrayList<IBinder>, // should be serialized using our strategy, not using Parcel.writeBinderList()
|
||||
val intf: IInterface?
|
||||
) : Parcelable
|
||||
Reference in New Issue
Block a user