Kit > healthstack.kit.info.publication > Publication

Publication

[androidJvm]
abstract class Publication(val coverContent: String?, val category: String, val title: String, val description: String, val contents: List<ContentBlock>)

Constructors

Publication

[androidJvm]
fun Publication(coverContent: String?, category: String, title: String, description: String, contents: List<ContentBlock>)

Functions

Name Summary
CardView

[androidJvm]
@Composable
fun CardView(onClick: (Publication?) -> Unit)

PreviewImage

[androidJvm]
@Composable
abstract fun PreviewImage()

RelatedContent

[androidJvm]
@Composable
fun RelatedContent()

Render

[androidJvm]
@Composable
abstract fun Render(onClick: (Publication?) -> Unit)

Properties

Name Summary
category

[androidJvm]
val category: String

contents

[androidJvm]
val contents: List<ContentBlock>

coverContent

[androidJvm]
val coverContent: String?

description

[androidJvm]
val description: String

title

[androidJvm]
val title: String

Inheritors

Name
PdfPublication

TextPublication

VideoPublication