Tutorials

How to display native articles in infinite scroll

Conceptually there is no difference between teaser and article placements other than articles being a more complex type of creative. We use that fact to provide an "infinite" scroll solution, where a native article is loaded in the feed.

setup.js
adk.config()
    .addTemplate('com.advisible.native.article', adk.template.config()
        .url('article.html'))

    .addContainer('native-scroll', adk.container.config()
        .lazy())

Result
Scroll down