GitHub user myeveryheart opened a pull request: https://github.com/apache/incubator-weex/pull/844
[WEEX-99][Android] fix setViewport: sometimes doesn't work [WEEX-99][Android] fix setViewport: sometimes doesn't work. The setViewport method in WXMetaModule is ASYN right now which makes weexInstance.viewportWidth setted after view created. Bug:99 You can merge this pull request into a Git repository by running: $ git pull https://github.com/myeveryheart/incubator-weex WEEX-99-Android-fix-setViewport-sometimes-doesn't-work Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-weex/pull/844.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #844 ---- commit 0fef58ff6883cf5695803adaea955d80d6cd2408 Author: M <myeveryhe...@qq.com> Date: 2017-11-08T06:56:13Z [WEEX-99][Android] fix setViewport: sometimes doesn't work ---- ---