Ví dụsự khác biệt giữa điều này và 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);
là gì Nhưng điều đó sẽ được chính xác. Bất kỳ ai cũng có thể giải thích sự khác biệt giữa hai điều đó? Cảm ơn.
Tham khảo các liên kết sau đây có thể giúp bạn hiểu rõ nghi ngờ của bạn .. [LINK] (http://stackoverflow.com/questions/1026973/android- whats-the-different-between-the-different-methods-to-get-a-context) –