Companion

object Companion

Companion object containing the durations (in milliseconds) of the animations in the layouts.

Properties

ANIMATION_FRAME_FADEOUT
Link copied to clipboard
const val ANIMATION_FRAME_FADEOUT: Int = 400
Duration of the display of the fadeout of the first iteration of the logo frame animation in the splash screen.
NO_POST_TIMEOUT
Link copied to clipboard
const val NO_POST_TIMEOUT: Int = 2000
Waiting time for data fetching before the display of the notice indicating that the activity has no posts (for example, in the feed or highlights).
REFRESH_TIMEOUT
Link copied to clipboard
const val REFRESH_TIMEOUT: Int = 1500
Mock duration of the display of refresh icon when the screen is swiped (overridden by the time needed to complete the asynchronous fetching of data from the Firebase server).
SHIMMER_TIMEOUT
Link copied to clipboard
const val SHIMMER_TIMEOUT: Int = 2000
Mock duration of the display of the shimmer layout (overridden by the time needed to complete the asynchronous fetching of data from the Firebase server).
SPLASH_SCREEN_TIMEOUT
Link copied to clipboard
const val SPLASH_SCREEN_TIMEOUT: Int = 2600
Duration of the display of the splash screen.