oppia / oppia-android

A free, online & offline learning platform to make quality education accessible for all.
https://www.oppia.org
Apache License 2.0
320 stars 521 forks source link

Introduce custom type - OppiaImage that renders both Bitmaps and Svgs #1039

Open veena14cs opened 4 years ago

veena14cs commented 4 years ago

This issue tracks custom type representation of an OppiaImage (make use of Kotlin's sealed classes) we want one subtype of OppiaImage that corresponds to bitmaps, and a second for SVGs as per the comment in #1020 . To simplify rendering of images, as of now the implementation is separate for bitmap and svg image.

prayutsu commented 3 years ago

Unassigning myself