C chrjak Active Member Licensed User Longtime User Dec 28, 2015 #1 Hey Community, I want to deactivate the overscoll effect of two StdViewPagers. Because it is the same effect like on Scrollviews I tried that method: Code: Copy Dim r As Reflector r.Target = ViewPager r.RunMethod2("setOverScrollMode", 2, "java.lang.int" ) Sadly that doesn't work. The crash is because of: java.lang.NoSuchMethodException: setOverScrollMode [int] Is there maybe another way to deactivate that overscroll? It's important to me to not have that overscroll in my app
Hey Community, I want to deactivate the overscoll effect of two StdViewPagers. Because it is the same effect like on Scrollviews I tried that method: Code: Copy Dim r As Reflector r.Target = ViewPager r.RunMethod2("setOverScrollMode", 2, "java.lang.int" ) Sadly that doesn't work. The crash is because of: java.lang.NoSuchMethodException: setOverScrollMode [int] Is there maybe another way to deactivate that overscroll? It's important to me to not have that overscroll in my app
Erel B4X founder Staff member Licensed User Longtime User Dec 29, 2015 #2 I don't think that it is possible to disable it. Upvote 0
C chrjak Active Member Licensed User Longtime User Dec 30, 2015 #3 I found some Threads that say it is possible. But I ain't a Java Pro. So i didn't understand their doing: e.g.: http://stackoverflow.com/questions/...e-fading-that-a-viewpager-has-scroll-to-edges Object: ViewPager. I think it is the same like stdViewPager!? What do you say? Upvote 0
I found some Threads that say it is possible. But I ain't a Java Pro. So i didn't understand their doing: e.g.: http://stackoverflow.com/questions/...e-fading-that-a-viewpager-has-scroll-to-edges Object: ViewPager. I think it is the same like stdViewPager!? What do you say?
Erel B4X founder Staff member Licensed User Longtime User Dec 30, 2015 #4 It might be possible by creating a different library. Not with StdActionBar library. Upvote 0
C chrjak Active Member Licensed User Longtime User Dec 30, 2015 #5 I thought about that a very long time. Is there maybe a way to do that page scrolling unlimited? When the user is on the last page and scrolls on, that he gets on the first page again? Upvote 0
I thought about that a very long time. Is there maybe a way to do that page scrolling unlimited? When the user is on the last page and scrolls on, that he gets on the first page again?
C chrjak Active Member Licensed User Longtime User Jan 7, 2016 #7 It is. Samsung did it with SHealth V 4.6.1.0007 (on Galaxy S4) APK here: (https://www.dropbox.com/s/dylhzloi6pttqc4/S Health.apk?dl=0). It's on the top on the main page (See screenshot) That would be awesome if that was possible Attachments 20160107_170246.png 217 KB · Views: 602 Upvote 0
It is. Samsung did it with SHealth V 4.6.1.0007 (on Galaxy S4) APK here: (https://www.dropbox.com/s/dylhzloi6pttqc4/S Health.apk?dl=0). It's on the top on the main page (See screenshot) That would be awesome if that was possible
C chrjak Active Member Licensed User Longtime User Jan 10, 2016 #8 I found many many many Threads with answers to the problem. To be honest: I don't understand much of that java things there... Could someone please look over these threads, who knows about java? Or could someone look over the STDViewPager lib later? I am sure the community would appreciate an infinite scrolling function. The answered threads are here: http://stackoverflow.com/questions/13668588/infinite-scrolling-image-viewpager http://stackoverflow.com/questions/7766630/changing-viewpager-to-enable-infinite-page-scrolling http://stackoverflow.com/questions/16938266/viewpager-infinite-scroll http://stackoverflow.com/questions/7440012/infinite-viewpager/ Upvote 0
I found many many many Threads with answers to the problem. To be honest: I don't understand much of that java things there... Could someone please look over these threads, who knows about java? Or could someone look over the STDViewPager lib later? I am sure the community would appreciate an infinite scrolling function. The answered threads are here: http://stackoverflow.com/questions/13668588/infinite-scrolling-image-viewpager http://stackoverflow.com/questions/7766630/changing-viewpager-to-enable-infinite-page-scrolling http://stackoverflow.com/questions/16938266/viewpager-infinite-scroll http://stackoverflow.com/questions/7440012/infinite-viewpager/