-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from chenenyu/dev
1.2.2
- Loading branch information
Showing
6 changed files
with
102 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,94 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:id="@+id/activity_main" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" | ||
android:padding="16dp" | ||
tools:context=".MainActivity"> | ||
android:layout_height="match_parent"> | ||
|
||
<EditText | ||
android:id="@+id/edit_route" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:hint="路由地址" | ||
android:minWidth="300dp" /> | ||
<LinearLayout | ||
android:id="@+id/activity_main" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" | ||
android:padding="16dp" | ||
tools:context=".MainActivity"> | ||
|
||
<Button | ||
android:id="@+id/btn0" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="跳转到" /> | ||
<EditText | ||
android:id="@+id/edit_route" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:hint="路由地址" | ||
android:minWidth="300dp" /> | ||
|
||
<Button | ||
android:id="@+id/btn1" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="https://m.baidu.com" /> | ||
<Button | ||
android:id="@+id/btn0" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="跳转到" /> | ||
|
||
<Button | ||
android:id="@+id/btn2" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="@string/dynamic_route" /> | ||
<Button | ||
android:id="@+id/btn1" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="https://m.baidu.com" /> | ||
|
||
<Button | ||
android:id="@+id/btn3" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="startActivityForResult" /> | ||
<Button | ||
android:id="@+id/btn2" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="@string/dynamic_route" /> | ||
|
||
<Button | ||
android:id="@+id/btn4" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="测试网页链接" /> | ||
<Button | ||
android:id="@+id/btn3" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="startActivityForResult" /> | ||
|
||
<Button | ||
android:id="@+id/btn5" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="隐式跳转" /> | ||
<Button | ||
android:id="@+id/btn4" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="测试网页链接" /> | ||
|
||
<Button | ||
android:id="@+id/btn6" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="http://example.com/user?id=9527&status=success" /> | ||
<Button | ||
android:id="@+id/btn5" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="隐式跳转" /> | ||
|
||
<Button | ||
android:id="@+id/btn7" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="打开module1" /> | ||
<Button | ||
android:id="@+id/btn6" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="http://example.com/user?id=9527&status=success" /> | ||
|
||
<Button | ||
android:id="@+id/btn8" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="打开module2" /> | ||
<Button | ||
android:id="@+id/btn7" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="打开module1" /> | ||
|
||
<Button | ||
android:id="@+id/btn9" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="测试自定义拦截器" /> | ||
<Button | ||
android:id="@+id/btn8" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="打开module2" /> | ||
|
||
</LinearLayout> | ||
<Button | ||
android:id="@+id/btn9" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="onClick" | ||
android:text="测试自定义拦截器" /> | ||
|
||
</LinearLayout> | ||
|
||
</ScrollView> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# router gradle plugin version | ||
GRADLE_PLUGIN_VERSION=1.2.1 | ||
GRADLE_PLUGIN_VERSION=1.2.2 | ||
# router library version | ||
ROUTER_VERSION=1.2.1 | ||
ROUTER_VERSION=1.2.2 | ||
# compiler library version | ||
COMPILER_VERSION=1.2.1 | ||
COMPILER_VERSION=1.2.2 | ||
# annotation library version | ||
ANNOTATION_VERSION=0.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters