Hmm... I'll try that next time i'm working in that code.
- Brill Pappin
--
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
So pull out your tag or ID value from the AttributeSet supplied to the
constructor? The information should be there, even if it hasn't been
applied yet. I've never tried it, but why else would the View
constructor get an AttributeSet?
On Jan 14, 6:27 am, Brill Pappin wrote:
> Yes I agree Bob.
>
>
Yes I agree Bob.
In this case it would require a whole lot of refactoring for a minor
adjustment.
All I really need to do is capture a bunch of style attributes that
are used later in some custom drawing.
Fastest way from A to B is to simply know which resource was loaded.
I have to say, I'm surp
It seems to me the problem is that you're trying to do initialization
in a constructor. That is extremely limiting.
Try doing whatever your doing in a more appropriate place -- later.
onFinishInflate() would seem a likely candidate for your purposes. But
you could also consider doing it at the poi
4 matches
Mail list logo