Giter Site home page Giter Site logo

Comments (4)

gltwy avatar gltwy commented on June 8, 2024

@Ting-coder

  1. 自动调用下拉刷新的时候会缩进去一部分,这个问题你可以参考一下Demo实现,如果还有问题的话,可以详细描述一下问题或者私聊我
  2. DZNEmptyDataSet问题,这个是不是它的内部对scrollView做了什么操作呢?没用过这个

from ltscrollview.

Ting-coder avatar Ting-coder commented on June 8, 2024

我看了你实现的层级,DZNEmptyDataSet的问题是因为它显示的大小是根据CollectionView的大小来衡量的,而你用的是ScrollView的Offset来实现的,所以会出现撑开的问题,因为DZNEmptyDataSet的视图是和ScrollView的大小相同的,你的实现能改成下面的CollectionView的高度和下面可以滚动视图区域的高度相同呢?而不是使用contentInset的方式,不然DZNEmptyDataSet是无法使用的。。。。。。

from ltscrollview.

gltwy avatar gltwy commented on June 8, 2024

@Ting-coder 这个是需要修改整个实现逻辑的,DZNEmptyDataSet是展示没有内容的时候,给一个占位的吧,建议自己实现一下吧🙂

from ltscrollview.

Ting-coder avatar Ting-coder commented on June 8, 2024

好的好的,我再试试,感谢你的回答。

from ltscrollview.

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.