Commit 75a6ce76 authored by (◕ᴥ◕)'s avatar (◕ᴥ◕) Committed by Dylan Vann

Handle null view.glideUrl.

parent 82895486
......@@ -101,6 +101,10 @@ class FastImageViewManager extends SimpleViewManager<FastImageViewWithUrl> imple
public void onDropViewInstance(FastImageViewWithUrl view) {
// This will cancel existing requests.
requestManager.clear(view);
if (view.glideUrl == null) {
super.onDropViewInstance(view);
return;
}
final String key = view.glideUrl.toString();
FastImageOkHttpProgressGlideModule.forget(key);
List<FastImageViewWithUrl> viewsForKey = VIEWS_FOR_URLS.get(key);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment