patzly / tack-android

A beautiful metronome for Android with a powerful Wear OS integration
https://patrickzedler.com/tack/
107 stars 4 forks source link

BadParcelableException #5

Closed patzly closed 3 years ago

patzly commented 3 years ago
Parcel.readParcelableCreator
java.lang.RuntimeException:
Caused by: android.os.BadParcelableException
patzly commented 3 years ago

Anywhere on saving/restoring instance state (maybe custom view?)

patzly commented 3 years ago

The constructors were bad (linked to itself) and unnecessary (only xml constructor needed). Hopefully this fixed it. A custom view constructor has to call super(Context, Attr), not this(Context...)!