package io.github.sporklibrary.annotations;

import io.github.sporklibrary.utils.ResourceId;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Bind a View's OnClickListener result.
 *
 * Can be used with classes derived from:
 * <ul>
 *     <li>{@link android.view.View}</li>
 *     <li>{@link android.app.Activity}</li>
 *     <li>{@link android.app.Fragment}</li>
 *     <li>{@link android.support.v4.app.Fragment}</li>
 *     <li>{@link android.support.v7.widget.RecyclerView.ViewHolder}</li>
 * </ul>
 *
 * The value specified is the View id. When not specified, the name of the method will be used to resolve the id's name.
 * For example:<br/>
 * <code>@BindClick void login() {}" would bind to R.id.login</code>
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface BindClick
{
	/**
	 * @return View resource id as defined in R.id.*
	 */
	int value() default ResourceId.sDefaultValue;
}


@@ -761,13 +761,8 @@
 ple:
-%3Cbr/%3E
 %0A * 

fix for javadoc