The Startup
Published in

The Startup

Making Nested Lists with Android Spannables in Kotlin

How do you display a nested list on Android? That sounds simple. After all, it’s just one button in Microsoft Word right? It’s a little bit more than that. It turned out that implementing a nested list on Android requires using low-level string rendering manipulation.

During my summer internship at Shopify, I rewrote their HTML to Android TextView parser. My goals were to…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store