Package 

Class ThreadItemKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit ThreadItem(Thread thread, User currentUser, Function1<Thread, Unit> onThreadClick, Modifier modifier) The basic Thread item, showing information about the thread title, parent message, latest reply and number of unread replies.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • ThreadItem

        @Composable() final static Unit ThreadItem(Thread thread, User currentUser, Function1<Thread, Unit> onThreadClick, Modifier modifier)

        The basic Thread item, showing information about the thread title, parent message, latest reply and number of unread replies.

        Parameters:
        thread - The Thread object holding the data to be rendered.
        currentUser - The currently logged User, used for formatting the message in the thread preview.
        onThreadClick - Action invoked when the user clicks on the item.
        modifier - Modifier instance for general styling.