02-11-2013 06:07 PM
I spent a bit of time over the past few weeks creating a Pull to Refresh example. The project is fully functional and up on GitHub. Check it out and let me know what you think
https://github.com/mrnickel/bb10pulltorefresh
shamless self: http://www.ryannickel.com/2013/02/blackberry-10-pu
02-12-2013 01:20 AM
Thanks for this. But how do I import into Momentics? I get error "Invalid project description." when trying to import via "Existing Code as BlackBerry C/C++ Makefile Project".
02-13-2013 11:31 AM
My bad! Forgot to add a few files to the project. Clone it and try again ![]()
02-13-2013 12:09 PM
Thank you for your update. I tried by cleaning and building but there is a build error : "No rule to make target `precompiled.h', needed by `o.le-v7-g/.obj/PullToRefresh.gch/c++'. Stop. PullToRefresh C/C++ Problem"
May you be able to have a look? I have interest to see your application. Thanks
02-14-2013 12:58 AM
02-14-2013 12:18 PM
I found that there is not precompiled.h in his project. Did you create by yourselves then build ok?
02-14-2013 01:02 PM
No I just unzipped the project, then I use the import method in momentic, then I compiled the project in momentic using CTRL + B and it worked.
02-14-2013 02:28 PM
I am using the same way as yours. My SDK version is BB10 Dev alpha Native SDK 10.0.9.2318. Is it same as your version?
02-17-2013 05:42 PM
Great stuff !!! Simple to implement on listview... can the same be applied on a ScrollView object. The ScrollView does not expose the leadingVisualSnapThreshold & leadingVisual properties...
Any suggestions ?
02-17-2013 05:55 PM
I had briefly looked into getting it to work on the ScrollView but i haven't gotten anywhere with it yet.
If/when I figure it out I'll post another github project.
In the mean time I'm trying to make the list view even easier to implement!
Stay tuned.