convert html to spannable

  1. Marcos Alves

    Android Code Snippet Spannable Text to HTML

    Recently I faced a problem involving spannable text where I needed to store an EditText content and later restore in a new View on screen. It is a hard job as you can't store a formatted spannable text in a database or in a flat text. The solution is to convert the EditText content to html ...