public static enum ButterKnife.Finder extends Enum<ButterKnife.Finder>
Modifier and Type | Method and Description |
---|---|
static <T> T[] |
arrayOf(T... views) |
<T> T |
castParam(Object value,
String from,
int fromPosition,
String to,
int toPosition) |
<T> T |
castView(android.view.View view,
int id,
String who) |
<T> T |
findOptionalView(Object source,
int id,
String who) |
<T> T |
findRequiredView(Object source,
int id,
String who) |
protected abstract android.view.View |
findView(Object source,
int id) |
protected abstract android.content.Context |
getContext(Object source) |
static <T> List<T> |
listOf(T... views) |
static ButterKnife.Finder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ButterKnife.Finder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ButterKnife.Finder VIEW
public static final ButterKnife.Finder ACTIVITY
public static final ButterKnife.Finder DIALOG
public static ButterKnife.Finder[] values()
for (ButterKnife.Finder c : ButterKnife.Finder.values()) System.out.println(c);
public static ButterKnife.Finder valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static <T> T[] arrayOf(T... views)
public static <T> List<T> listOf(T... views)
public <T> T castView(android.view.View view, int id, String who)
public <T> T castParam(Object value, String from, int fromPosition, String to, int toPosition)
protected abstract android.view.View findView(Object source, int id)
protected abstract android.content.Context getContext(Object source)
Copyright © 2013-2015. All Rights Reserved.