url - unable to load image in android using picasso library -


hope doing good,i working on app,in want load image url imageview,i have used picasso lib this,but gives me uncaught exception,i have checked , debugged proper url coming or not , perfect,still facing issue,can me solve this?my code below: code

picasso.with(newprofileactivity.this)                         .load(muser.useravatarpath)                         .into(iv_profile); 

here,"iv_profile" imageview,muser.useravatar path image url.

try

picasso.with(this).load("http://api.androidhive.info/json/movies/1.jpg").placeholder(getresources().getdrawable(r.drawable.ic_launcher)).into(imageviewcenter); 

Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -