Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

RichText

> 前端框架
Open source

Rich text parser on the Android platform, supporting HTML and Markdown

4.0K stars0 likes2 views
WebsiteGitHub

About

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

effect

# the method quoted in # gladle

` Zhoujay.richtext:richtext:latest-version' `

With the new Html solver

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)

About the issue

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.

Watch out

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); `

How to use

[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)

About custom Html solvers

Html solver sub-project: [Html] (https://GitHub.com/zzhoujay/Htm)

About Markdown

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.

About Rich Text Editor

Editor development has been suspended, [RichEditor] (https://GitHub.com/zzhoujay/RichEditor)

# For specific use, see demo

[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)

License

` I don't know. `

ZZhoujay

Issues· 136 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaandroidgifhtmlhtml-markdown

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架