ragnraok / Staticlayoutview
Licence: mit
a pre-render TextView demo
Stars: ✭ 253
Programming Languages
java
68154 projects - #9 most used programming language
StaticLayoutView
a pre-render TextView demo
This demo use StaticLayout to render text in a custom TextView and create the StaticLayout in another thread before enter the UI, and these StaticLayout draw in a dummy canvas which warm up the TextLayoutCache in the system. And these optimization improve the performance of showing complicated text(which may include many spans, emoji) in a ListView
for the detail of this project, please read this post(in chinese): http://ragnraok.github.io/textview-pre-render-research.html
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].