Skip to content

Instantly share code, notes, and snippets.

@enginebai
Last active November 18, 2016 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enginebai/de79bfb9e1ad02a49b76851cb0084ab9 to your computer and use it in GitHub Desktop.
Save enginebai/de79bfb9e1ad02a49b76851cb0084ab9 to your computer and use it in GitHub Desktop.
public class SwagPoints extends View {
// used in view creation programmatically
public SwagPoints(Context context) {
super(context);
}
// used in XML layout file
public SwagPoints(Context context, AttributeSet attrs) {
super(context, attrs);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment