ianharrigan / haxeui

IMPORTANT NOTE! This repository is no longer maintained. Please consider the newer version: https://github.com/haxeui/haxeui-core
http://haxeui.org/
392 stars 47 forks source link

Pull to refresh List View? #264

Open StephenKDS opened 9 years ago

StephenKDS commented 9 years ago

Any chance of getting a Pull To Refresh list view control?

looks like a list view, but when at the top of it scrolling, pulls down and let go. Refreshes the content in the list box. For example, look at the twitter, facebook, snap chat type apps.

ianharrigan commented 9 years ago

Yeah, this is a nice idea. Im going to be giving the list view a few tweaks soon(ish) so will try and think about this then.

Cheers, Ian

ianharrigan commented 8 years ago

Should be available now, example here: http://haxeui.org/try.jsp?layoutId=6zpn9AK

StephenKDS commented 8 years ago

WIcked dude! just in time as I have started building my mobile app using HaxeUI :)

dhemitus commented 8 years ago

is any example pull to refresh from the bottom of the list?

ianharrigan commented 8 years ago

Im not quite sure how that would work, haxeui doesnt support that, but logically it doesnt really make sense to me either, i mean, if you had 50 items on the list and you "pull" when you are at the bottom, wouldnt you expect the list to move up?

dhemitus commented 8 years ago

yes, i mean increment data from the bottom not from the top of list