redwarp / gifdecoder

An implementation of a gif decoder written 100% in Kotlin, plus an associated Drawable for Android
Apache License 2.0
47 stars 6 forks source link

Replace Result with kotlin.Result #17

Closed redwarp closed 2 years ago

redwarp commented 2 years ago

Replace self made Result class with the official kotlin.Result, now out of unstable. Also consolidate the API to use Result everywhere, instead of relying on returning null in case of error.