AdapterView is a *generic class*.
http://download.oracle.com/javase/tutorial/java/generics/gentypes.html
The question mark is an *unbounded wildcard*, which means that arg0 can
be an AdapterView *invoked* for any class type as a parameter.
http://download.oracle.com/javase/tutorial/java/generics/wildcards.html
-- Kostya
01.01.2011 14:47, Jitesh dedhiya ?????:
public void onItemClick(AdapterView<?> arg0, View arg1, int arg2,
long arg3) {
// TODO Auto-generated method stub
}
What is the meaning of "AdapterView<?>" '?' question mark here..i
am a newbee plz help..Thank you!
--
--Jitesh .V. Dedhiya---
Don't Learn To Hack but Hack To Learn
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en