Explanation of second argument in the following line of code
Can someone explain, or point me in the direction of documentation for, the second argument in this instantiation of the object i. I looked all over but can't really find anything that explains it. I don't even know what to search for..
Code Java:
Intent i = new Intent(context, ToggleService.class);
Re: Explanation of second argument in the following line of code
Quote:
second argument in this instantiation of the object
The place to start would be the API doc for the Intent class.
What does it say about the arguments to its constructors?