Package com.appsamurai.storyly.verticalfeed

Types

StorylyVerticalFeedBarView
Link copied to clipboard
class StorylyVerticalFeedBarView @JvmOverloads constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : STRVerticalFeedView

This class is the bar view of Vertical Feed Bar.

StorylyVerticalFeedGroupOrder
Link copied to clipboard

This enum class represents available layout direction that be can set for customization

StorylyVerticalFeedInit
Link copied to clipboard
data class StorylyVerticalFeedInit(storylyId: String, config: StorylyVerticalFeedConfig) : BaseInit

This class triggers initialization of Vertical Feed

StorylyVerticalFeedPresenterView
Link copied to clipboard
class StorylyVerticalFeedPresenterView @JvmOverloads constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : FrameLayout
StorylyVerticalFeedView
Link copied to clipboard
class StorylyVerticalFeedView @JvmOverloads constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int) : STRVerticalFeedView

This class is the main view of Vertical Feed.

VerticalFeedGroup
Link copied to clipboard
data class VerticalFeedGroup(uniqueId: String, title: String, iconUrl: String?, iconVideoUrl: String?, iconVideoThumbnailUrl: String?, index: Int, seen: Boolean, feedList: List<VerticalFeedItem>, pinned: Boolean, type: VerticalFeedGroupType, style: VerticalFeedGroupStyle?, name: String?, nudge: Boolean)

This data class represents a vertical feed group in the Vertical Feed.

VerticalFeedGroupBadgeStyle
Link copied to clipboard
data class VerticalFeedGroupBadgeStyle(text: String?, @ColorInt textColor: Int?, @ColorInt backgroundColor: Int?, endTime: Long?, template: String?)

This class represents a vertical feed group's badge style in the Vertical Feed.

VerticalFeedGroupStyle
Link copied to clipboard
data class VerticalFeedGroupStyle(@ColorInt borderUnseenColors: List<Int>?, @ColorInt textUnseenColor: Int?, badge: VerticalFeedGroupBadgeStyle?)

This class represents a vertical feed group's style in the Vertical Feed.

VerticalFeedGroupType
Link copied to clipboard
enum VerticalFeedGroupType : Enum<VerticalFeedGroupType>

This enum class represents the type of the vertical feed group.

VerticalFeedItem
Link copied to clipboard
data class VerticalFeedItem(uniqueId: String, index: Int, title: String, name: String?, seen: Boolean, currentTime: Long?, previewUrl: String?, verticalFeedItemComponentList: List<VerticalFeedItemComponent>?, actionUrl: String?, actionProducts: List<STRProductItem>?)

This data class represents a vertical feed item inside a vertical feed group.

VerticalFeedItemButtonComponent
Link copied to clipboard
data class VerticalFeedItemButtonComponent(id: String, text: String, actionUrl: String?, products: List<STRProductItem>?) : VerticalFeedItemComponent

This data class represents the ButtonAction component.

VerticalFeedItemCommentComponent
Link copied to clipboard
data class VerticalFeedItemCommentComponent(id: String, text: String) : VerticalFeedItemComponent

This data class represents the Comment component.

VerticalFeedItemComponent
Link copied to clipboard
open class VerticalFeedItemComponent(id: String, type: VerticalFeedItemComponentType)

This parent class represents the interactive components which users are interacted with.

VerticalFeedItemComponentType
Link copied to clipboard

This enum class represents the type of the components.

VerticalFeedItemEmojiComponent
Link copied to clipboard
data class VerticalFeedItemEmojiComponent(id: String, emojiCodes: List<String>, selectedEmojiIndex: Int, customPayload: String?) : VerticalFeedItemComponent

This data class represents the Emoji component.

VerticalFeedItemImageQuizComponent
Link copied to clipboard
data class VerticalFeedItemImageQuizComponent(id: String, title: String?, options: List<String>?, rightAnswerIndex: Int?, selectedOptionIndex: Int, customPayload: String?) : VerticalFeedItemComponent

This data class represents the ImageQuiz component.

VerticalFeedItemPollComponent
Link copied to clipboard
data class VerticalFeedItemPollComponent(id: String, title: String, options: List<String>, selectedOptionIndex: Int, customPayload: String?) : VerticalFeedItemComponent

This data class represents the Poll component.

VerticalFeedItemProductCardComponent
Link copied to clipboard
data class VerticalFeedItemProductCardComponent(id: String, text: String?, actionUrl: String?, products: List<STRProductItem>?) : VerticalFeedItemComponent

This data class represents the ProductCard component.

VerticalFeedItemProductCatalogComponent
Link copied to clipboard
data class VerticalFeedItemProductCatalogComponent(id: String, actionUrlList: List<String?>?, products: List<STRProductItem>?) : VerticalFeedItemComponent

This data class represents the ProductCatalog component.

VerticalFeedItemProductTagComponent
Link copied to clipboard
data class VerticalFeedItemProductTagComponent(id: String, actionUrl: String?, products: List<STRProductItem>?) : VerticalFeedItemComponent

This data class represents the ProductTag component.

VerticalFeedItemPromoCodeComponent
Link copied to clipboard
data class VerticalFeedItemPromoCodeComponent(id: String, text: String) : VerticalFeedItemComponent

This data class represents the PromoCode component.

VerticalFeedItemQuizComponent
Link copied to clipboard
data class VerticalFeedItemQuizComponent(id: String, title: String, options: List<String>, rightAnswerIndex: Int?, selectedOptionIndex: Int, customPayload: String?) : VerticalFeedItemComponent

This data class represents the Quiz component.

VerticalFeedItemRatingComponent
Link copied to clipboard
data class VerticalFeedItemRatingComponent(id: String, emojiCode: String, rating: Int, customPayload: String?) : VerticalFeedItemComponent

This data class represents the Rating component.

VerticalFeedItemSwipeComponent
Link copied to clipboard
data class VerticalFeedItemSwipeComponent(id: String, text: String, actionUrl: String?, products: List<STRProductItem>?) : VerticalFeedItemComponent

This data class represents the Swipe component.