Giter Site home page Giter Site logo

Comments (3)

shenbengit avatar shenbengit commented on May 24, 2024

请提供复现代码及复现经过,我测试1000条数据,未出现你描述的问题。
PagerGridLayoutManager.smoothScrollToNextPager()这个方法只能在RecyclerView静止的时候才有效。

QQ图片20211106163052

from pagergridlayoutmanager.

wayneleo avatar wayneleo commented on May 24, 2024

3排3列 每页9条数据,通过handler发送4秒延迟消息,handleMessage中调用smoothScrollToNextPager实现自动循环滚动,在onPagerIndexSelected回调中判断是最后一页就调用scrollToPagerIndex(0)切换到第一页,如此循环就会出现没法切换

from pagergridlayoutmanager.

shenbengit avatar shenbengit commented on May 24, 2024

1
是这个效果吗?我直接用demo模拟的 ,没复现。
贴一下你的代码吧

from pagergridlayoutmanager.

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.