|
@@ -0,0 +1,42 @@
|
|
|
|
+package com.zhpan.bannerview.indicator;
|
|
|
|
+
|
|
|
|
+import android.content.Context;
|
|
|
|
+import android.util.AttributeSet;
|
|
|
|
+import android.view.View;
|
|
|
|
+
|
|
|
|
+import androidx.annotation.Nullable;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * <pre>
|
|
|
|
+ * Created by zhangpan on 2019-09-04.
|
|
|
|
+ * Description:
|
|
|
|
+ * </pre>
|
|
|
|
+ */
|
|
|
|
+public class BaseIndicatorView extends View implements IIndicator {
|
|
|
|
+ public BaseIndicatorView(Context context) {
|
|
|
|
+ super(context);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public BaseIndicatorView(Context context, @Nullable AttributeSet attrs) {
|
|
|
|
+ super(context, attrs);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public BaseIndicatorView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
|
|
|
|
+ super(context, attrs, defStyleAttr);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public void onPageSelected(int position) {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public void onPageScrollStateChanged(int state) {
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+}
|