Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
johnmarsden
Visitor

Updating content of a RowList resetting position?

I'm not sure if this is from my code or just what happens.. so I figured I'd ask.

I have a RowList with 5 rows of content in it. As I scroll down, I'm loading more rows. My code appends the new nodes to the ContentNode, then sets the content on the RowList. When I do this.. it resets my position back to 0,0. 

Is that reset because of something dumb I did or is that expected behavior?

If that's expected behavior, how can I circumvent that? 
Tags (1)
0 Kudos
1 REPLY 1
johnmarsden
Visitor

Re: Updating content of a RowList resetting position?

Turns out that my program was setting the `content` attribute on subsequent loads and the RowList hates that (for obvious reasons). Disabling that made it work as expected. Keeping this thread here for searchers in the future.
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!