hi, when im sending serialized data with in intent all data seem to get lost.
Request
activity?.startActivity(Intent(activity, TestAcitvity::class.java).apply {
putExtra("appointment_serialized", it.resource as Serializable)
})
TestActivity:
val ap = b.getSerializable("appointment_serialized") as Appointment
Timber.e("ID=" + ap.id)
Logcat:
ID=null
DOCUMENT=null
What is happening? Appointment is extending Resource
After some research it seem to happen because my Appointment class was also a parcelable using the kotlin library. Not sure why but the issue is fixed.
hi, when im sending serialized data with in intent all data seem to get lost.
Logcat: ID=null DOCUMENT=null
What is happening? Appointment is extending Resource