ui/src/main/java/com/stanfy/enroscar/views/GUIUtils.java
@SuppressWarnings("unchecked")
  public static <T extends View> T find(final Activity activity, final int id) {
    final View result = activity.findViewById(id);
    return (T)result;
  }
@SuppressWarnings("unchecked")
  public static <T extends View> T find(final Activity activity, final int id) {
    final View result = activity.findViewById(id);
    return (T)result;
  }
Find view by ID.
@param activity activity to search in
@param id view identifier
@param <T> view type
@return view instance, null if nothing was found
@see Activity#findViewById(int)