On Thu, Jun 9, 2011 at 9:31 AM, luciofm <luci...@gmail.com> wrote:

> In this case, with getSuperclassTypeParameter() I get the parameterized
> types of AsyncTask, and not of my own Class AsyncRequest...
> (parameterized.getActualTypeArguments()[0] is a String type).
>

That's the way  getGenericSuperclass() is supposed to work. Use
getTypeParameters() to get the generic variables of the current class.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to