-
Notifications
You must be signed in to change notification settings - Fork 548
Open
Description
I want to be able to stop all images that are loading.
I tried the following but it has no effect
for (int i = 0; i < cbList.size(); i++) {
BitmapAjaxCallback cb = cbList.get(i);
try {
if (cb != null) {
cbList.remove(i);
System.out.println("aborting " + cb.getUrl());
cb.abort();;
}
} catch (Exception e) {
e.printStackTrace();
}
}
Looking at the code it seems like BitmapAjaxCallback.clearTasks() would do the job but it is not exposed. it is a protected method.
How can I stop all images loading?
Metadata
Metadata
Assignees
Labels
No labels