之間的差異。例如這是什麼和Activity.this
Intent intent = new Intent(this, SecondActivity.class);
eclipse error: The method setClass(Context, Class) in the type Intent is not applicable for the arguments (FirstActivity.ClickEvent, Class)
Intent intent = new Intent(FirstActivity.this, SecondActivity.class);
但是,這將是正確的。有人可以解釋這兩者之間的區別嗎? 謝謝。
請參考下面的鏈接可以幫助您瞭解您的疑問。[鏈接](http://stackoverflow.com/questions/1026973/android-什麼是不同的方法之間的差異 - 上下文) – 2012-04-11 08:18:44