-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
176 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Change Log | ||
========== | ||
|
||
Version 1.0.1 *(2014-6-6)* | ||
---------------------------- | ||
|
||
- 结束上拉加载更多从以前的endRefreshing()改为endLoadingMore() | ||
- 刷新和加载更多过程中,内容控件可接收触摸事件 | ||
|
||
Version 1.0.0 *(2014-5-28)* | ||
---------------------------- | ||
|
||
Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
:running:BGARefreshLayout-Android v1.0.0:running: | ||
:running:BGARefreshLayout-Android v1.0.1:running: | ||
============ | ||
>关于我<br/> | ||
>微博:<a href="http://weibo.com/bingoogol" target="_blank">bingoogolapple</a> 主页:<a href="http://www.bingoogolapple.cn" target="_blank">bingoogolapple.cn</a> 邮箱:<a href="mailto:[email protected]" target="_blank">[email protected]</a> | ||
|
@@ -44,7 +44,7 @@ dependencies { | |
compile 'com.android.support:recyclerview-v7:22.1.1' | ||
// 记得添加nineoldandroids | ||
compile 'com.nineoldandroids:library:2.4.0' | ||
compile 'cn.bingoogolapple:bga-refreshlayout:1.0.0@aar' | ||
compile 'cn.bingoogolapple:bga-refreshlayout:1.0.1@aar' | ||
} | ||
``` | ||
|
||
|
@@ -120,7 +120,7 @@ public class ModuleNameActivity extends AppCompatActivity implements BGARefreshL | |
// 在这里加载更多数据,或者更具产品需求实现上拉刷新也可以 | ||
|
||
// 加载完毕后在UI线程结束加载更多 | ||
mRefreshLayout.endRefreshing(); | ||
mRefreshLayout.endLoadingMore(); | ||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
demo/src/main/java/cn/bingoogolapple/refreshlayout/demo/dialog/LoadingDialog.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<animation-list xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:oneshot="false" > | ||
|
||
<item | ||
android:drawable="@mipmap/loading_01" | ||
android:duration="100"/> | ||
<item | ||
android:drawable="@mipmap/loading_02" | ||
android:duration="100"/> | ||
<item | ||
android:drawable="@mipmap/loading_03" | ||
android:duration="100"/> | ||
<item | ||
android:drawable="@mipmap/loading_04" | ||
android:duration="100"/> | ||
<item | ||
android:drawable="@mipmap/loading_05" | ||
android:duration="100"/> | ||
<item | ||
android:drawable="@mipmap/loading_06" | ||
android:duration="100"/> | ||
<item | ||
android:drawable="@mipmap/loading_07" | ||
android:duration="100"/> | ||
<item | ||
android:drawable="@mipmap/loading_08" | ||
android:duration="100"/> | ||
<item | ||
android:drawable="@mipmap/loading_09" | ||
android:duration="100"/> | ||
<item | ||
android:drawable="@mipmap/loading_10" | ||
android:duration="100"/> | ||
<item | ||
android:drawable="@mipmap/loading_11" | ||
android:duration="100"/> | ||
<item | ||
android:drawable="@mipmap/loading_12" | ||
android:duration="100"/> | ||
|
||
</animation-list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="260dp" | ||
android:layout_height="wrap_content" | ||
android:gravity="center_horizontal" | ||
android:orientation="vertical"> | ||
|
||
<ImageView | ||
android:id="@+id/iv_loading_progress" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="10dp" | ||
android:src="@anim/loding" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_loading_msg" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="正在加载数据..." | ||
android:textColor="@android:color/white" | ||
android:textSize="20sp" /> | ||
|
||
</LinearLayout> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.