How to get picasso error description:
Picasso.with(context) .load(getUrl()) .placeholder(R.drawable.user_thumbnail_big) .error(android.R.drawable.ic_dialog_alert) .into(viewModel.userImg);
The callback onError( https://square.imtqy.com/picasso/javadoc/index.html ) method also does not provide any arguments, I get images with errors, t figureout why, logcat also does not work. Added access to the Internet.
onError
Thanks for the help.
EDIT
issue: Picasso library stopped working today with image links on facebook
I had the same problem that I solved:
The global instance listener receives HTTP exceptions for sending reports to the crash reporting service or analytics service.
: https://github.com/square/picasso/issues/379
public class MyClass implements Picasso.Listener { @Override public void onImageLoadFailed(Picasso picasso, Uri uri, Exception exception) { // Display the exception } }
Source: https://habr.com/ru/post/1570151/More articles:Entity Framework automatic migrations do not work - c #Active Admin - filter with has_many association - ruby-on-railsVirtualBox Port Forwarding with Packer - virtualboxYii2 - best practice for embedded resources - phpHow do we create functions that return multiple values โโin C ++ - c ++typename keyword and nested specifier - c ++Custom Validation Error - c #JavaScript.toggle - does vertical scrollbar rise? - javascriptHow to remove the environment from the project? - ibm-mobilefirstHow can I get the latest version of Microsoft Build Tools 2013 on my build server? - visual-studio-2013All Articles