Issue I am trying to import external dependencies for implimenting Tables in my jetpack compose application, However whenever I try to import a dependency published with Jitpack it is showing error. This is my build.gradle.kts (:app) plugins { id("com.android.application") id("org.jetbrains.kotlin.android")
Continue readingTag: android-jetpack-compose
How to get feedback from users in closed testing in google console
Issue Hi am new in android development and i have add my email lists to closed testing .. 4 users has download and open the app but only 1 testers opted came in google play .. and also how to
Continue readingGeneric type lambda function argument as a function argument
Issue I have the following code. Ideally onPreferenceChange: (Preferences.Key) -> Unit is what I would use to call the viewModel function which would assume the generic type of Preferences.Key with the type of value. However, this gives the following error:
Continue readingIs there a way to dynamically change the string in Text() of compose?
Issue For example, after some modification to the sample code snippet given in android developer’s site @Composable fun ClickCounter(clicks: Int, onClick: () -> Unit) { Button(onClick = onClick) { Text("I’ve been clicked $clicks times") } } it is possible to
Continue readingHow to prevent screen "flash" on locale change in Jetpack Compose with AppCompatDelegate?
Issue I added an In-app language picker for my Compose App following this article. but everytime I change the language the screen flashes. I guess it is due to configuration changes I downloaded the sample app out of curiosity and
Continue readingAndroid JetpackCompose spacer with weight and min height
Issue I have a Column that has a modifier with verticalScroll() on it that fills the screen height. There are elements at the top and bottom of the column that have a third element centred between them using two spacers
Continue readingCompose compiler upgrade
Issue This version (1.3.2) of the Compose Compiler requires Kotlin version 1.7.20 but you appear to be using Kotlin version 1.9.0 which is not known to be compatible. The Kotlin version and Compose compilation version do not match, so I
Continue readingcreating a rounded bottom border on a card
Issue I am trying to create a border at the bottom of a card using jetpack compose. Kind of like this in order to make the card feel like it has a thickness to it. I did manage to get
Continue readingAdd LazyRow or scrollable Row without increasing the width of parent
Issue I want to add a LazyRow to a Column that doesn’t have a width specified. (usually I would just do .fillMaxWidth() but I want the width to depend on the content) The problem is that it increases the width
Continue readingWhy do I get a warning when using AndroidView as the key of DisposableEffect?
Issue Is this writing method standard? Why do I get a warning? DisposableEffect( AndroidView(factory = { TextureView(context).apply { } }) ) { onDispose { } } Solution You are trying to pass a Composable as the key parameter of a
Continue reading