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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -