Serializable or Parcelable?
Which is better to use?
It’s more convenient for me to use the Serializable interface, but in many places it has been written that this mechanism works “too slow”.
I did not find any tests for comparison.
The clien / server application, possibly with a widget. The amount of data between different parts of the application may be sufficient.
Has anyone substantively dealt with this issue?
PS
It’s more convenient for me to use the Serializable interface, but in many places it has been written that this mechanism works “too slow”.
I did not find any tests for comparison.
The clien / server application, possibly with a widget. The amount of data between different parts of the application may be sufficient.
Has anyone substantively dealt with this issue?
PS
I had to spend a couple / three hours, grab the minuses, it is not clear why.
To conduct tests and get the result - at the start of a new Activity with the transfer of 1000 objects with 4 fields, the performance increase is 4 times Parcelable in relation to Serializable.
That is what I asked. But no one could tell me this.