MultiColorTextView
MultiColorTextView copied to clipboard
setText append new text with previous one
Hello,
Firstly thanks for this beautiful library.
I have tried your library. But found one issue. If I want to set text programmatically using setText for more than one time, it just append new text with previous one. And I solved this issue adding removeAllViews() at the starting of renderText method. I think this is a serious issue. Please fix this at new release.
private fun renderText() { removeAllViews()
................. }
Thanks, Rashed
@ha-yi The issue reversecoder is very easily reproducible when updating the text of the same text view. The solution proposed is also correct.