ablake / kotlin-news-for-android

A simple Android app for browsing Kotlin news, meant to demonstrate architectural principles and implement core functionality applicable to most apps.
Apache License 2.0
0 stars 0 forks source link

Implement Parcelable fully for all subclasses #9

Open ablake opened 4 years ago

ablake commented 4 years ago

Some implementations of Parcelable simply return 0 from describeContents() and return an arrayOfNulls() from Creator.newArray(). These methods should be implemented for the sake of correctness and in case we need them in the future.