Amen to that - yeah, I've been extremely frustrated with the package-private 
fields in Drawable & DrawableContainer.

   - *DrawableContainer* - all subclasses require an instance of the 
   abstract class DrawableContainerState, who's only constructor is 
   package-private - so DrawableContainer can't be used by external developers. 
Reported 
   as bug 13057 <http://code.google.com/p/android/issues/detail?id=13057>.
   - *Drawable* - keeps the reference to it's callback package-private by 
   the methods you've described - so you can't try to implement your 
   own DrawableContainer-like functionality by extending Drawable, not if you 
   want delegate animated drawables to pass their callback messages back 
   through your container drawable to whatever view holds them.
   
If an abstract class isn't meant to be extended by external developers- 
dammit, I'd appreciate a big fat warning to that effect.</*rant*>


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

Reply via email to