JMPergar / AwesomeText

A tool that facilitates working with Spans on TextViews or any extension of them (EditTexts, Buttons...).
673 stars 74 forks source link

Changing the Text of a Span #8

Open janakagamini opened 9 years ago

janakagamini commented 9 years ago

Any idea how I could replace the text of a span on user interaction?

Example scenario based on the sample app:

User clicks on ChuckNorris and I use the onClick to pop up a list of names, and the user selects a name. I want to replace "ChuckNorris" with the newly selected name.