I am creating an Intent and using putExtras I am adding an entity data which looks right but in onActivityResult(), some of the data is not received
Intent code:
Thanks R
Update
When passing a Parcelable
value through an Intent
causes some of the information in that object to "disappear", the problem is almost always in the parceling/unparceling code of that class. Double-check to make sure that you're correctly saving and restoring all fields.
In your posted code for SetFilterEntity
, there is only one constructor: the one that takes a Parcel
. Simply add the default constructor to this class:
public SetFilterEntity() {
// init values or just leave them default
}