How to display really large text (several megabytes) in TextView?

I need to display in a scrollable TextView a very large amount of text (up to several megabytes). It is quite clear that you need to somehow cut off the text and display its slice on the slice. The only question is how to do it technically. Can anyone advise?

+3
source share
1 answer

You have several options,

Put it on the list.

Divide it into sections and display several actions.

Display this list one item at a time using the following button.

Have a buffer and delete it from the very beginning when it scrolls past the screen and adds it to the end when it approaches the screen,

, , , ; -)

0

Source: https://habr.com/ru/post/1784524/


All Articles