title: How to embed/integrate functionality for text formatting at run time in android app?
body: <p>I am creating an Android application for Pets, people can place an ad to sell their pet, so, the user can type the description of the ad. But I want to embed/integrate text format system for the description(for example the user can bold, italic &amp; underline the text, add links, etc) content same as the WordPress application does for example:</p>
  
  <p><a href="https://i.stack.imgur.com/WInL3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WInL3.png" alt="enter image description here"></a></p>
  
  <p>What I did is I decided to use the <code>SpannableString</code> API but during the time when I moved forward in the development I feel this is not the solution, and in fact, it is not the solution to my problem.</p>
  
  <p>I am storing data in the server so, I want to achieve such solution so that the retrieval of data should be exactly formatted as the user did. Is there any library or API for this function or how can we implement such functionality in the android app? Any Idea?</p>
  
  <p>Thanks</p>