title: Use putExtra with int (Android)
body: <p>I'm developing a calendar :</p>
  
  <pre><code>public class CalendarAdapter extends BaseAdapter {
  
  private final int EXTRA_DAY = 0;
  private final int EXTRA_MONTH = 0;
  private final int EXTRA_YEAR= 0;
  
  public View getView(int position, View view, ViewGroup parent) {
  
  Intent intent = new Intent(view.getContext(), AddEvent.class);
  intent.putExtra(EXTRA_DAY, currentItem.day);
  intent.putExtra(EXTRA_MONTH, currentItem.month);
  intent.putExtra(EXTRA_YEAR, currentItem.year);
  view.getContext().startActivity(intent);
  
  } }
  </code></pre>
  
  <p>I have this error : "Cannot resolve this method 'putExtra(int, int)'.</p>
  
  <p>Thank you very much !</p>