Comments (4)
- 自动调用下拉刷新的时候会缩进去一部分,这个问题你可以参考一下Demo实现,如果还有问题的话,可以详细描述一下问题或者私聊我
- DZNEmptyDataSet问题,这个是不是它的内部对scrollView做了什么操作呢?没用过这个
from ltscrollview.
我看了你实现的层级,DZNEmptyDataSet的问题是因为它显示的大小是根据CollectionView的大小来衡量的,而你用的是ScrollView的Offset来实现的,所以会出现撑开的问题,因为DZNEmptyDataSet的视图是和ScrollView的大小相同的,你的实现能改成下面的CollectionView的高度和下面可以滚动视图区域的高度相同呢?而不是使用contentInset的方式,不然DZNEmptyDataSet是无法使用的。。。。。。
from ltscrollview.
@Ting-coder 这个是需要修改整个实现逻辑的,DZNEmptyDataSet是展示没有内容的时候,给一个占位的吧,建议自己实现一下吧🙂
from ltscrollview.
好的好的,我再试试,感谢你的回答。
from ltscrollview.
Related Issues (20)
- LTSimpleManager 增加方法
- slider可以自定义吗? HOT 1
- 怎么动态修改标题 HOT 1
- 关于collectionViewitem少的时候不能滑动的问题 HOT 1
- 进阶版,刷新在中间的,LTAdvancedManager的怎么动态设置高度
- 设置悬停距离 simpleManager.hoverY = 66 后,滑动到最底部的时候,需要点击2次才有反应 HOT 1
- LTAdvancedManager 调用 scrollToIndex(index: Int)无效 HOT 3
- 控制器比较少的时候,怎样修改从左边开始排列 HOT 1
- - (void)glt_refreshScrollView:(UIScrollView *)scrollView :(NSInteger)index 使用scrollView 子控制器全部不能释放
- 和FDFullscreenPopGesture 返回手势冲突。如果用了FDFullscreenPopGesture点下层控制器无效。
- LTPageView中的scrollview的frame有问题吧,怎么y是从0开始的, HOT 1
- IOS15系统上部分机型出现滚动bug HOT 1
- OC版本3.0的demo中运行有问题,找不到一些属性了。第一次用并不熟悉! HOT 1
- 刷新在中间的情况下,在se2机型下,header高度设置小数会有丢经的情况,导致下拉刷新回弹不上去 HOT 1
- LTLayout的字体颜色初始化之后就不能修改了? 我想在初始化后动态修改字体颜色怎么办? HOT 1
- 希望layout新增内边距 HOT 1
- Xcode 14.1 pod下来会报#error unsupported Swift architecture HOT 1
- glt_scrollView = tableView无效果 HOT 1
- simpleManager下左滑返回手势失效,这个还是挺影响体检的,希望可以修复
- _notifyDidScroll私有方法无法使用,求解决方案 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltscrollview.