Coder Social home page Coder Social logo

Comments (8)

tommybuonomo avatar tommybuonomo commented on July 26, 2024

Hi @KohFujimura,
How many items do you have in your case? I can't reproduce the bug.
Thanks

from dotsindicator.

KohFujimura avatar KohFujimura commented on July 26, 2024

https://drive.google.com/file/d/1lfFzBSNEXKPgqgdLwGZWQJZ8Kr5zddLp/view?usp=sharing

a video for more details :)

from dotsindicator.

tommybuonomo avatar tommybuonomo commented on July 26, 2024

@KohFujimura Can you please try with the last version 4.0 ?

from dotsindicator.

KohFujimura avatar KohFujimura commented on July 26, 2024

i just switch to 4.0 and run the project :
i got this thing https://imge.to/i/vU4FkZ

from dotsindicator.

tommybuonomo avatar tommybuonomo commented on July 26, 2024

@KohFujimura what's about the last version 4.1.1 ?

from dotsindicator.

Nevercom avatar Nevercom commented on July 26, 2024

I've faced this too. In my case, the problem is because of ViewPager.setPageMargin() method.
Whenever i comment that line, everything works fine. but if i set a PageMargin on ViewPager, when i go back to the first fragment, Indicator shows that it's the second.

I'm using the latest 4.1.2 version of the library.

from dotsindicator.

romitarora avatar romitarora commented on July 26, 2024

Thank you so much, @Nevercom .... ViewPager.setPageMargin() this is the only issue, i remove it and everything is working fine now. but what to do if i need some margin to viewpager?

from dotsindicator.

egek92 avatar egek92 commented on July 26, 2024

ViewPager.setPageMargin() causes wrong positioning

from dotsindicator.

Related Issues (20)

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.