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:

RichTextView

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
Software Engineer and Android development enthusiast.

Breaking the Buzzwords Barrier Part 3: ViewModel

Explains what a ViewModel means in both MVVM and Android contexts. Continue reading