GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 1.准备添加 1.0.0 tag · PMonkeyCoding/SmartRefreshLayout@05253ff

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • README.md
  • README_EN.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+20-9Lines changed: 20 additions & 9 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,18 @@ SmartRefreshLayout以打造一个强大,稳定,成熟的下拉刷新框架
109109

110110

111111
看到这么多炫酷的Header,是不是觉得很棒?这时你或许会担心这么多的Header集成在一起,但是平时只会用到一个,是不是要引入很多无用的代码和资源?
112-
请放心,我已经把刷新布局分成三个包啦,用到的时候自行引用就可以啦!
112+
V2.x 版本已经把依赖库拆分成8个包啦,用到的时候自行引用就可以啦!
113+
114+
- refresh-layout-kernel 核心必须依赖
115+
- refresh-header-classics 经典刷新头
116+
- refresh-header-radar 雷达刷新头
117+
- refresh-header-falsify 虚拟刷新头
118+
- refresh-header-material 谷歌刷新头
119+
- refresh-header-two-level 二级刷新头
120+
- refresh-footer-ball 球脉冲加载
121+
- refresh-footer-classics 经典加载
122+
123+
V2.x 中对包名进行迁移,为了兼容 1.x 下面三个包依然保留,可以自行选择使用
113124

114125
- SmartRefreshLayout 刷新布局核心实现,自带ClassicsHeader(经典)、BezierRadarHeader(贝塞尔雷达)两个 Header.
115126
- SmartRefreshHeader 各种Header的集成,除了Layout自带的Header,其它都在这个包中.
@@ -125,14 +136,14 @@ SmartRefreshLayout以打造一个强大,稳定,成熟的下拉刷新框架
125136

126137
```
127138
// 注意:分包之后不会有默认的Header和Footer需要手动添加!还是原来的三种方法!
128-
implementation 'com.scwang.smart.refresh-layout-kernel:2.0.0-alpha-1' //核心必须依赖
129-
implementation 'com.scwang.smart.refresh-header-classics:2.0.0-alpha-1' //经典刷新头
130-
implementation 'com.scwang.smart.refresh-header-radar:2.0.0-alpha-1' //雷达刷新头
131-
implementation 'com.scwang.smart.refresh-header-falsify:2.0.0-alpha-1' //虚拟刷新头
132-
implementation 'com.scwang.smart.refresh-header-material:2.0.0-alpha-1' //谷歌刷新头
133-
implementation 'com.scwang.smart.refresh-header-two-level:2.0.0-alpha-1' //二级刷新头
134-
implementation 'com.scwang.smart.refresh-footer-ball:2.0.0-alpha-1' //球脉冲加载
135-
implementation 'com.scwang.smart.refresh-footer-classics:2.0.0-alpha-1' //经典加载
139+
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.0-alpha-1' //核心必须依赖
140+
implementation 'com.scwang.smart:refresh-header-classics:2.0.0-alpha-1' //经典刷新头
141+
implementation 'com.scwang.smart:refresh-header-radar:2.0.0-alpha-1' //雷达刷新头
142+
implementation 'com.scwang.smart:refresh-header-falsify:2.0.0-alpha-1' //虚拟刷新头
143+
implementation 'com.scwang.smart:refresh-header-material:2.0.0-alpha-1' //谷歌刷新头
144+
implementation 'com.scwang.smart:refresh-header-two-level:2.0.0-alpha-1' //二级刷新头
145+
implementation 'com.scwang.smart:refresh-footer-ball:2.0.0-alpha-1' //球脉冲加载
146+
implementation 'com.scwang.smart:refresh-footer-classics:2.0.0-alpha-1' //经典加载
136147
137148
// 保留了 com.scwang.smartrefresh 的包名,但不分包
138149
implementation 'com.scwang.smartrefresh:SmartRefreshHeader:2.0.0-alpha-1' //各种Header集合
Collapse file

‎README_EN.md‎

Copy file name to clipboardExpand all lines: README_EN.md
+17-12Lines changed: 17 additions & 12 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,16 @@ The two above headers are implemented by myself, The following headers are colle
9090

9191

9292
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!
9494

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
98103

99104
## Usage
100105
#### 1.Add a gradle dependency.
@@ -107,14 +112,14 @@ It is recommended that you copy the source code into the project whenever you ne
107112

108113
```
109114
// 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
118123
119124
// The package name of `com.scwang.smartrefresh` is retained, but not subcontracted.
120125
implementation 'com.scwang.smartrefresh:SmartRefreshHeader:2.0.0-alpha-1' //Headers

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.