markmjw / pullscrollview Goto Github PK
View Code? Open in Web Editor NEW1.仿照新浪微博Android客户端个人中心的ScrollView,下拉背景伸缩回弹效果。 2.ScrollView仿IOS回弹效果。
License: Apache License 2.0
1.仿照新浪微博Android客户端个人中心的ScrollView,下拉背景伸缩回弹效果。 2.ScrollView仿IOS回弹效果。
License: Apache License 2.0
也不算有时候了,也许可以看看是什么原因
建议在MotionEvent.ACTION_MOVE返回默认,在MotionEvent.ACTION_UP返回false,以便事件向下分发。不知是否理解有误,望指导。
能否把对应的类抽出来到一个module中并发布到maven或jcenter作为远程依赖?
感谢LZ开发如此好用的套件,
不知道可否上传到Maven方便开发者导入?
库文件使用GPL V2授权的话,所有使用此库的项目都必须以GPL v2开源,个人认为这种方式欠考虑,可能LGPL或者apache,BSD之类的更好一点.当然,如果只是练习之作的话无所谓.
拖动超出屏幕之后无法进行拖动
@Override
public boolean onInterceptTouchEvent(MotionEvent ev) {
onTouchEvent(ev)
return super.onInterceptTouchEvent(ev);
}
``
在TableLayout中(或者在其他,只要是srcollview的里面控件)任意一项如果加了点击事件,则在那里拖动时,顶上的图会变成一片空白
焦点问题引起的,如果添加点击事件(或者其他能引起焦点的操作),那么这个scrollview就收不到touch down事件,所以照成初始位置计算错误,背景图片就会被移出界面(就是你看到的背景空白),要解决这个方案简单,添加一个标记 在第一次move的时候,计算一次初始位置,解决。欢迎交流哦
white empty space is showing on pull down to scroll view in android 2.3.5. i guess problem is on lower version? is there any particular solution. bdw Nice Work. many many thanks just awesome
PulldownViewActivity在安卓6.0.1上运行,tableRow的点击事件没效果
控件不错,能正常运行,有个小不足:
如果StrechScrollView中的条目不足以超过屏幕时,内容以外的区域可以获得onTouch事件,
但是,内容区域内却无法获得onTouch事件, 但可以触发TableRow的点击事件;
大牛看看如何解决这个问题
At the beginning of entering the PulldownViewActivity, pulling from top to bottom, it's OK, the front view is scrolled out. But, when I pulled the TableLayout to the bottom, then pulled from top to bottom again, the front view would be not scrolled out. Yeah, it's a bug and a trouble.
也不知道你是怎么测试的,我还以为解决了,又下了一遍,高频率的滑动拉伸模块,就会崩溃
可否去掉mEnableTouch,在onTouchEvent的返回值中用isMoving替代mEnableTouch?如理解有误,麻烦指出,感谢
重写scrollview的时候onInterceptTouchEvent是不是还应该再处理下?
下拉图片如何放大啊
当不停的向下拉,头部会多出一块空白,在一直下拉到底,会崩溃,程序
有时滑动的时候背景图片会变白。然后scroll失效
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.