On Friday, July 29, 2011 12:58:04 PM UTC-4, DB12 wrote: > > Adam, that makes some sense, I'll investigate it. > > I took my app home from work and for some reason it did not crash when > I added that 3rd id (my home comp runs windows 7). Then I took it > back to work (where we have xp) and it works fine with the extra id. > But then I added another custom dialog with 3 buttons and it crashed > again. > > The other thing I found is that sometimes you may need to check all your XMLs for any errors, too. But if its getting a class cast exception and you're absolutely positive the ID you're using is the right one, it's probably an R generation issue, it may not be ordering the IDs right so yours is now pointing to the wrong type of view.
-- 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

