genious7 / FanFictionReader

An android app that improves browsing Fan Fiction stories on a mobile device
GNU General Public License v3.0
56 stars 24 forks source link

Text selection does not work occasionally #59

Open orionlee opened 5 years ago

orionlee commented 5 years ago

This is a follow-up on #36 .

After #36 is resolved, text selection works most of the time, but not always.

At times, selection on certain paragraphs will not work.

orionlee commented 5 years ago

Diagnosis:

The conclusion is reached after eliminating a few other sources:

  1. replace the custom JellyBeanSpanFixTextView with platform's TextView: no change.
  2. replace the custom html-to-span parsing HtmlParser.fromHtml with platform's Html.fromHtml: no change.
  3. remove splitting (i.e., entire chapter html in one big span): text selection works consistently.