Attila Orosz
1 min readAug 1, 2018

--

Very nice writeup, thank you. There is one thing I’ve not found any way around yet, maybe you could share some insight?

When you have a longer (few thousand words maybe) heavily formatter text, even if constructed on a background thread, when you call `tv.setText(heavilyFormattedSpannedText)` it will block the UI thread, no matter what.

AFAIK, there is no way to do this in another thread, at least partially (like the computing layout bits at least, if not the drawing itself). This severely limits the usability of `TextView`s. Is there any way around this?

--

--

Responses (3)