public static class ActivityPost.Builder extends Object
ActivityPost
.Modifier and Type | Method and Description |
---|---|
ActivityPost.Builder |
author(PostAuthor author) |
ActivityPost |
build() |
ActivityPost.Builder |
commentsCount(int commentsCount) |
ActivityPost.Builder |
content(String text,
String imageUrl,
String buttonTitle,
String buttonAction)
Set content.
|
ActivityPost.Builder |
createdAt(long createdAt) |
ActivityPost.Builder |
feedId(String feedId) |
ActivityPost.Builder |
id(String id) |
ActivityPost.Builder |
likedByMe(boolean likedByMe) |
ActivityPost.Builder |
likesCount(int likesCount) |
ActivityPost.Builder |
stickyEnd(long stickyEnd) |
ActivityPost.Builder |
stickyStart(long stickyStart) |
public ActivityPost build()
public ActivityPost.Builder id(String id)
public ActivityPost.Builder commentsCount(int commentsCount)
public ActivityPost.Builder likesCount(int likesCount)
public ActivityPost.Builder likedByMe(boolean likedByMe)
public ActivityPost.Builder createdAt(long createdAt)
public ActivityPost.Builder stickyStart(long stickyStart)
public ActivityPost.Builder stickyEnd(long stickyEnd)
public ActivityPost.Builder author(PostAuthor author)
public ActivityPost.Builder feedId(String feedId)
public ActivityPost.Builder content(@Nullable String text, @Nullable String imageUrl, @Nullable String buttonTitle, @Nullable String buttonAction)
text
- content textimageUrl
- content image URLbuttonTitle
- button titlebuttonAction
- button action(c) Copyright GetSocial BV, 2017. All Rights Reserved.