From 6f71043c34fd127c235fee2f4b44660cae8d9703 Mon Sep 17 00:00:00 2001 From: Ajinkya Date: Tue, 7 Mar 2023 13:36:56 +0000 Subject: [PATCH] updated README.md added usefull comment --- tutorials/Image_And_Icons_Manipulations/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/Image_And_Icons_Manipulations/README.md b/tutorials/Image_And_Icons_Manipulations/README.md index 227fa791b9..71698f2aa3 100755 --- a/tutorials/Image_And_Icons_Manipulations/README.md +++ b/tutorials/Image_And_Icons_Manipulations/README.md @@ -67,7 +67,7 @@ fun main() = singleWindowApplication { val density = LocalDensity.current Column { AsyncImage( - load = { loadImageBitmap(File("sample.png")) }, + load = { loadImageBitmap(File("sample.png")) },//Use the absoulte path where ever required. painterFor = { remember { BitmapPainter(it) } }, contentDescription = "Sample", modifier = Modifier.width(200.dp) @@ -80,7 +80,7 @@ fun main() = singleWindowApplication { modifier = Modifier.width(200.dp) ) AsyncImage( - load = { loadXmlImageVector(File("compose-logo.xml"), density) }, + load = { loadXmlImageVector(File("compose-logo.xml"), density) },//Use the absoulte path where ever required. painterFor = { rememberVectorPainter(it) }, contentDescription = "Compose logo", contentScale = ContentScale.FillWidth,