title: How to get StrikeThrough on a String ? Not a TextView, EditText or a View. But like String a = "my text" and then pass it to SQLite as a String
body: <p>I have this method which works fine for an EditText or a view.</p>
  <pre><code>public SpannableString strikeThrough(String txt){
  
      SpannableString spannableString = new SpannableString(txt);
      StrikethroughSpan strikethroughSpan = new StrikethroughSpan();
      spannableString.setSpan(strikethroughSpan,0, txt.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
      return spannableString;
  
  }
  
   EditText etChecklistItem = checklistView.findViewById(R.id.et_checklist_item);
   etChecklistItem.setText(strikeThrough(etChecklistItem.getText().toString()));
  </code></pre>
  <p>But my problem is after that, the text doesn't have StrikeThrough.</p>
  <pre><code> StringBuilder stringBuilderItem = new StringBuilder();
              for( String list : itemslist) {
                  stringBuilderItem.append(list);
                  stringBuilderItem.append(&quot;\n&quot;);
              }
  
    String text = stringBuilderItem.toString();
    strikeThrough(text);
   dbHelper.insertChecklist(text);
  </code></pre>
  <p>When I get the data in RecyclerView, it would not be in Strikethrough.</p>