I am getting the below error While trying to Render the Text in the Text view
java.lang.RuntimeException: PARAGRAPH span must start at paragraph boundary (46 follows )
at android.text.SpannableStringInternal.setSpan(SpannableStringInternal.java:161)
at android.text.SpannableStringInternal.copySpans(SpannableStringInternal.java:67)
at android.text.SpannableStringInternal.<init>(SpannableStringInternal.java:42)
at android.text.SpannedString.<init>(SpannedString.java:30)
at android.text.method.ReplacementTransformationMethod.getTransformation(ReplacementTransformationMethod.java:83)
at android.widget.TextView.setText(TextView.java:4436)
at android.widget.TextView.setText(TextView.java:4332)
at android.widget.TextView.setText(TextView.java:4307)
I am calling like
myAsyncTask().execute(source, listDrawable, textView.getContext());
return listDrawable;
}
}, new MyTagHandler());
textView.setText(htmlText);
Can anyone Help me in this to sort the above issue