I tried to construct SlidingDrawer widget programmatically, but had no
luck. The JavaDoc says the constructor needs "AttributeSet attrs"
parameter, which is "a specified set of attributes defined in XML". I
provided my own implementation of AttributeSet interface, with all the
attributes mentioned in JavaDoc, but got a weird ClassCastException -
it seems that it assumes the attrs parameter is of type TypedArray,
which seems to be impossible to use as base class (constructor
hidden). Is there a way to construct SlidingDrawer programmatically
and what is the correct contract to use it ? It is no way clear from
the documentation.

-- 
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