Comments (7)
我们配合 Native 代码进行了请求,然后组装了数据,再整体 reload 整张页面。
需要请求的 request 一部分参数是通过 JSON 下发的。
from tangram-ios.
体验上完全看不出reload了整张页面呢哈哈哈,感觉只是reload了该卡片。
from tangram-ios.
是啊,毕竟上面的内容和 offsetX 其实都没变
from tangram-ios.
另外我看到是有这个方法的 - (void)reloadLayout:(UIView<TangramLayoutProtocol> *)layout
所以是可以局部刷新布局的把?
from tangram-ios.
那个逻辑现在需要一些额外的保证才能正常用,上次你好似问过
from tangram-ios.
之前说的是不能局部刷新,不过我今天看到这个api,所以问一下。那我再细看下代码。
from tangram-ios.
您好,- (void)reloadLayout:(UIView *)layout这个需要什么样的额外的保证才能正常使用呢?
from tangram-ios.
Related Issues (20)
- ios和安卓共用一套json的话怎么设置屏幕Width,一个是750,一个是720的,ios的比例参数在哪设置
- 自动布局怎么计算高度
- xml解析部分存在许多问题,不建议使用
- index返回错乱导致崩溃
- SDWebimage版本依赖问题
- 请问页面下拉刷新功能如何添加? HOT 1
- VirtualView复用时内部布局错乱 HOT 3
- VirtualView组件无法自适应高度 HOT 3
- layout不支持background表达式形式 HOT 1
- 之前的交流群失效了
- TangramLayoutTypeMap在pod中找不到
- 使用GridLayout布局问题
- TangramPageScrollLayout滚动回调怎么设置?
- IOS 12.0 那个悬浮控件的会跟着滚动上下跳动,能否处理一下 HOT 1
- Container可以嵌套Container吗?
- 代码bug HOT 1
- 怎样获得TAC服务端代码,网站的那个介绍没用了
- 文档提供
- 更新版本和点击事件 HOT 1
- 请问ios的能直接动态加载二进制模板数据吗?
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 tangram-ios.