View Single Post
Posts: 61 | Thanked: 27 times | Joined on Jul 2010
#483
Its great that the pull-down refresh is working.

...please don't shoot me when I tell you that it 'refreshes' too easily...

I see two small problems with the pull-down refresh:
  • While you are scrolling up and down through your CONTACTS or INBOX; you do not know that you have reached the top until you scroll into the blank area.
    Which means you have a good chance of triggering the refresh.
  • Doing a flicking action, scrolling continues after the user has stopped touching it, and this can also accidentally cause a refresh.

For the first, we need some kind of TOP-OF-LIST marker.

For the second, I'm hoping 'Flickable.DragOverBounds' is the answer.
I did some Googling and found:
The boundsBehavior can be one of:
  • Flickable.StopAtBounds - the contents can not be dragged beyond the boundary of the flickable, and flicks will not overshoot.
  • Flickable.DragOverBounds - the contents can be dragged beyond the boundary of the Flickable, but flicks will not overshoot.
  • Flickable.DragAndOvershootBounds (default) - the contents can be dragged beyond the boundary of the Flickable, and can overshoot the boundary when flicked.
Addendum:
In regards to the top-of-list marker, I would suggest an extra list item, like:
[Pull Me Down To REFRESH]
If it is possible, use a different background color {to drawn your attention} and very small font and small height {as to not waste space}.

I assume you decided on this pull-down method so that you would not waste any screen space.
But you will need something to let your users know its there.

Last edited by kbyork; 2012-03-05 at 12:32.