Images not being cached locally (using Universal Image Loader) - slow image load times

后端 未结 4 621
被撕碎了的回忆
被撕碎了的回忆 2020-12-14 12:26

Description of the problem: I\'m creating a scrollable list of articles with thumbnails that\'s populated by my SQLite database. In general, it\'s \"workin

4条回答
  •  独厮守ぢ
    2020-12-14 12:52

    An alternate solution is "RemoteImageView" from the ignition open source project.

    http://kaeppler.github.com/ignition-docs/ignition-core/apidocs/com/github/ignition/core/widgets/RemoteImageView.html

    Effectively, RemoteImageView extends ImageView and does all the fetching/caching for you behind the scenes.

    While it doesn't necessarily solve your problem you listed, it might be worth investigating as an alternate solution.

    EDIT: I would highly recommend Picasso if you're still in need of a remote image solution. I've replaced RemoteImageView in my applications with Picasso: http://square.github.io/picasso/

提交回复
热议问题