You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by mi...@apache.org on 2018/05/03 04:12:06 UTC
incubator-weex git commit: [WEEX-279][android]Weex TemplateList
Component Fix For Loop ++
Repository: incubator-weex
Updated Branches:
refs/heads/master f677f632c -> 3366d33bc
[WEEX-279][android]Weex TemplateList Component Fix For Loop ++
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/3366d33b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/3366d33b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/3366d33b
Branch: refs/heads/master
Commit: 3366d33bccf37184a310344028fdee6708be3791
Parents: f677f63
Author: jianbai.gbj <ji...@alibaba-inc.com>
Authored: Fri Apr 6 21:50:18 2018 +0800
Committer: misakuo <mi...@apache.org>
Committed: Thu May 3 12:11:34 2018 +0800
----------------------------------------------------------------------
.../main/java/com/taobao/weex/ui/component/binding/Statements.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3366d33b/android/sdk/src/main/java/com/taobao/weex/ui/component/binding/Statements.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/component/binding/Statements.java b/android/sdk/src/main/java/com/taobao/weex/ui/component/binding/Statements.java
index 39a2531..0448029 100644
--- a/android/sdk/src/main/java/com/taobao/weex/ui/component/binding/Statements.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/component/binding/Statements.java
@@ -185,6 +185,7 @@ public class Statements {
if(map == null){
key = index;
value = item;
+ index++;
}else{
key = item;
value = map.get(item);