V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
RadAsm
V2EX  ›  Android

写了一个支持分页加载的基础 UI 界面,支持 ListView 和 RecyclerView

  •  
  •   RadAsm · Apr 1, 2017 · 14164 views
    This topic created in 3313 days ago, the information mentioned may be changed or developed.

    先上 github 地址: https://github.com/fantianwen/MultiRefreshLoading

    写这个东西,主要是因为现在项目里的分页列表太多了,但是每个写起来又都差不多,所以想想就自己封装了一下,支持 ListView 和 RecyclerView 。

    现在项目里用的就是这个了,没有出过问题的样子。

    但是只是一个基础的组件,加入 item 动画什么的,现在还没有做上去。

    预览一波:

    Multi-refresh Multi-load-more

    用法在下面的 readMe 中有了,我就不赘述了。

    喜欢的同学给个 star 啊。。。😄

    5 replies    2017-04-02 14:57:04 +08:00
    googlebot
        1
    googlebot  
       Apr 1, 2017 via Android
    支持一下
    zl2003cn
        2
    zl2003cn  
       Apr 1, 2017
    大头嫂
    RadAsm
        3
    RadAsm  
    OP
       Apr 2, 2017 via Android
    @zl2003cn 子 Q...
    zl2003cn
        4
    zl2003cn  
       Apr 2, 2017
    @RadAsm 加个微信吧奶团 WOTA (冷漠脸, cmF5b25maXJl
    RadAsm
        5
    RadAsm  
    OP
       Apr 2, 2017 via Android
    @zl2003cn 貌似加不了的说…😂
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3732 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 04:29 · PVG 12:29 · LAX 21:29 · JFK 00:29
    ♥ Do have faith in what you're doing.