Hi! I just launched Kotlin Kōans, an app to help d...
# android
v
Hi! I just launched Kotlin Kōans, an app to help developers learn Kotlin through a series of 40+ short coding challenges (credits for the content go to Jetbrains). If you're in the process of learning Kotlin, take a look! Play store: https://play.google.com/store/apps/details?id=me.vickychijwani.kotlinkoans Demo: http://i.imgur.com/UTmcU39.gifv Code: https://github.com/vickychijwani/kotlin-koans-android Feedback is welcome 🙂
👏 15
k
Looks awesome. Could you summarize how it works? How do you do the code highlighting, the code running, etc?
v
Hey @kirillrakhman
The code highlighting is done in a WebView via CodeFlask: https://github.com/kazzkiq/CodeFlask.js/
To run the code I'm calling out to the same API used by Kotlin Koans on the web: https://try.kotlinlang.org
That is also where I'm downloading the challenge description, code, etc. from
Let me know if you have any other questions. Btw I've included a Github link above - feel free to dig into the code of course! 🙂
k
Thanks. I'm on mobile, that's why I'm asking.
Btw the UI looks really slick
v
Thanks 😄. Yes, I am a bit of a UI nut 😛
v
Nice! But too much stuffs in the navigation drawer . 🙂
v
@vivekneel well, that's just the list of challenges 😄. Do you have any suggestions in mind? 🙂
v
@vickyc how about making each category item
intro
,
collections
etc as expandable with some cool animation when it's expanded 😎
v
@vivekneel Let me see if that's feasible to do with NavigationView from the design support library. I'll also have to see the UX implications of this - thanks!
👍 1
b
Really Nice !!! do you plan on making this openSource ?
k
@bdeg the github repo is linked in the post
👍 1
r
@bdeg look top of post
👍 1