public static final class ActivityPostContent.Builder extends Object
ActivityPostContent
immutable object.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ActivityPostContent |
build() |
ActivityPostContent.Builder |
withButton(String title,
String action)
Set button title and action.
|
ActivityPostContent.Builder |
withImage(android.graphics.Bitmap image) |
ActivityPostContent.Builder |
withText(String text) |
public ActivityPostContent.Builder withText(String text)
public ActivityPostContent.Builder withImage(android.graphics.Bitmap image)
public ActivityPostContent.Builder withButton(String title, String action)
title
- Button titleaction
- Button onClick actionActivityPostContent.Builder
public ActivityPostContent build()
(c) Copyright GetSocial BV, 2017. All Rights Reserved.