AndroidX : Parcelable Encountered IOException Writing Serializable Object Only In Android Version 10 Devices


Answer :

Here Is Your Solution :

transient is a variables modifier used in serialization. At the time of serialization, if we don't want to save value of a particular variable in a file, then we use transient keyword. When JVM comes across transient keyword, it ignores original value of the variable and save default value of that variable data type.

So, it uses quite rare in order to say to your compiler that this variable is not a part of serializable mathod.


Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy