https://kotlinlang.org logo
#android
Title
# android
v

vickyc

06/18/2017, 2:01 PM
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

kirillrakhman

06/18/2017, 2:38 PM
Looks awesome. Could you summarize how it works? How do you do the code highlighting, the code running, etc?
v

vickyc

06/18/2017, 2:39 PM
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

kirillrakhman

06/18/2017, 2:42 PM
Thanks. I'm on mobile, that's why I'm asking.
Btw the UI looks really slick
v

vickyc

06/18/2017, 2:43 PM
Thanks 😄. Yes, I am a bit of a UI nut 😛
v

vivekneel

06/18/2017, 4:04 PM
Nice! But too much stuffs in the navigation drawer . 🙂
v

vickyc

06/18/2017, 4:10 PM
@vivekneel well, that's just the list of challenges 😄. Do you have any suggestions in mind? 🙂
v

vivekneel

06/18/2017, 4:15 PM
@vickyc how about making each category item
intro
,
collections
etc as expandable with some cool animation when it's expanded 😎
v

vickyc

06/18/2017, 4:28 PM
@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

bdeg

06/18/2017, 8:55 PM
Really Nice !!! do you plan on making this openSource ?
k

kirillrakhman

06/18/2017, 8:57 PM
@bdeg the github repo is linked in the post
👍 1
r

radityagumay

06/18/2017, 9:57 PM
@bdeg look top of post
👍 1