GithubHelp home page GithubHelp logo

Comments (4)

andansky avatar andansky commented on July 22, 2024

我又研究了一下,发现不是ScrollView的问题。我现在的问题就是进到页面之后一定要切换一次ViewPage,不然直接推到顶的话就拉不下来了,我不知道为什么会有这个问题,你能给点建议吗,可能出现这种情况的原因是什么呢?应该是我写的代码有问题,但是我又找不出原因,所以希望你能指导一下,谢谢。

from scrollablelayout.

w446108264 avatar w446108264 commented on July 22, 2024

暂时没有发现这个问题,你看demo能不能重现你的问题。

如果不能试试分解一个简单的demo,我们来排查一下原因。

from scrollablelayout.

andansky avatar andansky commented on July 22, 2024

你好。现在我是三个页面,一个ScrollView,两个ListView。然后时不时就会出现某个页面推到顶之后无法下拉,要切换到别的页面才能拉下来的情况。但是如果我只显示两个页面就不会出现这种情况。这会是什么原因呢?

from scrollablelayout.

andansky avatar andansky commented on July 22, 2024

终于解决了,设置viewPager.setOffscreenPageLimit(2)就好了。

from scrollablelayout.

Related Issues (19)

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.