Using “this” with class name
问题 I am doing Android programming and was learning about Intents, when I saw a constructor that, to my C# trained mind, seemed funky. The call was: Intent myIntent = new Intent(CurrentActivity.this, NextActivity.class); Both of the parameters are new to me. How is there a static \".this\" off of a Class Name? Is this a Java thing or an Android thing? I am assuming that it is the same as just saying \"this\", since I am in the context of CurrentActivity , but I don\'t get how the \"this\" can be