use application context to avoid deallocated view error when split screen on android
This commit is contained in:
parent
f2d96719ac
commit
8859f63041
|
@ -140,7 +140,7 @@ class FastImageViewManager extends SimpleViewManager<ImageViewWithUrl> implement
|
|||
eventEmitter.receiveEvent(viewId, REACT_ON_LOAD_START_EVENT, new WritableNativeMap());
|
||||
|
||||
Glide
|
||||
.with(view.getContext())
|
||||
.with(view.getContext().getApplicationContext())
|
||||
.load(glideUrl)
|
||||
.priority(priority)
|
||||
.placeholder(TRANSPARENT_DRAWABLE)
|
||||
|
|
Loading…
Reference in New Issue