Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Text display method and device

A display method and text technology, applied in the computer field, can solve the problems of insufficient memory, low efficiency, slow reading speed, etc., and achieve the effect of avoiding insufficient memory and high efficiency

Active Publication Date: 2019-11-05
深圳市原点参数信息技术有限公司
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, it is found that the prior art has at least the following problems: because when the file is large, no matter whether the file content is read into the string or the string data is displayed through the TextView control, it will directly cause memory loss. insufficient
Also, it can lead to very slow reads
Therefore, it is very inefficient when the text is displayed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Text display method and device
  • Text display method and device
  • Text display method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0020] With the popularity of mobile terminals, reading text on the mobile terminal is an important habit of people using the mobile terminal. Therefore, the display of text on the terminal is an important technical issue. The existing text display method is mainly to directly load the content to be displayed into the string through file reading, and then display all the data in the string on the interface through the Textview control. Because when the file is large, whether it is reading the file content into a string or displaying the string data through the TextView control will directly lead to insufficient memory. In addition, it will cause the reading speed to be v...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a text display method and device, and belongs to the technical field of a computer. The method comprises the steps of loading a preset number of TextView controls by a ListView control; acquiring page data corresponding to each TextView control; and displaying a text according to the preset number of TextView controls and the corresponding page data. According to the method, the page data corresponding to each TextView control is acquired through loading the preset number of TextView controls by the ListView control, and the text is displayed according to the preset number of TextView controls and the corresponding page data. The text is displayed by a plurality of TextView controls under the ListView control, and thus, the problem of relatively slow loading speed during loading too many texts by the TextView control is solved; moreover, text data is displayed based on the ListView control, a part of data in a screen is loaded every time when the text data is loaded, and thus, the problem of memory insufficient caused by loading too much data is prevented; and therefore, the text display efficiency is relatively high.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, to a text display method and device. Background technique [0002] With the popularity of mobile terminals, reading text on the mobile terminal is an important habit of people using the mobile terminal. Therefore, the display of text on the terminal is an important technical issue. The existing text display method is mainly to directly load the content to be displayed into the string through file reading, and then display all the data in the string on the interface through the Textview control. [0003] In the process of realizing the present invention, it is found that the prior art has at least the following problems: because when the file is large, no matter whether the file content is read into the string or the string data is displayed through the TextView control, it will directly cause memory loss. insufficient. In addition, it will cause the reading spe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/14
CPCG06F3/147
Inventor 刘一琛
Owner 深圳市原点参数信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products