MessageOffsetHandler

Handler that calculates the message offset that will be applied to the focused message. Implements Serializable so that it can be saved using Saver to persist the custom implementation of the handler across compositions.

Functions

Link copied to clipboard
abstract fun calculateOffset(parentSize: IntSize, focusedMessageSize: IntSize): Int

Calculates the focused message offset.