https://github.com/spongebobsun/circleimageview
Lightweight ImageLoadLibrary Compatible Circle ImageView
https://github.com/spongebobsun/circleimageview
Last synced: over 1 year ago
JSON representation
Lightweight ImageLoadLibrary Compatible Circle ImageView
- Host: GitHub
- URL: https://github.com/spongebobsun/circleimageview
- Owner: SpongeBobSun
- Created: 2015-07-02T09:07:49.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-27T06:09:22.000Z (almost 11 years ago)
- Last Synced: 2025-01-20T23:48:45.572Z (over 1 year ago)
- Language: Java
- Size: 277 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#CircileImageView
CircleImageView is a circle image view (that's nonsense).
It's a lightweight widget and compatible with other image loading libraries, like ImageLoader & DummyPicLoader (Oh my beloved DPL).
##Usage
###Use it directly in a XML layout file.
###Use it in Java code and load image with DPL.
DummyPicLoader.getInstance(this).loadImageFromUri("android.resource://sun.bob.circleimageviewtest/"+R.drawable.test,
(ImageView)findViewById(R.id.id_circleview1));
DummyPicLoader.getInstance(this).loadImageFromUrl("http://www.themoviethemesong.com/wp-content/uploads/2014/05/Futurama-1.png"
,(ImageView)findViewById(R.id.id_circleview2));
##Is it safe?
It's safe when using image loaders mentioned above.
It MAY cause an OOM if you specify a big image WITHOUT any image loaders to it.