public class ListTemplate2 extends ListTemplate<ListTemplate2.ListItem>
ListTemplate2.ListItemsFor layout specifics, please refer to our template documentation.
| Modifier and Type | Class and Description |
|---|---|
static class |
ListTemplate2.ListItem
This list item is comprised of the following elements:
An image (rectangular, square)
A text field
|
Template.BackButtonBehavior| Constructor and Description |
|---|
ListTemplate2() |
| Modifier and Type | Method and Description |
|---|---|
Image |
getBackgroundImage()
Returns the background image.
|
List<ListTemplate2.ListItem> |
getListItems()
Returns the list of items.
|
String |
getTitle()
Returns the title.
|
void |
setBackgroundImage(Image backgroundImage)
Sets the background image.
|
void |
setListItems(List<ListTemplate2.ListItem> listItems)
Sets the list of items.
|
void |
setTitle(String title)
Sets the title.
|
getBackButtonBehavior, getToken, setBackButtonBehavior, setTokenpublic Image getBackgroundImage()
public void setBackgroundImage(Image backgroundImage)
backgroundImage - the background imagepublic List<ListTemplate2.ListItem> getListItems()
ListTemplategetListItems in class ListTemplate<ListTemplate2.ListItem>public void setListItems(List<ListTemplate2.ListItem> listItems)
listItems - the list of itemspublic String getTitle()
public void setTitle(String title)
title - the titleCopyright © 2017. All rights reserved.