commit | 9afed28629e9a35d341a39f8b4ee21b418079263 | [log] [tgz] |
---|---|---|
author | Gilles Debunne <debunne@google.com> | Tue Apr 20 17:24:04 2010 -0700 |
committer | Gilles Debunne <debunne@google.com> | Tue Apr 27 15:05:16 2010 -0700 |
tree | b093c3bf64efa4204b31cbf07edfc0305be71f54 | |
parent | 6dee0a3fac648a82ae998348b6673cb7823bd15d [diff] |
Raw types warnings removed. Raw types replaced. Added a asSubClass method in LayoutInflater which will (correctly) throw a ClassCastException when the inflated class is not a View subclass. Reduced the number of warnings in GenericInflater, but those remaining are valid. A lot of unsafe class casts happen between parent (P) and item (T) types that will generate runtime errors if the XML is not valid. Change-Id: I887fd67769a51ab54c6092e1270dbe3bfb6313ca