MostafaGazar / CustomShapeImageView

A library for supporting custom shaped ImageView(s) using SVGs and paint shapes
http://mostafagazar.github.io/CustomShapeImageView
Apache License 2.0
1.62k stars 425 forks source link

SvgImageView cannot display image from url. #22

Open nguyenquanghai opened 8 years ago

nguyenquanghai commented 8 years ago

<com.meg7.widget.SvgImageView android:id="@+id/iv_avatar" android:layout_width="100dp" android:layout_height="100dp" android:scaleType="centerCrop" app:svg_raw_resource="@raw/avatar" /> i have using Glide to load image from internet. but image cannot display on my UI. please help me to resolve this issues. thanks

Murtowski commented 7 years ago

Use Picasso Picasso.with(getContext()) .load(friend.userAvatarUrl) .noFade() .into(profilePhoto);