blongho / worldCountryData

Android library for country flag, currency, and other country information
https://blongho.github.io/worldCountryData/doc/
MIT License
98 stars 35 forks source link

Make class "Country" Serializable #35

Closed fatonhoti closed 2 years ago

fatonhoti commented 2 years ago

The class "Country" is currently not Serializable which causes issues when trying to pass for example an "ArrayList\<Country>" from one activity to another. Making it implement Serializable should fix the issue.

fatonhoti commented 2 years ago

I am closing this pull request with the intention of opening up a similiar one. I have learned that it is more suitable to use the interface "Parcelable" instead of "Serializable" in Android.

blongho commented 2 years ago

Ok @fatonhoti, looking forward to merging your pull request

fatonhoti commented 2 years ago

@blongho See new pull request when you're available.