hope you are doing good,I am working on an app,In that i want to load an image from url into an imageView,I have used Picasso lib for this,But it gives me uncaught exception,I have checked and debugged for is proper url is coming or not and its perfect,Still i am facing this issue,Can anybody help me to solve this?my code is as below: code
Picasso.with(NewProfileActivity.this)
.load(mUser.userAvatarPath)
.into(iv_profile);
here,"iv_profile" is imageView,mUser.userAvatar Path is image url.
try this
Picasso.with(this).load("http://api.androidhive.info/json/movies/1.jpg").placeholder(getResources().getDrawable(R.drawable.ic_launcher)).into(imageViewCenter);