Friday, January 28, 2011

[android-developers] HoneyComb and LayoutInflator-cloning seems broken

I have this piece of code:

final LayoutInflater liCloned =
LayoutInflater.from(this).cloneInContext(this);
liCloned.setFactory(new KMInflaterFactory());
return liCloned;

It returns a layout-inflator with my own custom factory
'KMInflatorFactory'.
The KMInflatorFactory's method 'onCreateView' is never called (i tried
both target-sdk-version of "8" and "Honeycomb").

Is this by design or a bug in the preview-SDK?

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate