UnitsConverter

open class UnitsConverter

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun dpToPx(dp: Float, context: Context): Int
Link copied to clipboard
open fun pxToDp(px: Float, context: Context): Int
Link copied to clipboard
open fun timestampToDateAndTime(timestamp: Long): String
Link copied to clipboard
open fun timestampToTimeAgo(timestamp: Long, context: Context): String