Skip to content

Commit 0a9b613

Browse files
author
lcodecore
committed
update readme.
1 parent 75f0bc8 commit 0a9b613

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[中文文档](./README_CN.md)
33

44
TwinklingRefreshLayout extended the thoughts of SwipeRefreshLayout,using a ViewGroup to include a list of Views, to maintain its low coupling and high versatility. Follows are its main features.
5-
5+
66
- New overscroll animations, running smoothly, much better than iOS.
77
- Support RecyclerView, ScrollView, AbsListView, WebView and so on.
88
- Support to load more.
@@ -48,7 +48,7 @@ compile 'com.lcodecorex:tkrefreshlayout:1.0.4'
4848
android:id="@+id/recyclerview"
4949
android:layout_width="match_parent"
5050
android:layout_height="match_parent"
51-
android:overScrollMode="never"
51+
android:overScrollMode="never"
5252
android:background="#fff" />
5353
</com.lcodecore.library.TwinklingRefreshLayout>
5454
```
@@ -82,7 +82,7 @@ refreshLayout.setOnRefreshListener(new RefreshListenerAdapter(){
8282
}
8383
```
8484

85-
Use finishRefreshing() method to end refresh, finishLoadmore() method to end load more. OnRefreshListener there are other methods, you can choose need to override.
85+
Use finishRefreshing() method to end refresh, finishLoadmore() method to end load more. OnRefreshListener there are other methods, you can choose need to override.
8686

8787
And if you want you refresh automatically, call the method startRefresh().
8888

@@ -123,7 +123,7 @@ Make refresh-animation like SwipeRefreshLayout.
123123
- tr_wave_height - Flexible head height
124124
- tr_head_height - Head height
125125
- tr_bottom_height - Bottom height
126-
- tr_overscroll_height - OverScroll Height
126+
- tr_overscroll_height - OverScroll Height
127127
- tr_enable_loadmore - default is true
128128
- tr_pureScrollMode_on - default is false
129129
- tr_overscroll_top_show - default is true
@@ -178,7 +178,7 @@ public interface IHeaderView {
178178
void onPullReleasing(float fraction,float maxHeadHeight,float headHeight);
179179

180180
void startAnim(float maxHeadHeight,float headHeight);
181-
181+
182182
void reset();
183183
}
184184
```
@@ -188,7 +188,7 @@ getView() method is not allow to return null.
188188
#### Let's implement a simple refresh dynamic efficiency.
189189
1.Define SinaRefreshHeader extended from FrameLayout and implement IHeaderView interface.
190190

191-
2.Return this in the method getView().
191+
2.Return this in the method getView().
192192

193193
3.Inflate and find Views in the layout xml.
194194

@@ -233,7 +233,7 @@ void init() {
233233
refreshArrow.setVisibility(GONE);
234234
loadingView.setVisibility(VISIBLE);
235235
}
236-
236+
237237
@Override
238238
public void onFinish(OnAnimEndListener listener) {
239239
listener.onAnimEnd();
@@ -292,4 +292,4 @@ Congratulations! Simple to use and simple to Personalise.(To see a more simple
292292
- Fix the NullPointerException bug in Fragment.
293293
- Fix the Sliding conflict.
294294

295-
> ps:目前本人大四,就读于西安电子科技大学,正在找工作,求推荐!([email protected]
295+
> ps:Contact me: [email protected]

README_CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ compile 'com.lcodecorex:tkrefreshlayout:1.0.4'
4646
android:id="@+id/recyclerview"
4747
android:layout_width="match_parent"
4848
android:layout_height="match_parent"
49-
android:overScrollMode="never"
49+
android:overScrollMode="never"
5050
android:background="#fff" />
5151
</com.lcodecore.library.TwinklingRefreshLayout>
5252
```
@@ -179,7 +179,7 @@ public interface IHeaderView {
179179
void onPullReleasing(float fraction,float maxHeadHeight,float headHeight);
180180

181181
void startAnim(float maxHeadHeight,float headHeight);
182-
182+
183183
void reset();
184184
}
185185
```
@@ -323,4 +323,4 @@ startAnim则是在onRefresh/onLoadMore之后才会回调的过程(此处是显
323323
- 支持越界回弹
324324
- 支持个性化Header、Footer
325325

326-
> ps:目前本人大四,就读于西安电子科技大学,正在找工作,求推荐!([email protected]
326+
> ps:如有任何问题或者是建议,可以邮箱联系我!([email protected]

0 commit comments

Comments
 (0)