Package-level declarations

Types

Link copied to clipboard

The MainActivity is used as entry point of Ametista's application for Android

Properties

Link copied to clipboard
lateinit var bodyFontFamily: FontFamily

bodyFontFamily -> the Ametista's body font family

Link copied to clipboard

displayFontFamily -> the Ametista's font family

Link copied to clipboard
lateinit var imageLoader: ImageLoader

imageLoader -> the image loader used by coil library to load the image and by-passing the https self-signed certificates

Link copied to clipboard

localUser -> the helper to manage the local sessions stored locally in the device

Link copied to clipboard
lateinit var navigator: Navigator

navigator -> the navigator instance is useful to manage the navigation between the screens of the application

Link copied to clipboard

requester -> the instance to manage the requests with the backend

Functions

Link copied to clipboard
@Preview
fun App()

Common entry point of the Ametista application

Link copied to clipboard

Function to check whether are available any updates for each platform and then launch the application which the correct first screen to display

Function to check whether are available any updates for each platform and then launch the application which the correct first screen to display

Function to check whether are available any updates for each platform and then launch the application which the correct first screen to display

Link copied to clipboard

Function to manage correctly the back navigation from the current screen

Function to manage correctly the back navigation from the current screen

Function to manage correctly the back navigation from the current screen

Link copied to clipboard

Function to get the current screen dimension of the device where the application is running

Function to get the current screen dimension of the device where the application is running

Function to get the current screen dimension of the device where the application is running

Link copied to clipboard
actual fun getImagePath(imagePic: PlatformFile?): String?

Function to get the image picture's path

expect fun getImagePath(imagePic: PlatformFile?): String?

Function to get the image picture's path

actual fun getImagePath(imagePic: PlatformFile?): String?

Function to get the image picture's path

Link copied to clipboard
fun main()

The main function is used as entry point of Nova's application for Desktop

Link copied to clipboard
actual fun setUserLanguage()

Function to set locale language for the application

expect fun setUserLanguage()

Function to set locale language for the application

actual fun setUserLanguage()

Function to set locale language for the application

Link copied to clipboard

Function to init the local session and the related instances then start the user session