android - 关于ListView内存溢出的疑问
高洛峰
高洛峰 2017-04-17 14:57:21
0
5
874
高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(5)
黄舟

It is indeed possible if you keep loading, but it is difficult for human operations to reach the point where it overflows. When there is a lot of data, the operation will start to get stuck. At that time, it will be harder for you to scroll down and continue loading. Also, maybe someone has limited the function, loading up to 1,000 items, and 1,000 items is enough for you to play.

Peter_Zhu

Calling list.clear(); method after each slide can release memory

洪涛

Generally speaking, if it is simple text information, user information, ID, etc., it is more difficult to have memory overflow problems, unless you slide for a long, long, long, long time.
The key is the image. Bitmap uses a loader to control the memory and automatically recycle it. This is the main cause of OOM.

阿神

By the way, the Android version of Sina Weibo is mainly packaged by the web interface

阿神

View recycling, overflow is unlikely.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template