Coder Social home page Coder Social logo

wingjay / blurimageview Goto Github PK

View Code? Open in Web Editor NEW
1.3K 1.3K 237.0 30.33 MB

BlurImageView, you can load your image progressively like Medium does.First show user a blurry image, At the same time, load the real image, once loaded, replace the blurry one automatically

License: Apache License 2.0

Java 100.00%
android medium stack-blur

blurimageview's People

Contributors

wingjay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blurimageview's Issues

Will this increase the user's data flow ?

I like this view very much ,but I have some problems too.
As there have an extra image to be downloaded ,will this increase data flow usage?How this view resolve this problem ?
I am wondering is there anyway for the client to detect the image info and download as scream ? Not the service return two set images?

虚化imageview的时候会有灰色的轮廓

虚化一个图片的时候效果不错,
但是虚化一个layout的截图的时候效果不好,所有的的imageview,cardview虚化后会有灰色轮廓,而原图上的imageview,cardview是白底的

Scale_type is not working

I have imageview set like this

<com.wingjay.blurimageviewlib.BlurImageView

android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"

android:src="@drawable/grey"

/>

but Image view look like this https://goo.gl/photos/QaF3F8xCe6CfNLRF7 . I tried changing scale programmatically , same thing.

I downloaded your project and changed scale in blur class to fitxy , same thing .

What can be the problem .

Not able to achieve scaleType of CENTER_CROP on BlurImageView

for (int i = 0; i < blurImageView.getChildCount(); i++) {
 if (blurImageView.getChildAt(i) instanceof  ImageView) {
  ((ImageView)blurImageView.getChildAt(i)).setScaleType(ImageView.ScaleType.CENTER_CROP);
 }
}

Scaling the image using above code.
Is there a better way to do it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.