Code example for View

0
  @InjectView(1) View thing1; 
  @Optional @InjectView(2) View thing2; 
 
  @Override public View findViewById(int id) { 
    if (HAS_ONE && id == 1) { 
      return new View(this); 
    } 
    return null; 
  } 
}