Stories (Android SDK - Kotlin)

This guide describes using the Stories widget in an Android mobile app. 

Installation

To insert the Stories widget into a specific app template, insert the following code in a needed place:

<com.personalizatio.stories.views.StoriesView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:code="%CODE%" />

val storiesView = findViewById<StoriesView>(R.id.story_view)
sdk.initializeStoriesView(storiesView)

NameTypeRequirementDescription
%CODE%stringrequiredThe story widget code. The unique code is available in the PersonaClick account in each Stories block's "data-code" attribute.

Page Navigation




Related Pages

Copyright 2018-2024 PersonaClick