Android Parcelable vs static class

253 views Asked by At

I was having a discussion with another developer and the argument arose that a static class is better then using parcelable when passing data between activities. When i check on this site the recommendation seems to be that parcelable is faster the serializable and the recommended way to send data to another activity but with more boiler plate code. If i had a static class with the info instead is that more efficient or somehow better then using parcelable ? is there a valid argument for this ? To me it seems like bad design to make a static class for this.

0

There are 0 answers