Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activity支持注解参数的形式接受参数,Fragment待检测 #1

Merged
merged 2 commits into from
Jan 4, 2019

Conversation

wenzhihao123
Copy link
Collaborator

No description provided.

wenzhihao added 2 commits January 4, 2019 18:21
# Conflicts:
#	VoltronBaseApp/VRouterCompiler/src/main/java/com/voltron/router/compiler/Constants.java
@@ -16,4 +16,12 @@ public static EndPointType resolveType(String path) {
public static Postcard.Builder with(Context context) {
return new Postcard.Builder(context);
}

/**
* In general , clz is Activity or Fragment
Copy link
Owner

Choose a reason for hiding this comment

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

change clz to obj; clz is confusing.
/**

  • In general, obj is an instance of an Activity or a Fragment.
    */

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ok , i will change it later

* In general , clz is Activity or Fragment
* @param clz
*/
public static void inject(Object clz){
Copy link
Owner

Choose a reason for hiding this comment

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

space
public static void inject(Object clz) {

@t-gao t-gao merged commit 13c02ff into t-gao:master Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants