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

Image, not shape, supplied from url/online? #17

Open power7714 opened 8 years ago

power7714 commented 8 years ago

@MostafaGazar

I would like to know if it is possible to combine this with the Volley NetworkImageView to give a custom shape to images being provided from a remote database.

The reason is that I have a listview that recieves its content from a remote database and I need each image in the list(icons) to retain the shape defined in the xml with ShapeImageView. Any thoughts on how this could be done?

I'm not very educated with Java programming so I'm terrible at trying to create this but this is what I tried combining a modified version of CustomShapeImageView with NetworkImageView. Didn't exactly work like it did in my head. :/ Matter of fact it didn't work at all. Here's the link:

ShapedNetworkImage test