开发者

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

I need to display in scrollable TextView really large amount of text (up to several megabytes). It's pretty clear that one n开发者_JS百科eed to somehow chunk text and display it slice by slice. The only question how to do it technically. Anyone can advise?


You have several options,

Chunk it in a list.

Chunk it by chapter and display over several activitys.

Display this list one item at a time with a next button.

Have a buffer and remove off the beginning as it is scrolled past the screen and add to the end as it is approaching the screen,

Really is your choice, come back when there's a problem with that choice ;-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜