@@ -90,11 +90,16 @@ The two above headers are implemented by myself, The following headers are colle |
90 | 90 |
|
91 | 91 |
|
92 | 92 | See so many cool headers, is not it feel great? At this point you may be worried that so many headers together, but usually only use one, is not to introduce a lot of useless code and resources? |
93 | | -Please rest assured that I have divided it into three packages, when used to reference their own it! |
| 93 | +Please rest assured that I have divided it into eight packages, when used to reference their own it! |
94 | 94 |
|
95 | | - - **SmartRefreshLayout:** The core to realize,Bring ClassicsHeader and BezierRadarHeader. |
96 | | - - **SmartRefreshHeader:** Integration of various kinds of the Header. |
97 | | - - **SmartRefreshFooter:** Integration of various kinds of the Footer. |
| 95 | + - refresh-layout-kernel core |
| 96 | + - refresh-header-classics ClassicsHeader |
| 97 | + - refresh-header-radar BezierRadarHeader |
| 98 | + - refresh-header-falsify FalsifyHeader |
| 99 | + - refresh-header-material MaterialHeader |
| 100 | + - refresh-header-two-level TwoLevelHeader |
| 101 | + - refresh-footer-ball BallPulseFooter |
| 102 | + - refresh-footer-classics ClassicsFooter |
98 | 103 |
|
99 | 104 | ## Usage |
100 | 105 | #### 1.Add a gradle dependency. |
@@ -107,14 +112,14 @@ It is recommended that you copy the source code into the project whenever you ne |
107 | 112 |
|
108 | 113 | ``` |
109 | 114 | // Note: There will be no default Header and Footer after subcontracting. It needs to be added manually! |
110 | | -implementation 'com.scwang.smart.refresh-layout-kernel:2.0.0-alpha-1' //core |
111 | | -implementation 'com.scwang.smart.refresh-header-classics:2.0.0-alpha-1' //ClassicsHeader |
112 | | -implementation 'com.scwang.smart.refresh-header-radar:2.0.0-alpha-1' //BezierRadarHeader |
113 | | -implementation 'com.scwang.smart.refresh-header-falsify:2.0.0-alpha-1' //FalsifyHeader |
114 | | -implementation 'com.scwang.smart.refresh-header-material:2.0.0-alpha-1' //MaterialHeader |
115 | | -implementation 'com.scwang.smart.refresh-header-two-level:2.0.0-alpha-1' //TwoLevelHeader |
116 | | -implementation 'com.scwang.smart.refresh-footer-ball:2.0.0-alpha-1' //BallPulseFooter |
117 | | -implementation 'com.scwang.smart.refresh-footer-classics:2.0.0-alpha-1' //ClassicsFooter |
| 115 | +implementation 'com.scwang.smart:refresh-layout-kernel:2.0.0-alpha-1' //core |
| 116 | +implementation 'com.scwang.smart:refresh-header-classics:2.0.0-alpha-1' //ClassicsHeader |
| 117 | +implementation 'com.scwang.smart:refresh-header-radar:2.0.0-alpha-1' //BezierRadarHeader |
| 118 | +implementation 'com.scwang.smart:refresh-header-falsify:2.0.0-alpha-1' //FalsifyHeader |
| 119 | +implementation 'com.scwang.smart:refresh-header-material:2.0.0-alpha-1' //MaterialHeader |
| 120 | +implementation 'com.scwang.smart:refresh-header-two-level:2.0.0-alpha-1' //TwoLevelHeader |
| 121 | +implementation 'com.scwang.smart:refresh-footer-ball:2.0.0-alpha-1' //BallPulseFooter |
| 122 | +implementation 'com.scwang.smart:refresh-footer-classics:2.0.0-alpha-1' //ClassicsFooter |
118 | 123 |
|
119 | 124 | // The package name of `com.scwang.smartrefresh` is retained, but not subcontracted. |
120 | 125 | implementation 'com.scwang.smartrefresh:SmartRefreshHeader:2.0.0-alpha-1' //Headers |
|