You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2018/12/31 08:52:58 UTC

[royale-asjs] branch develop updated: Move infite scroller bead somewhere it can actually be demonstrated

This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 9b9e4f6  Move infite scroller bead somewhere it can actually be demonstrated
9b9e4f6 is described below

commit 9b9e4f609b6bcbc75f2c474be34b763711f82cb4
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Mon Dec 31 10:52:49 2018 +0200

    Move infite scroller bead somewhere it can actually be demonstrated
---
 examples/royale/ListExample/src/main/royale/MyInitialView.mxml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/royale/ListExample/src/main/royale/MyInitialView.mxml b/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
index 6af6d84..49bd9bd 100644
--- a/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
+++ b/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
@@ -146,6 +146,7 @@ limitations under the License.
             <js:VirtualDataItemRendererFactoryForArrayData />
             <js:VirtualListVerticalLayout />
             <js:VirtualListView />
+	    <js:InfiniteVScroller scrollEnd="onScrollEnd()"/>
         </js:beads>
     </js:List>
     


RE: [royale-asjs] branch develop updated: Move infite scroller bead somewhere it can actually be demonstrated

Posted by Yishay Weiss <yi...@hotmail.com>.
> I'm confused about using ArrayList models and factories when you say you are using Array.

It looks like the default beads for List changes at some point. I couldn’t track when. What I did was to explicitly set the beads to handle array lists where necessary (e.g. when binding is used), and initialize list to Arrays where an Array was ok.

On 12/31/18, 3:12 AM, "Yishay Weiss" <yi...@hotmail.com> wrote:

    It still looks wrong. When scrolling, I see sequences such as “row 304”, “row 305”, “row 55”, “row 385”. I’m assuming it should be a simple incrementing series.



    I only made sure arrays are used instead of arraylists so that at least something is shown.



    ________________________________
    From: Carlos Rovira <ca...@apache.org>
    Sent: Monday, December 31, 2018 12:53:16 PM
    To: dev@royale.apache.org
    Subject: Re: [royale-asjs] branch develop updated: Move infite scroller bead somewhere it can actually be demonstrated

    Hi,

    is this example (virtual list with lots of data and reusable item
    renderers) working?
    I think latest time I checked (many many months ago) was broken. I let
    Peter knows, but I think finally was not updated.
    Maybe my test was not right and is working?

    thanks+

    El lun., 31 dic. 2018 a las 9:53, <yi...@apache.org> escribió:

    > This is an automated email from the ASF dual-hosted git repository.
    >
    > yishayw pushed a commit to branch develop
    > in repository https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&amp;data=02%7C01%7Caharui%40adobe.com%7C25a9eef7fb884675b3de08d66f10cf3e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636818515315933569&amp;sdata=cNJ9wvNyvlHwYX2UlyNM1wG6lG8b7DMJYQQG1qaHB4k%3D&amp;reserved=0
    >
    >
    > The following commit(s) were added to refs/heads/develop by this push:
    >      new 9b9e4f6  Move infite scroller bead somewhere it can actually be
    > demonstrated
    > 9b9e4f6 is described below
    >
    > commit 9b9e4f609b6bcbc75f2c474be34b763711f82cb4
    > Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
    > AuthorDate: Mon Dec 31 10:52:49 2018 +0200
    >
    >     Move infite scroller bead somewhere it can actually be demonstrated
    > ---
    >  examples/royale/ListExample/src/main/royale/MyInitialView.mxml | 1 +
    >  1 file changed, 1 insertion(+)
    >
    > diff --git
    > a/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
    > b/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
    > index 6af6d84..49bd9bd 100644
    > --- a/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
    > +++ b/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
    > @@ -146,6 +146,7 @@ limitations under the License.
    >              <js:VirtualDataItemRendererFactoryForArrayData />
    >              <js:VirtualListVerticalLayout />
    >              <js:VirtualListView />
    > +           <js:InfiniteVScroller scrollEnd="onScrollEnd()"/>
    >          </js:beads>
    >      </js:List>
    >
    >
    >

    --
    Carlos Rovira
    https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C25a9eef7fb884675b3de08d66f10cf3e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636818515315933569&amp;sdata=b28QqyixoyyF86J6FlL4j5yEaccvkMRKjLCLV%2BPCtGQ%3D&amp;reserved=0



Re: [royale-asjs] branch develop updated: Move infite scroller bead somewhere it can actually be demonstrated

Posted by Alex Harui <ah...@adobe.com.INVALID>.
The virtual renderer management was working mostly, but I thought it had an upper limit.  I don't know what infinitescroller is supposed to do, but maybe it needs to be in yet another example or list in this example.  You should be able to drag the thumb to the last row in a regular virtual list.

I'm confused about using ArrayList models and factories when you say you are using Array.

-Alex

On 12/31/18, 3:12 AM, "Yishay Weiss" <yi...@hotmail.com> wrote:

    It still looks wrong. When scrolling, I see sequences such as “row 304”, “row 305”, “row 55”, “row 385”. I’m assuming it should be a simple incrementing series.
    
    
    
    I only made sure arrays are used instead of arraylists so that at least something is shown.
    
    
    
    ________________________________
    From: Carlos Rovira <ca...@apache.org>
    Sent: Monday, December 31, 2018 12:53:16 PM
    To: dev@royale.apache.org
    Subject: Re: [royale-asjs] branch develop updated: Move infite scroller bead somewhere it can actually be demonstrated
    
    Hi,
    
    is this example (virtual list with lots of data and reusable item
    renderers) working?
    I think latest time I checked (many many months ago) was broken. I let
    Peter knows, but I think finally was not updated.
    Maybe my test was not right and is working?
    
    thanks+
    
    El lun., 31 dic. 2018 a las 9:53, <yi...@apache.org> escribió:
    
    > This is an automated email from the ASF dual-hosted git repository.
    >
    > yishayw pushed a commit to branch develop
    > in repository https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&amp;data=02%7C01%7Caharui%40adobe.com%7C25a9eef7fb884675b3de08d66f10cf3e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636818515315933569&amp;sdata=cNJ9wvNyvlHwYX2UlyNM1wG6lG8b7DMJYQQG1qaHB4k%3D&amp;reserved=0
    >
    >
    > The following commit(s) were added to refs/heads/develop by this push:
    >      new 9b9e4f6  Move infite scroller bead somewhere it can actually be
    > demonstrated
    > 9b9e4f6 is described below
    >
    > commit 9b9e4f609b6bcbc75f2c474be34b763711f82cb4
    > Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
    > AuthorDate: Mon Dec 31 10:52:49 2018 +0200
    >
    >     Move infite scroller bead somewhere it can actually be demonstrated
    > ---
    >  examples/royale/ListExample/src/main/royale/MyInitialView.mxml | 1 +
    >  1 file changed, 1 insertion(+)
    >
    > diff --git
    > a/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
    > b/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
    > index 6af6d84..49bd9bd 100644
    > --- a/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
    > +++ b/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
    > @@ -146,6 +146,7 @@ limitations under the License.
    >              <js:VirtualDataItemRendererFactoryForArrayData />
    >              <js:VirtualListVerticalLayout />
    >              <js:VirtualListView />
    > +           <js:InfiniteVScroller scrollEnd="onScrollEnd()"/>
    >          </js:beads>
    >      </js:List>
    >
    >
    >
    
    --
    Carlos Rovira
    https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C25a9eef7fb884675b3de08d66f10cf3e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636818515315933569&amp;sdata=b28QqyixoyyF86J6FlL4j5yEaccvkMRKjLCLV%2BPCtGQ%3D&amp;reserved=0
    


RE: [royale-asjs] branch develop updated: Move infite scroller bead somewhere it can actually be demonstrated

Posted by Yishay Weiss <yi...@hotmail.com>.
It still looks wrong. When scrolling, I see sequences such as “row 304”, “row 305”, “row 55”, “row 385”. I’m assuming it should be a simple incrementing series.



I only made sure arrays are used instead of arraylists so that at least something is shown.



________________________________
From: Carlos Rovira <ca...@apache.org>
Sent: Monday, December 31, 2018 12:53:16 PM
To: dev@royale.apache.org
Subject: Re: [royale-asjs] branch develop updated: Move infite scroller bead somewhere it can actually be demonstrated

Hi,

is this example (virtual list with lots of data and reusable item
renderers) working?
I think latest time I checked (many many months ago) was broken. I let
Peter knows, but I think finally was not updated.
Maybe my test was not right and is working?

thanks+

El lun., 31 dic. 2018 a las 9:53, <yi...@apache.org> escribió:

> This is an automated email from the ASF dual-hosted git repository.
>
> yishayw pushed a commit to branch develop
> in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
>
>
> The following commit(s) were added to refs/heads/develop by this push:
>      new 9b9e4f6  Move infite scroller bead somewhere it can actually be
> demonstrated
> 9b9e4f6 is described below
>
> commit 9b9e4f609b6bcbc75f2c474be34b763711f82cb4
> Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
> AuthorDate: Mon Dec 31 10:52:49 2018 +0200
>
>     Move infite scroller bead somewhere it can actually be demonstrated
> ---
>  examples/royale/ListExample/src/main/royale/MyInitialView.mxml | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git
> a/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
> b/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
> index 6af6d84..49bd9bd 100644
> --- a/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
> +++ b/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
> @@ -146,6 +146,7 @@ limitations under the License.
>              <js:VirtualDataItemRendererFactoryForArrayData />
>              <js:VirtualListVerticalLayout />
>              <js:VirtualListView />
> +           <js:InfiniteVScroller scrollEnd="onScrollEnd()"/>
>          </js:beads>
>      </js:List>
>
>
>

--
Carlos Rovira
http://about.me/carlosrovira

Re: [royale-asjs] branch develop updated: Move infite scroller bead somewhere it can actually be demonstrated

Posted by Carlos Rovira <ca...@apache.org>.
Hi,

is this example (virtual list with lots of data and reusable item
renderers) working?
I think latest time I checked (many many months ago) was broken. I let
Peter knows, but I think finally was not updated.
Maybe my test was not right and is working?

thanks+

El lun., 31 dic. 2018 a las 9:53, <yi...@apache.org> escribió:

> This is an automated email from the ASF dual-hosted git repository.
>
> yishayw pushed a commit to branch develop
> in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
>
>
> The following commit(s) were added to refs/heads/develop by this push:
>      new 9b9e4f6  Move infite scroller bead somewhere it can actually be
> demonstrated
> 9b9e4f6 is described below
>
> commit 9b9e4f609b6bcbc75f2c474be34b763711f82cb4
> Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
> AuthorDate: Mon Dec 31 10:52:49 2018 +0200
>
>     Move infite scroller bead somewhere it can actually be demonstrated
> ---
>  examples/royale/ListExample/src/main/royale/MyInitialView.mxml | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git
> a/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
> b/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
> index 6af6d84..49bd9bd 100644
> --- a/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
> +++ b/examples/royale/ListExample/src/main/royale/MyInitialView.mxml
> @@ -146,6 +146,7 @@ limitations under the License.
>              <js:VirtualDataItemRendererFactoryForArrayData />
>              <js:VirtualListVerticalLayout />
>              <js:VirtualListView />
> +           <js:InfiniteVScroller scrollEnd="onScrollEnd()"/>
>          </js:beads>
>      </js:List>
>
>
>

-- 
Carlos Rovira
http://about.me/carlosrovira