DraftsSort

@Immutable
data class DraftsSort(val createdAt: Date) : ComparableFieldProvider

Sorter for draft messages which takes into consideration the Date when the message was created.

Parameters

createdAt

The date when the message was created.

Constructors

Link copied to clipboard
constructor(createdAt: Date)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getComparableField(fieldName: String): Comparable<*>?

Gets a comparable fields from a name.