Giter Club home page Giter Club logo

loopingviewpager's People

Contributors

emitchel avatar kenilt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

loopingviewpager's Issues

Auto scrolling while touching the view pager

When I touch the screen and drag, the view pager automatically goes to next page by Auto scroller. Maybe auto scroll should be disabled while touching, and enabled again after touching finished.

Problems occupying a "PagerAdapter" class, to support more than one page at a time

Hello, thanks for the library.
I am an Android developer, currently I have a problem when using your library with a class that extends PagerAdapter, my intention is to make a ViewPager that shows 3 pages at the same time, having the same loop effect.
The problem is that I don't get the same behavior from the LoopingViewPager when I have more than one page showing at the same time

To get more than one page showing I use the "getPageWidth" method inside an adapter class that extends from "PagerAdapter"

Captura de Pantalla 2020-09-07 a la(s) 11 18 21

Le agradecería mucho su ayuda para lograr este comportamiento and make this library more dynamic for users.
Thanks!

Set clipToPadding cause the blink

Thank you for your library! But I have one UI bug, when I was set clipToPadding="false" to LoogingViewPager, for showing edges of view. Last view in list render to late and we see some kind of "blink", were it change state from hided to showed.

    <com.kenilt.loopingviewpager.widget.LoopingViewPager
        android:id="@+id/vpPager"
        android:layout_width="match_parent"
        android:layout_height="0dp"
          android:clipToPadding="false"
          android:padding="20dp"
        android:overScrollMode="never"
        app:layout_constraintDimensionRatio="3:2"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

bug swipe

onPageSelected called twice

Hello there,

I've noticed a little issue, when going from last to first and vice versa from first to last page, onPageSelected() method is called twice.

Is there chance to fix this?

Thanks

viewpager starts at last position

the viewpager start at last position, I tried to use setCurrentItem to 0 but the issue still ocures
thank you in advance for your help and best regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.