How can you dynamically create a CheckedTextView in android [without creating a new implementation]?
It seems CheckedTextView is abstract ... (which does not make any sense at all) because I keep getting the compile time error: "Cannot instantiate the type CheckedText开发者_JAVA百科View"
Using Android 1.5
Looking at the docs, the class is not abstract and has constructors. Presumably, therefore, you can call:
new CheckedTextView(this);
where this
is your Activity
, and get a CheckedTextView
.
Have you run into problems using this?
精彩评论