I have copied this code from the Android developers site:
public class ExampleActivity extends Activity implements OnClickListener { protected void onCreate(Bundle savedValues) { ... Button button = (Button)findViewById(R.id.corky); button.setOnClickListener(this); }
I wonder what exactly the keyword "this" refers to. Does this apply to the ExampleActivity class? And anyway, how to find what "this" means?
source share