Skip to content

Commit

Permalink
Fix wrong spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
zhi1ong committed Dec 24, 2019
1 parent 7503053 commit 4490fa0
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ proguard/
*.iml
/*.ipr
/*.iws
.project
.classpath

# Eclipse Files
/target
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ version|[![Download](https://api.bintray.com/packages/zhi1ong/maven/arouter-api/
#### IV. Advanced usage
1. Jump via URL
``` java
// Create a new Activity for monitoring Schame events, and then directly pass url to ARouter
public class SchameFilterActivity extends Activity {
// Create a new Activity for monitoring Scheme events, and then directly pass url to ARouter
public class SchemeFilterActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand All @@ -151,8 +151,8 @@ version|[![Download](https://api.bintray.com/packages/zhi1ong/maven/arouter-api/

AndroidManifest.xml
``` xml
<activity android:name=".activity.SchameFilterActivity">
<!-- Schame -->
<activity android:name=".activity.SchemeFilterActivity">
<!-- Scheme -->
<intent-filter>
<data
android:host="m.aliyun.com"
Expand Down
8 changes: 4 additions & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@
#### 四、进阶用法
1. 通过URL跳转
``` java
// 新建一个Activity用于监听Schame事件,之后直接把url传递给ARouter即可
public class SchameFilterActivity extends Activity {
// 新建一个Activity用于监听Scheme事件,之后直接把url传递给ARouter即可
public class SchemeFilterActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand All @@ -154,8 +154,8 @@

AndroidManifest.xml
``` xml
<activity android:name=".activity.SchameFilterActivity">
<!-- Schame -->
<activity android:name=".activity.SchemeFilterActivity">
<!-- Scheme -->
<intent-filter>
<data
android:host="m.aliyun.com"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
android:theme="@style/Base.Theme.AppCompat">
<activity android:name=".SchemeFilterActivity">

<!-- Schame -->
<!-- Scheme -->
<intent-filter>
<data
android:host="m.aliyun.com"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void onInterrupt(Postcard postcard) {
case R.id.navByUrl:
ARouter.getInstance()
.build("/test/webview")
.withString("url", "file:///android_asset/schame-test.html")
.withString("url", "file:///android_asset/scheme-test.html")
.navigation();
break;
case R.id.autoInject:
Expand Down

1 comment on commit 4490fa0

@Goooler
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

叫 typo 就好了

Please sign in to comment.