14 | * by hayukleung
15 | * at 2017-06-27 12:24
16 | */
17 |
18 | public class CircleViewActivity extends AppCompatActivity {
19 |
20 | @Override
21 | protected void onCreate(@Nullable Bundle savedInstanceState) {
22 | super.onCreate(savedInstanceState);
23 | setContentView(R.layout.activity_circle_view);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hayukleung/view/ShyaringanView/ShyaringanViewActivity.java:
--------------------------------------------------------------------------------
1 | package com.hayukleung.view.ShyaringanView;
2 |
3 | import android.os.Bundle;
4 | import androidx.annotation.Nullable;
5 | import androidx.appcompat.app.AppCompatActivity;
6 | import com.hayukleung.view.R;
7 |
8 | /**
9 | * View
10 | * com.hayukleung.view.ShyaringanView
11 | * ShyaringanViewActivity.java
12 | *
13 | * by hayukleung
14 | * at 2017-01-24 09:59
15 | */
16 |
17 | public class ShyaringanViewActivity extends AppCompatActivity {
18 |
19 | @Override protected void onCreate(@Nullable Bundle savedInstanceState) {
20 | super.onCreate(savedInstanceState);
21 | setContentView(R.layout.activity_shyaringan_view);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hayukleung/view/BezierCurveView/BezierCurveViewActivity.java:
--------------------------------------------------------------------------------
1 | package com.hayukleung.view.BezierCurveView;
2 |
3 | import android.os.Bundle;
4 | import androidx.annotation.Nullable;
5 | import androidx.appcompat.app.AppCompatActivity;
6 |
7 | /**
8 | * View
9 | * com.hayukleung.view.BezierCurveView
10 | * BezierCurveViewActivity.java
11 | *
12 | * by hayukleung
13 | * at 2016-12-29 10:52
14 | */
15 |
16 | public class BezierCurveViewActivity extends AppCompatActivity {
17 |
18 | @Override protected void onCreate(@Nullable Bundle savedInstanceState) {
19 | super.onCreate(savedInstanceState);
20 | BezierCurveView bezierCurveView = new BezierCurveView(this);
21 | setContentView(bezierCurveView);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/hayukleung/Development/development_android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_index.xml:
--------------------------------------------------------------------------------
1 |
2 |
20 | * by hayukleung
21 | * at 2017-06-27 11:41
22 | */
23 |
24 | public class CircleView extends BaseView {
25 |
26 | private static final int COUNT = 10;
27 | private List, List
>() {
66 | @Override public void call(List
>() {
83 | @Override public void call(List