Skip to content

ImageListener.onResponse is not been called in some cases #209

@forceLain

Description

@forceLain

Steps to repro:

  1. Initialize a basic Volley request queueVolley.newRequestQueue(this)
  2. Initialize ImageLoader with no cache imageLoader = ImageLoader(queue, NoImageCache())
class NoImageCache : ImageLoader.ImageCache {
    override fun getBitmap(url: String?): Bitmap? = null
    override fun putBitmap(url: String?, bitmap: Bitmap?) {}
}
  1. Create list of items using RecyclerView and NetworkImageView as its items. For each image view, use the same URL.
  2. Scroll the list fast

Result:
Some image views are not loading

Sample project: https://github.com/forceLain/VolleyResponseBug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions