Android Open Source - ixming-android-inject On Click Method Inject






From Project

Back to project page ixming-android-inject.

License

The source code is released under:

Apache License

If you think the Android project ixming-android-inject listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.ixming.android.inject.annotation;
/*from  w  w  w .ja v a 2s. co  m*/
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <p>
 * ???????View???????Activity?????????????????????????????
 * </p>
 * <p>
 * ????????????????????????????
 * </p>
 * @author Yin Yong
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface OnClickMethodInject {
  
  /**
   * ??View?ID???View??????????????????
   * 
   * <p>
   * ????????????????????????????<br/>
   * ??????????View???????View??????????Annotation?????ID?View?????<br/>
   * ??????????????null???
   * </p>
   */
  int id();
  
  /**
     * ??????????RootView??????????ID?????
     * ?????????????????????????ID???????
     * <p>
     * ???????????????????
     * </p>
     * <p>
     * <strong>????????</strong>
     * View?????????????????View?????????????<br/>
     * ????????????ListView??????????ID?????parentId??????????
     * ???????????????????
     * </p>
     */
  int parentId() default 0;
  
}




Java Source Code List

org.ixming.android.MainActivity.java
org.ixming.android.inject.InjectConfigure.java
org.ixming.android.inject.InjectorUtils.java
org.ixming.android.inject.ResTargetType.java
org.ixming.android.inject.annotation.OnClickMethodInject.java
org.ixming.android.inject.annotation.ResInject.java
org.ixming.android.inject.annotation.ViewInject.java
org.ixming.android.inject.annotation.ViewOnClickInject.java
org.ixming.android.inject.annotation.package-info.java
org.ixming.android.inject.core.ActivityInjectLoader.java
org.ixming.android.inject.core.BaseInjectLoader.java
org.ixming.android.inject.core.IOnClickListenerInjector.java
org.ixming.android.inject.core.IResInjector.java
org.ixming.android.inject.core.IViewFinder.java
org.ixming.android.inject.core.IViewInjector.java
org.ixming.android.inject.core.InjectLoaderFactory.java
org.ixming.android.inject.core.ResLoader.java
org.ixming.android.inject.core.ViewInjectLoader.java
org.ixming.android.inject.core.WrappedViewFinder.java
org.ixming.android.inject.themed.ThemedInjectConfigure.java
org.ixming.android.inject.themed.ThemedInjectorUtils.java
org.ixming.android.inject.themed.ThemedResInject.java
org.ixming.android.inject.themed.package-info.java
org.ixming.android.inject.package-info.java