开发者

How to make the non visible part of a Gallery to be null

开发者 https://www.devze.com 2023-03-09 18:43 出处:网络
I have used gal开发者_开发知识库lery widget to display downloaded images.But unfortunately I am running into out of memory situation. So I am trying to null the invisible part of the gallery so that I

I have used gal开发者_开发知识库lery widget to display downloaded images.But unfortunately I am running into out of memory situation. So I am trying to null the invisible part of the gallery so that I can save my memory. Is it possible to hide the non visible parts of the gallery. Any help is appreciated.


Memory Issues is not because of Gallery, its because of adapter I guess that you are using Gallery itself use concept of recycling views that are non visible so its not responsible for out of memory.

What I think is you are creating an adapter of bitmaps and that is what causing errors.

0

精彩评论

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