我在https://github.com/chrisbanes/Android-PullToRefresh中使用PullToRefreshScrollView。
它包括PullDownToRefresh和PullUpToRefresh,但我不需要PullUpToRefresh,因为我得到一个Bottom MenuDrawer;
我猜可能有一个参数来存储源代码中的刷新操作。请帮我解决这个问题
答案 0 :(得分:2)
在项目的README文件中,有以下链接:https://github.com/chrisbanes/Android-PullToRefresh#pull-up-to-refresh
如果要禁用PullUpToRefresh行为,可以调用yourView.setMode(Mode.PULL_FROM_START);
希望这有帮助。