From b313ad63dbfb30adafb1f6709138fed3b456e0dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Mlynari=C4=8D?= Date: Fri, 19 Jul 2024 09:26:23 +0200 Subject: [PATCH] Replace unsplash images with picsum. --- .../performance/accelerate/HeavyScreenViewModel.kt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/PerformanceCodelab/app/src/main/java/com/compose/performance/accelerate/HeavyScreenViewModel.kt b/PerformanceCodelab/app/src/main/java/com/compose/performance/accelerate/HeavyScreenViewModel.kt index 28537d46f..76948f84c 100644 --- a/PerformanceCodelab/app/src/main/java/com/compose/performance/accelerate/HeavyScreenViewModel.kt +++ b/PerformanceCodelab/app/src/main/java/com/compose/performance/accelerate/HeavyScreenViewModel.kt @@ -80,12 +80,11 @@ private val poolOfTags = listOf("Lorem", "ipsum", "dolor", "sit", "amet", "consectetur", "adipiscing", "elit") private val poolOfImageUrls = listOf( - "https://source.unsplash.com/qwtCeJ5cLYs", - "https://source.unsplash.com/dBI_My696Rk", - "https://source.unsplash.com/JKUTrJ4vK00", - "https://source.unsplash.com/hpjSkU2UYSU", - "https://source.unsplash.com/HUJDz6CJEaM", - "https://source.unsplash.com/2pBo7hWjzIc" + "https://picsum.photos/id/57/2448/3264", + "https://picsum.photos/id/36/4179/2790", + "https://picsum.photos/id/96/4752/3168", + "https://picsum.photos/id/180/2400/1600", + "https://picsum.photos/id/252/5000/3281" ) private val stableRandom = Random(0)