sdk-common / com.tomtom.online.sdk.common.util

Package com.tomtom.online.sdk.common.util

Types

AndroidStringFormatter

interface AndroidStringFormatter<T : Any!> : Contextable

Format data using strings from android resources.

AssetUtils

open class AssetUtils

Helper functions to easily work with assets.

BitmapUtils

open class BitmapUtils

Helper functions to easily work with bitmaps.

Bytes

class Bytes

Utility methods for operations on bytes.

Contextable

interface Contextable

Interface that represents objects that are context aware.

DateFormatter

open class DateFormatter

Formatter of string to joda $DateTime

DisplayParamsProvider

open class DisplayParamsProvider

Helper functions to easily obtain screen width and height.

DistanceCalculator

open class DistanceCalculator

Utility class to calculate distance between two points, using various strategies (e.g. great circle).

EnumUtils

class EnumUtils

Helper functions to easily work with enums.

GpsUtils

class GpsUtils

Helper functions to check GPS state.

GsonUtils

open class GsonUtils

Utility methods to work with gson library.

LogUtils

open class LogUtils

Util class to collecting and displaying logs.

Mapper

interface Mapper<A : Any!, R : Any!> : Serializable

Transform input record into a intermediate record.

Preconditions

class Preconditions

Utility class to aid with object comparison with null object handling.

ResourceUtils

open class ResourceUtils

Helper functions to easily work with resources.

StaticLibraryLoader

open class StaticLibraryLoader

The native libraries loader.

StringUtils

open class StringUtils

Utils methods related with strings.

TimeLengthFormatter

open class TimeLengthFormatter : AndroidStringFormatter<Long!>

Format seconds to more readable format for humans. - 59s to 59 s - 62s to 1 min 2 s

ViewUtils

open class ViewUtils

Utils methods related with views.

Visitable

interface Visitable<T : Any!>

A generic interface for classes that accept a visitor.