Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
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:
Code Block | ||||
---|---|---|---|---|
| ||||
<com.personalizatio.stories.StoriesView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:code="%CODE%" />
StoriesView storiesView = findViewById(R.id.story_view);
PersonaClick.initializeStoriesView(storiesView); |
Name | Type | Requirement | Description |
---|---|---|---|
%CODE% | string | required | The story widget code. The unique code is available in the PersonaClick account in each Stories block's "data-code" attribute. |
Column | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Page Navigation
Related Pages
|