Reputation: 36289
I am developing a library of custom Android View
s that extend the abilities of existing View
s. I have noticed that some examples of this will name their class by appending Ex on the end of the class name, such as AsyncTaskEx, TextViewEx, etc. Is this a convention that [Android] developers often follow, or is there really no pattern other than personal preference?
Upvotes: 3
Views: 171
Reputation: 161
Just put name of the parent class at the end of new, for example
public class YellowTextView extends TextView ...
And let IDE do other work like Content Assist, etc.
Upvotes: 1