[GitHub] incubator-weex pull request #228: + [ios] add feature timer

2017-04-07 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/incubator-weex/pull/228 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the

Re: reply:How to improve the animation in weex

2017-04-07 Thread jerry.s
Hi,Wenhong: If developer want to realize continuous animation in Weex. The usual way is trough call settimeout. when spirit move to assigned address in setting time. then call settimeout. the timer performance is the key point to improve animation performance with the spirit move frequently

[GitHub] incubator-weex pull request #191: * [android] prevent the NullPointerExcepti...

2017-04-07 Thread sospartan
Github user sospartan commented on a diff in the pull request: https://github.com/apache/incubator-weex/pull/191#discussion_r110369848 --- Diff: android/sdk/src/main/java/com/taobao/weex/WXSDKManager.java --- @@ -218,7 +218,11 @@ public static WXSDKManager getInstance() { }

[GitHub] incubator-weex issue #234: * [android] single picker improvement

2017-04-07 Thread weex-bot
Github user weex-bot commented on the issue: https://github.com/apache/incubator-weex/pull/234 Warnings :warning: Potential BREAK CHANGE. Modify public in

How elegant weex support component without view

2017-04-07 Thread 杨胜涛
Dear all, Because there are a lot of business using virtual node which is a component without view. Based on the current implementation on iOS, it can be implemented by the following way. override this method - (void)insertSubview:(WXComponent *)subcomponent atIndex:(NSInteger)index But this

Re: [GitHub] incubator-weex pull request #210: * [ios] the new slider component which is ...

2017-04-07 Thread 刘洪峰(孤剑)
I agree with your opinion. So, I add a component named cycleslider, and keep the original slider component. >From now on we only maintain cycleslider, no longer maintain slider. All new >features are only added to cycleslider. I added an attribute of setting pages to cycle, which is named

Re: reply:How to improve the animation in weex

2017-04-07 Thread Wenhong Wu
since the obvious overhead to change to weex module, it seems direct JS-Binding make sense to any C operations to improve performance :) RequestAnimationFrame was used to coordinate multiple operation/animation in the same page, while setTimeout focusing on specific one, looks they are two

Re: reply:How to improve the animation in weex

2017-04-07 Thread 刘洋(凯冯)
Hi adam, Thank you for yourappreciation. I noticed that there are severalimplementations of setTimeout. the first: setTimeoutNativeas aglobal function It's used in the virtual-DOM diff flush agorithm. the second: Timer module (aka.WXTimerModule) as a Weex Module written in Java It’s used by

[GitHub] incubator-weex pull request #232: replace Java WxTimerModule with C++ setTim...

2017-04-07 Thread lycool
GitHub user lycool opened a pull request: https://github.com/apache/incubator-weex/pull/232 replace Java WxTimerModule with C++ setTimeout/setInterval implementa… replace Java WxTimerModule with C++ setTimeout/setInterval implementation. clear all unhandled