Closed disparate closed 5 years ago
Yeah, definitely it should do that. I'll see if I can get some time to add this but you're free to submit a PR if you can.
Have a look pls. https://github.com/KeenenCharles/AndroidUnplash/pull/13
Version 1.0.4 is up now with your changes
Currently there is no option to get a callback for 404 error.
Maybe we should invoke listener.onError(statusCode) if it's not 200?