Devlight / InfiniteCycleViewPager

Infinite cycle ViewPager with two-way orientation and interactive effect.
Apache License 2.0
5.75k stars 831 forks source link

not smooth #6

Closed xmuSistone closed 8 years ago

xmuSistone commented 8 years ago

Captured images looks wonderful, but when running on genuine android device, its fluency makes me sad. Your idea about displaying pages is creative, however, lacking of fluency is a fatal deficiency. Hope you can optimize it, and make it a great repository.

GIGAMOLE commented 8 years ago

Hello. Thanks for this issue. Its all about android technics and methods. So I has one method bringToFront() and i'll do the best currently. Hope someone provide to me more improved ways to reach this effect on all devices.

xmuSistone commented 8 years ago

I mean fast switching pages is not consistent. BringtoFront should only affect the efficiency in the dragging part, not in the front-view-taking-over part. Later if i can help to improve this, i'll share the key point to u.

GIGAMOLE commented 8 years ago

Thanks.

xmuSistone commented 8 years ago

Hello, i forked this repository, and i have applied a new pull-request just now. I modified the touch event intercept principle by using a detector, this issue Quick swipes easy open browser is solved, and the front-view-switch section looks quite consistent and smooth. If there would help, u can merge the code.