Skip to content

Instantly share code, notes, and snippets.

@romandanylyk
Last active November 25, 2016 14:27
Show Gist options
  • Select an option

  • Save romandanylyk/cdd74faab8c46bae5fabd4f212af515c to your computer and use it in GitHub Desktop.

Select an option

Save romandanylyk/cdd74faab8c46bae5fabd4f212af515c to your computer and use it in GitHub Desktop.
public PageIndicatorView(Context context, AttributeSet attrs) {
super(context, attrs);
TypedArray typedArray = getContext().obtainStyledAttributes(attrs, R.styleable.PageIndicatorView);
int count = typedArray.getInt(R.styleable.PageIndicatorView_piv_count,0);
typedArray.recycle();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment