Git Product home page Git Product logo

Comments (8)

pujiaxin33 avatar pujiaxin33 commented on May 25, 2024

1、如果你不想要点击之后,会看到中间的页面。可以直接切换过去,没有中间动画,参考下面:
你可以实现下面的代理方法进行自定义:

- (void)categoryView:(JXCategoryBaseView *)categoryView contentScrollViewTransitionToIndex:(NSInteger)index

具体可以看里面的API注解
2、关于内存问题
参考这个关于视图全部加载问题

from jxpagingview.

FaDeve avatar FaDeve commented on May 25, 2024

from jxpagingview.

pujiaxin33 avatar pujiaxin33 commented on May 25, 2024

是的,中间的item,虽然初始化了,但是没有加载数据,内存消耗不大

from jxpagingview.

FaDeve avatar FaDeve commented on May 25, 2024

from jxpagingview.

pujiaxin33 avatar pujiaxin33 commented on May 25, 2024

1、一个页面你没有去触发的它的加载,它始终只是一个空壳VC。内存消耗不大。
2、如果一个VC加载了,那么你只能让它常驻内存,需要保留状态,用户再次切换过的时候,还是之前的状态。

from jxpagingview.

pujiaxin33 avatar pujiaxin33 commented on May 25, 2024

就是说,最开始VC,就只是一个空的VC,不要在viewdidload里面去加载。而是用户滚动到该页面,或者点击滚动到该页面,才触发加载的逻辑。

from jxpagingview.

pujiaxin33 avatar pujiaxin33 commented on May 25, 2024

实在担心内存问题。目前只有自己改造一下,只有vc真正出现的时候,才去创建它。我们有这么做,是我觉得,内存应该不会是主要问题。

from jxpagingview.

pujiaxin33 avatar pujiaxin33 commented on May 25, 2024

感谢你的反馈,1.0.0版本实现了列表懒加载。等到列表显示的时候,才会真正初始化。欢迎使用最新版本体验!!!

from jxpagingview.

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.