ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

[Feature][ListView][iOS] Upgrade pull to refresh to UIRefreshControl #255

Open jfturcot opened 7 years ago

jfturcot commented 7 years ago

Did you verify this is a real problem by searching Stack Overflow?

Yes

Tell us about the problem

To make the pull to refresh on iOS look more like most other apps on that platform, have you ever considered using UIRefreshControl instead of the custom refresh view from Telerik UI for iOS? I asked in a previous ticket if there was a way to resize the spinner, but what I realized is that the look I was looking for is the default style of UIRefreshControl.

Thanks!

Which platform(s) does your issue occur on?

iOS

ginev commented 7 years ago

Hello @jfturcot,

the Pull-to-Refresh indicator on iOS uses the UIActivityIndicatorView class for the progress indicator. After researching a bit, I discovered that the UIRefreshControl uses it internally as well. Can you please specify what differences need to be addressed so that we can evaluate and see how we could extend the API for you to customize?

jfturcot commented 7 years ago

@ginev Thanks for the reply

It is mostly a question of look and feel, UiRefreshControl is more standard, users are used to it being used in most other apps.

The custom UIActivityIndicatorView in RadListView is fine, but its spinner is much larger and stopping it is not as smooth. UiRefreshControl has a slide back up animation when finished, but the custom UIActivityIndicatorView of RadListView is just instantly collapsed when triggering notifyPullToRefreshFinished.

I also like the idea of extending the API to be able to fully customize this template, but I think that for most projects UiRefreshControl is better since it is now the standard for iOS apps.

Thanks a lot!

ginev commented 7 years ago

@jfturcot - thanks for the feedback. We will put this on our TODO list for evaluation.

eazybit commented 7 years ago

We have a design requirement to customize the pull to refresh loading indicator. We want to show a last updated time and the total number of items in the list, inside the loading indicator block. Current loading indicator can only be customized with color and background-color, which is not sufficient. It would be nice if we can fully customize the template of pull to refreshing loading indicator with an html template.