Reputation: 11208
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 CheckedTextView"
Using Android 1.5
Upvotes: 2
Views: 1871
Reputation: 1007399
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?
Upvotes: 2