Relative Content

Tag Archive for androidandroid-jetpack-composeandroid-jetpack

Image Content Scale not working in Compose

I have a Compose code snippet where an image is displayed using rememberAsyncImagePainter. The image is getting cropped even though I set ContentScale.Inside. Here’s the code:

I am creating a class project the code seems fine however when i rebuilt it crash

this below is the error I get when rebuild @Binds methods’ parameter type must be assignable to the return type public abstract android.content.res.loader.AssetsProvider localAssetsProvider(@org.jetbrains.annotations.NotNull //and this also is showing @Binds methods’ parameter type must be assignable to the return type //problem seems to come from these tree code //the class assets provider implementation class AssetsProviderImpl […]