-
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 #35 from chenenyu/dev
1.2.1
- Loading branch information
Showing
15 changed files
with
161 additions
and
74 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
12 changes: 12 additions & 0 deletions
12
Sample/app/src/main/java/com/chenenyu/router/app/Model.java
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.chenenyu.router.app; | ||
|
||
import java.io.Serializable; | ||
|
||
/** | ||
* Test model. | ||
* <p> | ||
* Created by Enyu Chen on 2017/6/28. | ||
*/ | ||
public class Model implements Serializable { | ||
// empty | ||
} |
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,8 +1,8 @@ | ||
# router gradle plugin version | ||
GRADLE_PLUGIN_VERSION=1.2.0 | ||
GRADLE_PLUGIN_VERSION=1.2.1 | ||
# router library version | ||
ROUTER_VERSION=1.2.0 | ||
ROUTER_VERSION=1.2.1 | ||
# compiler library version | ||
COMPILER_VERSION=1.2.0 | ||
COMPILER_VERSION=1.2.1 | ||
# 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
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
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
17 changes: 17 additions & 0 deletions
17
router/src/main/java/com/chenenyu/router/InterceptorTable.java
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.chenenyu.router; | ||
|
||
import java.util.Map; | ||
|
||
/** | ||
* Interceptor table mapping. | ||
* <p> | ||
* Created by Enyu Chen on 2017/6/30. | ||
*/ | ||
public interface InterceptorTable { | ||
/** | ||
* Mapping between name and interceptor. | ||
* | ||
* @param map name -> interceptor. | ||
*/ | ||
void handle(Map<String, Class<? extends RouteInterceptor>> map); | ||
} |
Oops, something went wrong.