I have a large set of support classes contained in a library that's
shared between about 40 projects, and since updating to the newest ADT
(14) I'm having major problems with any classes involving UI.

In particular these do things like create a color picker when you tap
on a preference item, or display a dialog with a slider, etc.  The
code hasn't changed and continues to compile without errors, but when
I actually run it it seems like none of the UI identifiers are valid.
I'll get a crash due to a null pointer.

I'm hoping and praying the new .jar file approach hasn't ruined this
feature, because I have a ton of library work related to this sort of
thing that's avoiding a massive amount of code duplication.  :(

As an example:

LinearLayout layout =
(LinearLayout)inflator.inflate( R.layout.preferencecolor_layout,
null );

TextView main = (TextView)layout.findViewById( R.id.label_main );
main.setText( getTitle() ); // crash here due to main being invalid

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