for example I just wrote a model and want to have ...
# announcements
d
for example I just wrote a model and want to have an image representation of that model to set it on my ImageView (android). I ended up with
fun Model.getImage() { ... }
as extension method because the model doesnt really know about its image representation and I want to reuse that class serverside where it has no imagerepresentation at all