dimanche 19 avril 2015

How to set URL to the image view, using Picasso lybrary, in the fragment


Vote count:

-1




Use Picasso library with activity very simple, but i need do it in fragment.



Picasso.with(getActivity()).load("http://ift.tt/11DoFZL").into(mPicture);


App crashs. I think, the problem with context. Also tried "getActivity().getApplicationContext" but it doesn't work too.



asked 25 secs ago







How to set URL to the image view, using Picasso lybrary, in the fragment

Aucun commentaire:

Enregistrer un commentaire