Alloy-PullToRefresh icon indicating copy to clipboard operation
Alloy-PullToRefresh copied to clipboard

Binding the update in the root view

Open jkotchoff opened this issue 10 years ago • 1 comments

Firstly, thanks so much for your widget, you have done a great job with it!

Being new to Alloy, it took me quite a long time to work out how to use this properly in combination with collection binding. I think this was mostly due to having to define the ListView in it's own separate controller.

With this commit: https://github.com/cornflakesuperstar/Alloy-PullToRefresh/commit/84779451db734e7133059b1345993198d184a8b2

I have created a sample project that adjusts this behaviour.

Perhaps this example would also make things a bit simpler for others to understand how to use your widget? Here's the implementation: https://github.com/cornflakesuperstar/Alloy-PullToRefresh-Example

Thanks again!

jkotchoff avatar Oct 28 '14 20:10 jkotchoff

Also, two things that would make this even more awesome: 1/ adding the 'last update time' label to the iOS refresh widget 2/ replacing the loader spinner in the Android widget with a native swiperefresh control as per: https://github.com/iskugor/Ti.SwipeRefreshLayout

jkotchoff avatar Nov 05 '14 15:11 jkotchoff