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