Configuring a StorytellerGridView

The StorytellerGridView inherits from StorytellerListView (see StorytellerListView)

Use in Layout

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

  android:id="@+id/storyGridView"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  app:cellType="round" />
  val storytellerGridView = StorytellerGridView(context)
  val customTheme: UiTheme
  //~~~ build customized theme UITheme ~~ //
  storytellerGridView.theme = customTheme
  view.addView(storytellerGridView)
PREVIOUS
Forward Arrow