browse other examples
Adapter (updatable scroller)
This is a simple demo which demonstrates some basic Adapter usage.
For all operations presented here the only one Adapter method is being used: applyUpdates.
In this demo we have single datasource defined on the Main Controller .
And two different viewports with two different processing Adapters (on the First and the Second Controllers).
1st list
...data loading...
1st list is loaded
update this list
add new 3d item
remove even items
{{item.content}}
2st list
...data loading...
2nd list is loaded
update this list
add new 5th item
remove odd items
{{item.content}}