开发者

How to implement onScroll event in ScrollView?

开发者 https://www.devze.com 2023-03-23 08:58 出处:网络
I want to implement scrolling(horizontal) on my custom view which i have set in ScrollView. I have implemented OnGestureListener on that activi开发者_如何学Goty and trying to achieve scrolling using o

I want to implement scrolling(horizontal) on my custom view which i have set in ScrollView. I have implemented OnGestureListener on that activi开发者_如何学Goty and trying to achieve scrolling using onScroll() event. I am getting onScroll event fired and also i am invalidating my view, still not getting scrolling. I am not getting what i am missing here. Is there any other way or any links regarding this will be appreciated. Thanks in advance.


Try these tuto at least for me it worked http://www.androidpeople.com/android-horizontalscrollview-example

0

精彩评论

暂无评论...
验证码 换一张
取 消