File tree Expand file tree Collapse file tree 19 files changed +42
-42
lines changed
java/com/ckr/collapsingrefresh
smoothappbarlayout/src/main Expand file tree Collapse file tree 19 files changed +42
-42
lines changed Original file line number Diff line number Diff line change 55import android .support .v7 .app .AppCompatActivity ;
66
77import com .ckr .collapsingrefresh .view .ViewPagerFragment ;
8- import com .ckr .smoothappbarlayout .util .RefreshLog ;
8+ import com .ckr .behavior .util .RefreshLog ;
99
1010/**
1111 * Created by PC大佬 on 2018/2/9.
Original file line number Diff line number Diff line change 1010import com .ckr .collapsingrefresh .R ;
1111import com .ckr .collapsingrefresh .adapter .MyAdapter ;
1212import com .ckr .collapsingrefresh .model .AlbumList ;
13- import com .ckr .smoothappbarlayout .SmoothRecyclerView ;
14- import com .ckr .smoothappbarlayout .listener .OnSmoothScrollListener ;
13+ import com .ckr .behavior .SmoothRecyclerView ;
14+ import com .ckr .behavior .listener .OnSmoothScrollListener ;
1515import com .scwang .smartrefresh .SmartRefreshLayout ;
1616import com .scwang .smartrefresh .api .RefreshLayout ;
17- import com .ckr .smoothappbarlayout .listener .OnOffsetListener ;
17+ import com .ckr .behavior .listener .OnOffsetListener ;
1818import com .scwang .smartrefresh .listener .OnRefreshLoadmoreListener ;
1919
2020import java .util .ArrayList ;
2323import butterknife .BindDimen ;
2424import butterknife .BindView ;
2525
26- import static com .ckr .smoothappbarlayout .util .RefreshLog .Logd ;
26+ import static com .ckr .behavior .util .RefreshLog .Logd ;
2727
2828/**
2929 * Created by PC大佬 on 2018/2/9.
Original file line number Diff line number Diff line change 1010import com .ckr .collapsingrefresh .R ;
1111import com .ckr .collapsingrefresh .adapter .MyAdapter ;
1212import com .ckr .collapsingrefresh .model .AlbumList ;
13- import com .ckr .smoothappbarlayout .SmoothRecyclerView ;
14- import com .ckr .smoothappbarlayout .listener .OnSmoothScrollListener ;
13+ import com .ckr .behavior .SmoothRecyclerView ;
14+ import com .ckr .behavior .listener .OnSmoothScrollListener ;
1515import com .scwang .smartrefresh .SmartRefreshLayout ;
1616import com .scwang .smartrefresh .api .RefreshLayout ;
17- import com .ckr .smoothappbarlayout .listener .OnOffsetListener ;
17+ import com .ckr .behavior .listener .OnOffsetListener ;
1818import com .scwang .smartrefresh .listener .OnRefreshLoadmoreListener ;
19- import com .ckr .smoothappbarlayout .util .RefreshLog ;
19+ import com .ckr .behavior .util .RefreshLog ;
2020
2121import java .util .ArrayList ;
2222import java .util .List ;
2323
2424import butterknife .BindDimen ;
2525import butterknife .BindView ;
2626
27- import static com .ckr .smoothappbarlayout .util .RefreshLog .Logd ;
27+ import static com .ckr .behavior .util .RefreshLog .Logd ;
2828
2929/**
3030 * Created by PC大佬 on 2018/2/9.
Original file line number Diff line number Diff line change 1515import com .ckr .collapsingrefresh .R ;
1616import com .ckr .collapsingrefresh .util .StatusBarUtil ;
1717import com .ckr .collapsingrefresh .widget .MyFragmentPagerAdapter ;
18- import com .ckr .smoothappbarlayout .SmoothAppBarLayout ;
18+ import com .ckr .behavior .SmoothAppBarLayout ;
1919
2020import java .util .ArrayList ;
2121import java .util .List ;
Original file line number Diff line number Diff line change 1717 android : layout_height =" wrap_content"
1818 app : srlClassicsSpinnerStyle =" Translate" />
1919
20- <com .ckr.smoothappbarlayout .SmoothRecyclerView
20+ <com .ckr.behavior .SmoothRecyclerView
2121 android : id =" @+id/recyclerView"
2222 android : layout_width =" match_parent"
2323 android : layout_height =" wrap_content"
Original file line number Diff line number Diff line change 1313 app : layout_behavior =" @string/appbar_scrolling_view_behavior" />
1414 <!-- app:layout_behavior="@string/appbar_scrolling_view_behavior"-->
1515
16- <com .ckr.smoothappbarlayout .SmoothAppBarLayout
16+ <com .ckr.behavior .SmoothAppBarLayout
1717 android : id =" @+id/appBarLayout"
1818 android : layout_width =" match_parent"
1919 android : layout_height =" @dimen/mine_info_height"
235235 app : tabIndicatorHeight =" 0dp"
236236 app : tabTextAppearance =" @style/TabTextAppearance" ></android .support.design.widget.TabLayout>
237237 </android .support.design.widget.CollapsingToolbarLayout>
238- </com .ckr.smoothappbarlayout .SmoothAppBarLayout>
238+ </com .ckr.behavior .SmoothAppBarLayout>
239239</android .support.design.widget.CoordinatorLayout>
240240
241241
Original file line number Diff line number Diff line change 11<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2- package =" com.ckr.smoothappbarlayout " />
2+ package =" com.ckr.behavior " />
Original file line number Diff line number Diff line change 11
2- package com .ckr .smoothappbarlayout ;
2+ package com .ckr .behavior ;
33
44import android .content .Context ;
55import android .hardware .SensorManager ;
1616import android .view .animation .Interpolator ;
1717import android .widget .OverScroller ;
1818
19- import com .ckr .smoothappbarlayout .listener .OnFlingListener ;
20- import com .ckr .smoothappbarlayout .listener .OnScrollListener ;
19+ import com .ckr .behavior .listener .OnFlingListener ;
20+ import com .ckr .behavior .listener .OnScrollListener ;
2121
2222import java .lang .ref .WeakReference ;
2323import java .util .List ;
2424
2525import static android .support .v4 .view .ViewCompat .offsetTopAndBottom ;
26- import static com .ckr .smoothappbarlayout .util .RefreshLog .Logd ;
27- import static com .ckr .smoothappbarlayout .util .RefreshLog .Loge ;
28- import static com .ckr .smoothappbarlayout .util .RefreshLog .Logw ;
26+ import static com .ckr .behavior .util .RefreshLog .Logd ;
27+ import static com .ckr .behavior .util .RefreshLog .Loge ;
28+ import static com .ckr .behavior .util .RefreshLog .Logw ;
2929
3030/**
3131 * Created by PC大佬 on 2018/2/9.
Original file line number Diff line number Diff line change 11
2- package com .ckr .smoothappbarlayout ;
2+ package com .ckr .behavior ;
33
44import android .content .Context ;
55import android .support .design .widget .AppBarLayout ;
66import android .support .design .widget .CoordinatorLayout ;
77import android .util .AttributeSet ;
88import android .view .View ;
99
10- import com .ckr .smoothappbarlayout .listener .OnSmoothScrollListener ;
10+ import com .ckr .behavior .listener .OnSmoothScrollListener ;
1111
1212import java .lang .ref .WeakReference ;
1313import java .util .ArrayList ;
Original file line number Diff line number Diff line change 1- package com .ckr .smoothappbarlayout ;
1+ package com .ckr .behavior ;
22
33import android .content .Context ;
44import android .hardware .SensorManager ;
1212import android .view .View ;
1313import android .view .ViewConfiguration ;
1414
15- import com .ckr .smoothappbarlayout .listener .OnFlingListener ;
16- import com .ckr .smoothappbarlayout .listener .OnSmoothScrollListener ;
15+ import com .ckr .behavior .listener .OnFlingListener ;
16+ import com .ckr .behavior .listener .OnSmoothScrollListener ;
1717
18- import static com .ckr .smoothappbarlayout .util .RefreshLog .Logd ;
19- import static com .ckr .smoothappbarlayout .util .RefreshLog .Loge ;
20- import static com .ckr .smoothappbarlayout .util .RefreshLog .Logw ;
18+ import static com .ckr .behavior .util .RefreshLog .Logd ;
19+ import static com .ckr .behavior .util .RefreshLog .Loge ;
20+ import static com .ckr .behavior .util .RefreshLog .Logw ;
2121
2222
2323/**
You can’t perform that action at this time.
0 commit comments