dinuscxj / RecyclerRefreshLayout

A pull to refresh layout for android, the RecyclerRefreshLayout is based on the SwipeRefreshLayout. support all the views, highly customizable, code simplicity, etc. really a practical RefreshLayout!
1.67k stars 253 forks source link

不能像SwipeRefreshLayout一样主动把刷新效果post出来吗 #8

Closed junchenChow closed 8 years ago

junchenChow commented 8 years ago
像这样 mRecyclerRefreshLayout.post(new Runnable() {
                @Override
                public void run() {
                    mRecyclerRefreshLayout.setRefreshing(true);
                }
            });
dinuscxj commented 8 years ago

这个是个bug 这个函数计算的有bug 这个函数 有点问题 computeAnimateToRefreshingDuration(float from) 稍后我会修复一下

dinuscxj commented 8 years ago

@junchenChow master的代码已经修复, 测试通过了! 明天会更新gradle dependecies 到2.0.1