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.
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.