Configuring a StorytellerRowView

The StorytellerRowView inherits from StorytellerListView (see StorytellerListView)

XML

Attributes can also be applied in XML.

<?xml version="1.0" encoding="utf-8"?>
<com.storyteller.ui.list.StorytellerRowView
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"

  android:id="@+id/storyRowView"
  android:layout_width="match_parent"
  android:layout_height="wrap_content" />
  val storytellerRowView = StorytellerRowView(context)
  val customTheme: UiTheme
  //~~~ build customized theme UITheme ~~ //
  storytellerRowView.theme = customTheme
  view.addView(storytellerRowView)
PREVIOUS
Forward Arrow