Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samyak2403/circleimageview
https://github.com/samyak2403/circleimageview
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/samyak2403/circleimageview
- Owner: samyak2403
- License: apache-2.0
- Created: 2023-12-17T12:07:14.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-17T12:38:02.000Z (about 1 year ago)
- Last Synced: 2023-12-17T13:27:35.873Z (about 1 year ago)
- Language: Java
- Size: 5.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![](https://jitpack.io/v/OmaPrakash/CircleImageView.svg)](https://jitpack.io/#OmaPrakash/CircleImageView)
![GitHub](https://img.shields.io/github/license/OmaPrakash/CircleImageView)
CircleImageView
- ⚡ If You want to join us than message on Mail
> Note: `-- Apache License 2.0` you can't Publish any Source code without permission.
#
If you like my work and Source Code is really helpful for you, Show Some Love
It uses a BitmapShader and does not:
- create a copy of the original bitmap
- use a clipPath (which is neither hardware accelerated nor anti-aliased)
- use setXfermode to clip the bitmap (which means drawing twice to the canvas)As this is just a custom ImageView and not a custom Drawable or a combination of both, it can be used with all kinds of drawables, i.e. a PicassoDrawable from Picasso or other non-standard drawables (needs some testing though).
## How to:
- gradleAdd the JitPack repository to your build file.
Add this in your root `settings.gradle` file (**not** your module `build.gradle` file):```gradle
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
....
maven { url "https://jitpack.io" }
...
}
}
```Then, add the library to your module `build.gradle`
```gradle
dependencies {
implementation 'com.github.samyak2403:CircleImageView:(letest Release)'
}
``````xml
```
- maven```
jitpack.io
https://jitpack.io
```
```
com.github.samyak2403
CircleImageView
Tag```
### License
```
Copyright 2023 samyakLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```