Asynctask params are already generic you don't need to customize that

On Jul 29, 2016 9:45 AM, "Brian Gottier" <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/android-developers/e9660ad5-b52f-4dfc-83c9-0f6d113ac3ed%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAJ9LBw54Ji3mw%3DcQH5fN19pKz5_Vyc77%3Dk1HWDGhoFLHKonRXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to