jrt
jrt
原文地址:https://yuchengkai.cn/docs/cs/dataStruct.html#%E5%AE%9E%E7%8E%B0-4 向上取整和向下取整那部分的代码: `if (node.value === v) return v` 这局应该改为: `if (node.value === v) return node`
原文链接:https://blog.seosiwei.com/detail/37 你好,感谢分享。第一个流程图以及文字描述是不是写错了? “分析:调用vue.getfullname第一次会打印 '-----走了computed 之 getfullname------',即计算属性第一次计算了值,第二次调用时,不会再打印值即直接获取的缓存值,为什么第二次是获得的缓存值呢,因为第二次执行时watcher.dirty=true,就会直接返回watcher.value值”  应该是watcher.dirty=true重新计算,watcher.dirty=false获取缓存吧?
您好,感谢分享 参考“虚拟列表”示例,在使用时发现以下2个问题,希望可以抽空update一下 1. 多次上拉加载更多之后,在“没有更多了”的时候,提示文字位置异常,感觉是下面这段代码设置itemSize的时候,最后一个非status的item高度也被设置为140rpx ``` const total = this.dataManager.get().length; this.dataManager.updateConfig({ itemSize: index => (index === total - 1 ? '140rpx' : '240rpx') }); ``` 2. 多次上拉加载更多之后,在“没有更多了”的时候,继续上拉加载更多操作,会出现多个“没有更多了”提示
@xiaoluYi 一般Component不是会有一个inject()方法吗? Yasuo里的ApplicationComponent未定义inject(),在App.java中只有build,没有inject,这样做有什么特殊的考虑吗? `private void setupInjector() { mApplicationComponent = DaggerApplicationComponent.builder(). applicationModule(new ApplicationModule(this)) .build(); }`
I have issues of out of memory when open jpg image, how to solve this? [INFO] I/dalvikvm-heap: Forcing collection of SoftReferences for 31961104-byte allocation [ERROR] E/dalvikvm-heap: Out of memory on...