Git Product home page Git Product logo

fresco-sample-usage's Introduction

Fresco Sample Usage

中文版 日本語

Introduction

This is an Android demo project created as sample usage for Fresco in detail, which is an awesome image loading library for Android Application.

Project Content

  • Simply load an image
  • Detailed usage, such as ScaleType, Rounded Corner, Circle, Fade Animation, Placeholder, Failure Image, Retry Image, ProgressBar, PressedState Overlay
  • Gif or webPng animation image
  • Litsener of loading
  • Progressive streaming
  • Resize image
  • Postprocessor
  • Usage with ListView
  • Usage with RecyclerView
  • Usage with 3rd-party ImageView, such as PhotoView, SubsamplingSacleImageView, GifDrawable
  • Code snippet

Advantage of Fresco

  • Memory manager
  • Progressive Streaming
  • Gif and webPng support
  • Customizable display of UI
  • Customizable ways of loading

For more info, please go to frescolib.org

Download APK

GitHub Release

Screenshot

01

02

fresco-sample-usage's People

Contributors

kaedea 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

fresco-sample-usage's Issues

MyAdapter case while parent of SimpleDraweeView is <LinearLayout>

https://github.com/kaedea/fresco-sample-usage/blob/master/app/src/main/java/me/kaede/frescosample/RecyclerView/MyAdapter.java

whats is the case if parent of SimpleDraweeView is ?? we will be getting exception for casting different groups
private void updateItemtHeight(int height, View view) { CardView cardView = (CardView) view.findViewById(R.id.cardview); View child = view.findViewById(R.id.draweeview); CardView.LayoutParams layoutParams = (CardView.LayoutParams) child.getLayoutParams(); layoutParams.height = height; cardView.updateViewLayout(child,layoutParams); }

solved by changing layout ! My bad it's just a easy fix

图片太性感

领导以为我在看网站 我X....
我还是下班再看吧

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.