Hey Christopher,
Now it works! Thank you..
One problem didnt seem to have gone away. The event is only fired once with the
First scroll, after that nothing is happening.
I attach the listener and set the waypoints in a controller object of Class
qx.core.object to a mobile.Page.NavigationPage..
Once fired, even when i scroll down with y Index 0.. Even though i set the
waypoint to -2.
Any thoughts?
Von meinem iPhone gesendet
Am 15.08.2014 um 12:48 schrieb Christopher Zündorf
<christopher.zuend...@1und1.de>:
> Ah, i got the error. If you apply a pixel-based offset, just add a number:
>
>
> myNavPage._getScrollContainer().setWaypointsY([-30, "10%"]);
>
> Greetz Christopher
> Von: roeder1...@googlemail.com [roeder1...@googlemail.com]
> Gesendet: Freitag, 15. August 2014 12:11
> An: qooxdoo Development
> Betreff: Re: [qooxdoo-devel] Pull Down To refresh
>
> Thank you very much for adding that feature but somehow i cant get it to work
> properly..
>
> I added "-1" To the waypoint array and nothing happens. With positive
> waypoints everything works as expected.
>
> myNavPage._getScrollContainer().setWaypointsY(["-1", "10%"]);
>
> Von meinem iPhone gesendet
>
> Am 14.08.2014 um 18:47 schrieb Christopher Zündorf
> <christopher.zuend...@1und1.de>:
>
>> I added that feature for you.
>>
>> http://bugs.qooxdoo.org/show_bug.cgi?id=8535
>>
>> 02f02b02bff8b64e79aa7d16529defdcedf2cff8
>>
>> Just use the setWaypointsY() method of your scroll container and add a
>> negative number to that array.
>>
>> If you want to implement a pull-to-refresh function at the lower limit of
>> your scroll container, just use a percentage value above 100%.
>>
>> There is a waypoints article available in the blog:
>>
>> http://news.qooxdoo.org/waypoints-feature-added-to-qx-mobile
>>
>> Greetz Christopher
>>
>> Am 14.08.2014 um 13:53 schrieb Christopher Zündorf
>> <christopher.zuend...@1und1.de>:
>>
>>> The waypoint feature would fit these needs.
>>>
>>> As I see the waypoint feature, I recently added does not support negative
>>> scrolling values.
>>> Right now you could only listen to the 0%, or 100% scrolling waypoint.
>>>
>>> I think I will enhance the waypoint logic for accepting those values. This
>>> would make a "pull-to-refresh" logic possible.
>>>
>>> I will have a look at it right now.
>>>
>>> Greetz Christopher
>>>
>>> Am 14.08.2014 um 11:23 schrieb <roeder1...@googlemail.com>
>>> <roeder1...@googlemail.com>:
>>>
>>>> I'm on master and its both iOS and android with Cordova
>>>>
>>>> Von meinem iPhone gesendet
>>>>
>>>> Am 14.08.2014 um 11:12 schrieb Christopher Zündorf
>>>> <christopher.zuend...@1und1.de>:
>>>>
>>>>> Yes, but it depends on your version and if you use native scroll or not.
>>>>>
>>>>> Are you on master? For which platform do you want to develop?
>>>>>
>>>>> For you BusyIndicator problem just use the method
>>>>> "addAfterNavigationBar()" of your page.
>>>>>
>>>>> Greetz Christopher
>>>>>
>>>>> Am 14.08.2014 um 10:43 schrieb <roeder1...@googlemail.com>
>>>>> <roeder1...@googlemail.com>:
>>>>>
>>>>>> Hey Folks,
>>>>>>
>>>>>> is there a way to have a pull down to refresh function in qooxdoo
>>>>>> mobile? Meaning to have a bar shown above the navigationpage header with
>>>>>> a busy indicator or something similiar while executing a httprequest?
>>>>>>
>>>>>> Thanks in advance.
>>>>>>
>>>>>> Greetz,
>>>>>> T
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> qooxdoo-devel mailing list
>>>>>> qooxdoo-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> qooxdoo-devel mailing list
>>>>> qooxdoo-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> qooxdoo-devel mailing list
>>>> qooxdoo-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> qooxdoo-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel