Rich text parser on the Android platform, supporting HTML and Markdown
Rich text parser on the Android platform, supporting HTML and Markdown
#RichText[ ] (https://bintray.com/zzhoujay/maven/richtext/ latestVersion)
Note: this item is no longer maintained
Rich text solver under > Android platform
:: Fluid operation
:: Low intrusiveness
:: Low dependence, only disklucache ' and support v4 '
:: Support for Html and Markdown text
:: Support for photo clicks and long events
:: Link click events and long by events
:: Supports setting up images when loading and loading errors
:: Supports the click echo for custom hyperlinks
:: Support the correction of the width of the picture
:: Support for GIF pictures
:: Supporting Base64 coding, local pictures and Assets catalogue pictures
:: Self-defined photo loader, photo loader
:: Support memory and disk double caches
:: Support for custom Html solver added
` Zhoujay.richtext:richtext:latest-version' `
Just add this dependency and no other operation is required. The new Html solver supplements the function of the original Html solver
` Zhoujay:html:latest-version' `
The new Html solver adds support to the code block, which triggers the click event, through the urlClick ' setting, The parameters for the retort of the code block are code://`open ' Head
Questions with a new Html solver can be mentioned at [https://GitHub.com/zzhoujay/Htm] (https://GitHub.com/zzhoujay/Html)
In the recent past, there has been a rush to process the issue in a timely manner, and there has generally been a time-limited focus on the issue, but time-limited resolution has not been guaranteed.
Welcome to the project.
Call `RichText.initCacheDir()' to set the cache directory before calling RichText first
ImageFixCallback does not have to be on the main line.
Local picture starts with root path \ and Assets directory picture begins with `file:///android asset/ '
Gif image show does not support hardware acceleration. If you want to use Gif picture, turn TextView hardware acceleration first.
` TextView.setLayerType (View.LAYER TYPE SOFTWARE, null); `
[More look wiki] (https://GitHub.com/zzhoujay/RichText/wiki), [More look wiki] (https://GitHub.com/zzhoujay/RichText/wiki), [More look wiki] (https://ZZTERRM5ZZ.com/zzhoujay/RichText/wiki)
Html solver sub-project: [Html] (https://GitHub.com/zzhoujay/Htm)
Markdown originated in sub-project: [Marktown] (https://GitHub.com/zzhoujay/Markdown)
If you find any problems in the Markdown analysis, you can feedback on the project.
Editor development has been suspended, [RichEditor] (https://GitHub.com/zzhoujay/RichEditor)
[ListView Demo] (https://GitHub.com/zzhoujay/richText/blob/master/app/src/main/java/zhou/ListViewActivity.java), [RecyclerView Demo] (https://GitHub.com/zzhoujay/richText/blob/master/app/src/main/java/zhou/demo/RecyclerViewActivity.java) [Gif Demo] (https://GitHub.com/zzhoujay/RichText/blob/master/app/src/main/java/zhou/Demo/GifActivity.java)
` I don't know. `
ZZhoujay
No open issues yet, or sync has not completed.