Skip to content

Commit 03faba2

Browse files
Bradley MartinBradley Martin
Bradley Martin
authored and
Bradley Martin
committed
bump, merge iOS, add ios gif
1 parent 3219b1f commit 03faba2

File tree

7 files changed

+53
-69
lines changed

7 files changed

+53
-69
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# NativeScript-PullToRefresh :recycle:
22
NativeScript plugin to use Pull to Refresh on any view.
33

4-
#### [Android SwipeRefreshLayout](http://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.html)
5-
##### [Material Design Indicators Spec](https://www.google.com/design/spec/components/progress-activity.html#progress-activity-types-of-indicators)
4+
#### [Android - *SwipeRefreshLayout*](http://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout.html)
65

6+
#### [iOS - *UIRefreshControl*](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIRefreshControl_class/)
77

88
### Sample Screen
99

10-
![Pull to Refresh sample](screens/refresh.gif)
10+
Android | iOS
11+
-------- | ---------
12+
![Android Sample](screens/android_refresh.gif) | ![iOS Sample](screens/ios_refresh.gif)
1113

1214

1315
## Installation
@@ -20,9 +22,6 @@ NativeScript plugin to use Pull to Refresh on any view.
2022
<page xmlns="http://schemas.nativescript.org/tns.xsd"
2123
xmlns:PullRefresh="nativescript-pulltorefresh"
2224
loaded="pageLoaded">
23-
<page.actionBar>
24-
<action-bar title="Pull To Refresh :)" backgroundColor="#2196F3" color="#f1f1f1" />
25-
</page.actionBar>
2625
<stack-layout>
2726
<PullRefresh:PullToRefresh refresh="refreshList">
2827
<list-view items="{{ users }}">

demo/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"nativescript": {
33
"id": "org.nativescript.pulltorefresh",
44
"tns-android": {
5-
"version": "1.6.1"
5+
"version": "1.7.1"
6+
},
7+
"tns-ios": {
8+
"version": "1.7.0"
69
}
710
},
811
"dependencies": {

package.json

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
{
2-
"name": "nativescript-pulltorefresh",
3-
"version": "1.0.0",
4-
"description": "A NativeScript plugin to provide the Pull to Refresh control on any view.",
5-
"main": "pulltorefresh.js",
6-
"nativescript": {
7-
"platforms": {
8-
"android": "1.6.0",
9-
"ios": "1.6.0"
10-
}
11-
},
12-
"repository": {
13-
"type": "git",
14-
"url": "https://github.com/bradmartin/nativescript-pulltorefresh"
15-
},
16-
"keywords": [
17-
"NativeScript",
18-
"native",
19-
"script",
20-
"Pull Refresh",
21-
"SwipeRefreshLayout",
22-
"Material Design",
23-
"UIRefreshControl",
24-
"android",
25-
"ios",
26-
"bradmartin",
27-
"Thorum"
28-
],
29-
"contributors": [
30-
{
31-
"name": "Nathanael Anderson",
32-
"email": "nathan@master-technology",
33-
"url": "https://github.com/nathanaela"
34-
},
35-
{
36-
"name": "Peter Staev",
37-
"email": "[email protected]",
38-
"url": "https://github.com/PeterStaev"
39-
}
40-
],
41-
"author": "Brad Martin <[email protected]> (https://github.com/bradmartin)",
42-
"license": "Apache-2.0",
43-
"bugs": "https://github.com/bradmartin/nativescript-pulltorefresh/issues",
44-
"homepage": "https://github.com/bradmartin/nativescript-pulltorefresh"
45-
}
2+
"name": "nativescript-pulltorefresh",
3+
"version": "1.1.0",
4+
"description": "A NativeScript plugin to provide the Pull to Refresh control on any view.",
5+
"main": "pulltorefresh.js",
6+
"nativescript": {
7+
"platforms": {
8+
"android": "1.6.0",
9+
"ios": "1.6.0"
10+
}
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "https://github.com/bradmartin/nativescript-pulltorefresh"
15+
},
16+
"keywords": [
17+
"NativeScript",
18+
"native",
19+
"script",
20+
"Pull Refresh",
21+
"SwipeRefreshLayout",
22+
"Material Design",
23+
"UIRefreshControl",
24+
"android",
25+
"ios",
26+
"bradmartin",
27+
"Thorum"
28+
],
29+
"contributors": [
30+
{
31+
"name": "Nathanael Anderson",
32+
"email": "nathan@master-technology",
33+
"url": "https://github.com/nathanaela"
34+
},
35+
{
36+
"name": "Peter Staev",
37+
"email": "[email protected]",
38+
"url": "https://github.com/PeterStaev"
39+
}
40+
],
41+
"author": "Brad Martin <[email protected]> (https://github.com/bradmartin)",
42+
"license": "Apache-2.0",
43+
"bugs": "https://github.com/bradmartin/nativescript-pulltorefresh/issues",
44+
"homepage": "https://github.com/bradmartin/nativescript-pulltorefresh"
45+
}

platforms/android/include.gradle

Lines changed: 0 additions & 18 deletions
This file was deleted.
File renamed without changes.

screens/ios_refresh.gif

153 KB
Loading

screens/pullrefreshspec.gif

-1.07 MB
Binary file not shown.

0 commit comments

Comments
 (0)