Monday, 10 April 2017

Picasso image not displaying android

on my nodeJS server, i have an image that is displaying on web app however it can not be accesses from the android app using Picasso.

the url from the server is :

https://www.mesannuairesvideos.com/uploads/file-1491574016406.jpg

my code is :

                Picasso.with(getApplicationContext())
                    .load("https://www.mesannuairesvideos.com/uploads/file-1491574016406.jpg")
                    .placeholder(R.drawable.real_madrid_tshirt)
                    .error(R.drawable.ic_profile)
                    .resize(250, 200)
                    .transform(new CircleTransform())
                    .into(imageView);

any help would be appreciated. thanks



via Lina Hammami

No comments:

Post a Comment