WaterDropListView, WaterDropListView,just與iOS一樣

分享于 

2分钟阅读

GitHub

  简体
WaterDropListView,just like the IOS
  • 源代码名称:WaterDropListView
  • 源代码网址:http://www.github.com/THEONE10211024/WaterDropListView
  • WaterDropListView源代码文档
  • WaterDropListView源代码下载
  • Git URL:
    git://www.github.com/THEONE10211024/WaterDropListView.git
    Git Clone代码到本地:
    git clone http://www.github.com/THEONE10211024/WaterDropListView
    Subversion代码到本地:
    $ svn co --depth empty http://www.github.com/THEONE10211024/WaterDropListView
    Checked out revision 1.
    $ cd repo
    $ svn up trunk
    

    #WaterDropListView 功能强大,带有强大的拉刷新和pull-on-loadmore功能 ! ##PreView demo ##Usage 1下载项目
    将它作为一个库放入你的项目中。
    3.use 代码中的"waterdroplistview",就像普通的ListView一样。
    ###Code

    • 将标准 ListView 替换为 medusa.theone.waterdroplistview.view.WaterDropListViewlayout.xml 文件中。
    <medusa.theone.waterdroplistview.view.WaterDropListView
     android:id="@+id/waterdrop_listview"android:layout_width="match_parent"android:layout_height="wrap_content">
    </medusa.theone.waterdroplistview.view.WaterDropListView>

    2.implements 活动或者 fragment 中的WaterDropListView.IWaterDropListViewListener。

    Public classMainActivityextendsActivityimplementsWaterDropListView.IWaterDropListViewListener

    当拖动刷新时,``` public void onRefresh( )

    
    When pulling to load moer,the ```
    
    
    public void onLoadMore()
    
    
    ```will be called 
    
    
    3.Then you can use it just like the ListView. 
    
    
    ##Summary
    
    
    If you have any problem, please let me know! Hope you like it! 
    
    
    [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-WaterDropListView-green.svg?style=flat)](https://android-arsenal.com/details/1/2078)
    
    
    
    

    相关文章