Instantly share code, notes, and snippets.
Hi! I found this snippet at StackOverflow and were wondering if this snippet is licensed the same as your post there? (CC BY-SA 4.0)
Or you don't care at all and call it public domain/CC0
Sorry, something went wrong.
Hi Permik! Thanks for asking. I'm happy to do whatever you want with this, but a credit would be nice. So I'll release it under CC BY 4.0 :)
I'm still using this code too, so let me know if you can think of any improvements :D
@MachFour with(RowScope) causes a compilation error, and it looks like it's redundant there:
Classifier 'RowScope' does not have a companion object, and thus must be initialized here
Hi @volo-droid, thanks for pointing that out. I hadn't updated the gist in a while, but I've just updated it with the version I'm currently using :)