Skip to content

Instantly share code, notes, and snippets.

@sujithkanna
Last active June 10, 2017 17:02
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 sujithkanna/36214524af583562a062dc186169fb23 to your computer and use it in GitHub Desktop.
Save sujithkanna/36214524af583562a062dc186169fb23 to your computer and use it in GitHub Desktop.
public class SliderImageView extends View {
public SliderImageView(Context context) {
super(context);
}
public SliderImageView(Context context, @Nullable AttributeSet attrs) {
super(context, attrs);
}
public SliderImageView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
}
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
}
@Override
protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment