Coder Social home page Coder Social logo

android-animatepulltorefreshlistview's Introduction

#AnimatePullToRefresh

这是一个各种下拉刷新动画的合集.项目是基于chrisbanes的PullToRefresh完成的。

#吃包子动画

一个变拉边吃的listview, 动画师由多张图片切换完成的,模仿“大众点评”

###使用方法

使用默认的chrisbanes的PullToRefresh即可.

#自定义GIF动画

使用自己的gif文件作为动画。

使用方法

  1. 把gif文件放到asset文件夹下.
  2. 配置xml文件,加入gif文件名.
    <com.handmark.pulltorefresh.library.PullToRefreshListView
        android:id="@+id/pull_to_refresh_listview"
        android:layout_height="fill_parent"
        android:layout_width="fill_parent"
        android:divider="@null"
        ptr:ptrAnimationStyle="gif"
        ptr:ptrMode="pullFromStart"
        ptr:ptrGifAsset="squirrel.gif"
        />

#TODO

添加更多动画

android-animatepulltorefreshlistview's People

Contributors

ufo22940268 avatar

Watchers

 avatar

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.