title: Local onclicklistener does this cause memory leak
body: <p>Does defining an "onclicklistener" like this cause a memory leak due to a reference to the current Activity? (i.e. does the <code>currentActivity.this</code> mention create a strong reference to the current Activity, hence preventing it from being garbage collected?)</p>
  
  <pre><code>public class currentActivity extends Activity {
          @Override
          public void onCreate() {
  
              // setup
  
              myButton.setOnClickListener(new OnClickListener() {
                  @Override
                  public void onClick(View v) {
                      Intent intent = new Intent(currentActivity.this, newActivity.class);
                      startActivity(intent);
                  }
              });
          }
  }
  </code></pre>