Tusky-App-Android/app/src/main/java/com/keylesspalace/tusky/components/account/media
Christophe Beyls ec599c8f8a
Replace java.util.Random with kotlin Random object (#4364)
This also improves randomness by avoiding to reinitialize the random
number generator repeatedly from a seed based on the current time.
Typically, if the number generator is reinitialized repeatedly at
non-random times (like multiple times in a row), then generated numbers
have a higher chance of repeating.

The Kotlin Random object is only initialized once, using the best seed
available for the current Android version.
2024-04-10 21:47:27 +02:00
..
AccountMediaFragment.kt upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
AccountMediaGridAdapter.kt Replace java.util.Random with kotlin Random object (#4364) 2024-04-10 21:47:27 +02:00
AccountMediaPagingSource.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
AccountMediaRemoteMediator.kt Fix some warnings & recreate lint-baseline.xml (#4278) 2024-02-25 16:20:26 +01:00
AccountMediaViewModel.kt Fix some warnings & recreate lint-baseline.xml (#4278) 2024-02-25 16:20:26 +01:00
GridSpacingItemDecoration.kt AccountMediaFragment improvements (#2684) 2022-09-02 16:52:47 +02:00
SquareImageView.kt AccountMediaFragment improvements (#2684) 2022-09-02 16:52:47 +02:00