Error including Android-DirectionalViewPager .jar in Eclipse

后端 未结 3 1716
南方客
南方客 2020-12-01 08:36

I am trying to implement vertical swiping in my app. (Its just like the swiping with ViewPager, but vertically).

I found Jake Whartons library Android-DirectionalVie

3条回答
  •  既然无缘
    2020-12-01 09:15

    Update (Feb 1st 14): This library is a really good alternative. I'm currently using it in my project and it's working flawlessly. It's still being maintained and it's a very close modification of the standard ViewPager from support lib r19. Another advantage is, that you can easily integrate and resolve it via maven central, if you're using gradle.

    https://github.com/castorflex/VerticalViewPager


    Thanks to Oleg Vaskevich, I was able to compile a new and working directionalViewpager jar-file from the current git files and oleg's additions/fixes. I can confirm that it's working with the current support-lib v4 r11.

    https://dl.dropbox.com/u/24363935/android-directionalviewpager-1.2.1fixed.jar

    hopefully this will be useful to somebody :)

    to add: I had an IllegalArgumentException in DirectionalViewPager.setAdapter(PagerAdapter adapter){...};. So I've modified and fixed, recompiled and uploaded the new jar.

提交回复
热议问题