Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
edwardaux
Level 7

SceneGraph equivalent to SetLoadingPoster

Hi all,

I'm trying to set a default image to be a) displayed when the remote image is being fetched for a poster in a RowList, and b) displayed as a fallback if the remote image is not present/not valid.  I've got a blank tile image that I ship with my channel that I can reference via pkg:/... I just need a way to be able to set it as the default, and then provide a remote URL via hdPosterUrl.

It looks like SetLoadingPoster() is the sort of function I'm looking for, however the docs say it is deprecated but don't suggest an alternative.

Any suggestions could be much appreciated.

Cheers,
Craig
0 Kudos
3 Replies
tay
Level 7

Re: SceneGraph equivalent to SetLoadingPoster

Did you try using failedBitmapUri for rowlist?

https://sdkdocs.roku.com/plugins/servle ... st-RowList

In the doc There are other bitmap uri options too, you can pick and choose according to the scenario.
0 Kudos
edwardaux
Level 7

Re: SceneGraph equivalent to SetLoadingPoster

ah, awesome. Thanks @tay, that is exactly what I was looking for... 

I can't believe I didn't think to look in the RowList documentation... I was trawling through the metadata for the content node.

Thanks again
0 Kudos
tay
Level 7

Re: SceneGraph equivalent to SetLoadingPoster

You are most welcome.
0 Kudos