butterknife
Class Views

java.lang.Object
  extended by butterknife.Views

public class Views
extends Object


Nested Class Summary
static class Views.AnnotationProcessor
           
 
Method Summary
static
<T> T
findById(android.app.Activity activity, int id)
          Simpler version of Activity.findViewById(int) which infers the target type.
static
<T> T
findById(android.view.View view, int id)
          Simpler version of View.findViewById(int) which infers the target type.
static void inject(android.app.Activity activity)
          Inject the specified Activity using the injector generated at compile-time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

inject

public static void inject(android.app.Activity activity)
Inject the specified Activity using the injector generated at compile-time.


findById

public static <T> T findById(android.view.View view,
                             int id)
Simpler version of View.findViewById(int) which infers the target type.


findById

public static <T> T findById(android.app.Activity activity,
                             int id)
Simpler version of Activity.findViewById(int) which infers the target type.



Copyright © 2013 Square, Inc.. All Rights Reserved.