Reputation: 1087
I need to create a custom class by extending SpannableStringBuilder.
I havent even added anything to the class yet. So my class goes like this.
public class xyz extends SpannableStringBuilder{
}
But when I try to use this class instead of SpannableStringBuilder app crashes. It is working fine when I use SpannableStringBuilder.
I have tried adding the constructors too.
Upvotes: 0
Views: 113
Reputation: 8685
When you call xyz(), are you passing in any parameters? If so, make sure you call the appropriate super() constructor from your xyz constructor.
Upvotes: 1