表视图中的多个钛进度条用于同时上传?
我正在尝试在表视图中显示多个 xhr 发送的进度。这是我第一次尝试表视图(由于某种原因它也没有滚动),我无法找出将条形图连接到 onsendstream 的适当方法。我也感谢对我的其余代码的任何评论。
I am trying to display the progress of multiple xhr sends in a table view. This is my first shot at a table view (which also is not scrolling for some reason), and I can't figure out the appropriate way to connect the bars to the onsendstream. I appreciate any comments on the rest of my code as well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我并不声称多个同时 XHR 是稳定的,但它在模拟器中对我有用。这个问题更多地涉及特定的 UI 任务XHR 是否异步排队,但我感谢任何有关代码质量或最佳实践的反馈。这是我得出的解决方案。
I don't claim that multiple simultaneous XHRs are stable, but it is working for me in the simulator. This question was more about the specific UI task whether or not the XHRs are asynchronously queued, but I appreciate any feedback about code quality or best practices. Here is the solution that I arrived at.