Coder Social home page Coder Social logo

关于局部刷新问题 about tangram-ios HOT 7 OPEN

Feeeeeerny avatar Feeeeeerny commented on May 2, 2024
关于局部刷新问题

from tangram-ios.

Comments (7)

HarrisonXi avatar HarrisonXi commented on May 2, 2024

我们配合 Native 代码进行了请求,然后组装了数据,再整体 reload 整张页面。

需要请求的 request 一部分参数是通过 JSON 下发的。

from tangram-ios.

Feeeeeerny avatar Feeeeeerny commented on May 2, 2024

体验上完全看不出reload了整张页面呢哈哈哈,感觉只是reload了该卡片。

from tangram-ios.

HarrisonXi avatar HarrisonXi commented on May 2, 2024

是啊,毕竟上面的内容和 offsetX 其实都没变

from tangram-ios.

Feeeeeerny avatar Feeeeeerny commented on May 2, 2024

另外我看到是有这个方法的 - (void)reloadLayout:(UIView<TangramLayoutProtocol> *)layout 所以是可以局部刷新布局的把?

from tangram-ios.

HarrisonXi avatar HarrisonXi commented on May 2, 2024

那个逻辑现在需要一些额外的保证才能正常用,上次你好似问过

from tangram-ios.

Feeeeeerny avatar Feeeeeerny commented on May 2, 2024

之前说的是不能局部刷新,不过我今天看到这个api,所以问一下。那我再细看下代码。

from tangram-ios.

yoowei avatar yoowei commented on May 2, 2024

您好,- (void)reloadLayout:(UIView *)layout这个需要什么样的额外的保证才能正常使用呢?

from tangram-ios.

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.