You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by ac...@apache.org on 2018/01/10 11:18:14 UTC
incubator-weex git commit: [android][WEEX-184] Weex Android
Playground Demo Show close #963
Repository: incubator-weex
Updated Branches:
refs/heads/master 3677c4ca6 -> 8604d29ef
[android][WEEX-184] Weex Android Playground Demo Show
close #963
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/8604d29e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/8604d29e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/8604d29e
Branch: refs/heads/master
Commit: 8604d29ef894329413c864711bffe0355704727b
Parents: 3677c4c
Author: jianbai.gbj <ji...@alibaba-inc.com>
Authored: Fri Dec 29 15:53:24 2017 +0800
Committer: acton393 <zh...@gmail.com>
Committed: Wed Jan 10 19:17:11 2018 +0800
----------------------------------------------------------------------
.../app/src/main/java/com/alibaba/weex/IndexActivity.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/8604d29e/android/playground/app/src/main/java/com/alibaba/weex/IndexActivity.java
----------------------------------------------------------------------
diff --git a/android/playground/app/src/main/java/com/alibaba/weex/IndexActivity.java b/android/playground/app/src/main/java/com/alibaba/weex/IndexActivity.java
index 5566c2f..fa14490 100644
--- a/android/playground/app/src/main/java/com/alibaba/weex/IndexActivity.java
+++ b/android/playground/app/src/main/java/com/alibaba/weex/IndexActivity.java
@@ -83,7 +83,7 @@ public class IndexActivity extends AbstractWeexActivity {
}
if (TextUtils.equals(sCurrentIp, DEFAULT_IP)) {
- renderPage(WXFileUtils.loadAsset("index.js", this), getIndexUrl());
+ renderPage(WXFileUtils.loadAsset("vue/index.js", this), getIndexUrl());
} else {
renderPageByURL(getIndexUrl());
}
@@ -94,7 +94,7 @@ public class IndexActivity extends AbstractWeexActivity {
public void onReceive(Context context, Intent intent) {
createWeexInstance();
if (TextUtils.equals(sCurrentIp, DEFAULT_IP)) {
- renderPage(WXFileUtils.loadAsset("index.js", getApplicationContext()), getIndexUrl());
+ renderPage(WXFileUtils.loadAsset("vue/index.js", getApplicationContext()), getIndexUrl());
} else {
renderPageByURL(getIndexUrl());
}