android - listview怎么实现只可以上拉不能下拉?
黄舟
黄舟 2017-04-17 17:41:09
0
3
567

目前实现了 setOnScrollListener 接口 用于上拉加载更多
但是下拉好像也会进入监听,然后我的footerview在下拉的时候也显示出来了……
怎么才能只监控上拉?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(3)
大家讲道理

http://www.cnblogs.com/tianzh...
But I still recommend recyclerview

左手右手慢动作

Interface judgment gestures that need to be monitored,

刘奇

First of all, let me say a few words. The simplest way to slide up to load more is to control multiple viewTypes in the adapter..
Back to the question, I don’t know if this API provides gesture recognition. If not, I recommend you a good wheel called android observable scroll view
which provides an enhanced version of all scrollable views, plus gesture and status recognition and callbacks. With the interaction of some views, a lot can be achieved Interesting effect.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template