When using AsyncTask, there are always some params associated:

AsyncTask<Params, Progress, Result>

And when using it, I see all kinds of variations, where Params, Progress, 
and Result are swapped out with String, Void, Integer, etc.

I'm new to Android and Java, so just wondering if this is a special way 
that Java lets us customize the AsyncTask methods to accept whatever 
datatype we want. Is this what is referred to as a generic?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/e9660ad5-b52f-4dfc-83c9-0f6d113ac3ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to