@@ -0,0 +1,1361 @@
+package com.fairytale110.mycustomviews.WidgetDemo;%0D%0A%0D%0Aimport android.os.Bundle;%0D%0Aimport android.widget.TextView;%0D%0A%0D%0Aimport com.fairytale110.mycustomviews.BaseActivity;%0D%0Aimport com.fairytale110.mycustomviews.R;%0D%0Aimport com.fairytale110.mycustomviews.Widget._fa_pieChartView;%0D%0A%0D%0Aimport java.util.Random;%0D%0A%0D%0Aimport butterknife.Bind;%0D%0Aimport butterknife.ButterKnife;%0D%0A%0D%0A/**%0D%0A * Created by   fairytale110%0D%0A * Creat date   2016/9/14 16:18%0D%0A * Copy Right   www.xkyiliao.com%0D%0A * function%0D%0A */%0D%0Apublic class _fa_pieChartViewDemo extends BaseActivity %7B%0D%0A    @Bind(R.id.piechart)%0D%0A    _fa_pieChartView piechart;%0D%0A    Random random;%0D%0A    @Bind(R.id.txt_data)%0D%0A    TextView txtData;%0D%0A    private int max, min;%0D%0A%0D%0A    @Override%0D%0A    protected void onCreate(Bundle savedInstanceState) %7B%0D%0A        super.onCreate(savedInstanceState);%0D%0A        setContentView(R.layout.fa_piechartviewdemo);%0D%0A        ButterKnife.bind(this);%0D%0A        max = 360;%0D%0A        min = 0;%0D%0A        random = new Random();%0D%0A        Float%5B%5D datas = %7B73.54F,80.01F,90.00F,103F,120F%7D;%0D%0A        piechart.setDatas(datas);%0D%0A%0D%0A        piechart.setOnItemChangedListener(new _fa_pieChartView.OnItemChangedListener() %7B%0D%0A            @Override%0D%0A            public void onItemChanged(int index, float value) %7B%0D%0A                txtData.setText(%22index: %22 +index+ %22 value: %22+value );%0D%0A            %7D%0D%0A        %7D);%0D%0A%0D%0A    %7D%0D%0A%7D%0D%0A

add demo