Async MultiPart request doesn't work
javieranton-zz opened this issue · comments
Just found out now, can't believe I hadn't caught this earlier
The following code works when using NetworkManager.getInstance().addToQueueAndWait(request);
, but not when using NetworkManager.getInstance().addToQueueAsync(request);
or NetworkManager.getInstance().addToQueue(request);
MultipartRequest request = new MultipartRequest() {
@Override
protected void handleErrorResponseCode(int code, String message) {
}
@Override
protected void handleException(Exception err) {
}
};
NetworkManager.getInstance().addToQueueAsync(request);//breaks here
My bad, pls ignore