Picking Images From Gallery Using Jetpack Compose

<p>Grab a cup of coffee &nbsp;and let&rsquo;s see how to pick images from the gallery using Jetpack Compose.</p> <p><img alt="" src="https://miro.medium.com/v2/resize:fit:700/1*P22eZ5gsGKLHTQ2eWOeIiA.jpeg" style="height:394px; width:700px" /></p> <h1>Setup</h1> <p>We need to use a dependency called&nbsp;<a href="https://coil-kt.github.io/coil/compose/" rel="noopener ugc nofollow" target="_blank"><strong>Coil</strong></a>&nbsp;in order to display the images. To add it just open&nbsp;<code>:app/build.gradle.kts</code>&nbsp;and paste this into the dependencies block.</p> <pre> dependencies { implementation(&quot;io.coil-kt:coil-compose:2.4.0&quot;) }</pre> <h1>Pick one image</h1> <p>Firstly, we need to create a variable that will store the photo&nbsp;<strong>URI (Uniform Resource Identifier).</strong></p> <p><a href="https://medium.com/@daniel.atitienei/picking-images-from-gallery-using-jetpack-compose-a18c11d93e12"><strong>Click Here</strong></a></p>