RichTextView Library Released

As a form of ultimate procrastination this weekend, I decided to spend the last two days developing a RichTextView library.

This weekend I built the RichTextView (the naming convention comes from the RichTextBox C# class) which allows the user to format different parts ofa. TextView in different ways. For example, if I wanted to display a string but only bold a portion of it, I could achieve that with this class.

Formatting a TextView like this is not unheard of, as you can do things such as inject HTML into a TextView or use a SpannableString (which this library uses under the hood). However, I aimed to simplify this process and make it much easier for the user.

Here is a sample of the library in action:


If you’d like to learn more, such as the available methods and how to include this into your next project, please check out the library on GitHub.

Adam McNeilly

Adam McNeilly
Adam is a Google Developer Expert for Android. He's been developing apps since 2015, and travels the world to present and learn from other Android engineers.

Interface Naming Conventions

Many engineers will tell you that one of the most complicated responsibilities of our job is naming things. Variables, classes, functions...… Continue reading