All Questions
Tagged with android-jetpack-compose android-studio
465
questions
0
votes
0
answers
18
views
Unresolved reference when adding module dependency in Gradle for Compose Multiplatform project
I'm having trouble resolving a module dependency in my Compose Multiplatform project. I have a module named designSystem under the path composeApp:core:designSystem, and I'm trying to include it in my ...
0
votes
0
answers
37
views
Jetpack Compose TextField Not Showing 'text' Property in LambdaTest/Appium Automation Testing
Description:
I am working on an Android application that utilizes both XML and Jetpack Compose for its UI components. The application runs correctly during normal use, but I am encountering issues ...
1
vote
1
answer
142
views
How NOT to create projects with Jetpack Compose using Android Studio
I can't create a normal project without jetpack-compose, it always includes its libraries and configurations in Android Studio, and the working project requires not using it.
I expected it to open ...
0
votes
0
answers
17
views
How to animate LazyList layout - replicate Recyclerview animation
Is it possible yet in Jetpack Compose to animate items in a LazyList when entering a page?
Expected result (the animation titled "Fall down")
Attempt before the Jetpack Compose era
...
0
votes
1
answer
166
views
Android - Error while creating a jetpack compose project on Android Studio
I'm now using this version of android studio:
Android Studio Jellyfish | 2023.3.1
Build #AI-233.14808.21.2331.11709847, built on April 12, 2024
Runtime version: 17.0.10+0--11572160 amd64
VM: OpenJDK ...
2
votes
1
answer
140
views
Android Studio's Split mode doesn't show the code
So as we all know the Split mode in Android Studio is supposed to be showing both code and previews of our composable functions (if any exist in a given file).
I managed to break it somehow, so that ...
1
vote
1
answer
40
views
Jetpack compose Lazy column with varying negative vertical arrangement
I am implementing a Lazycolumn to display gift cards in a stacked manner. Similar to the Samsung wallet.
data class GiftCard(
val giftCardUrl: String = "https://via.placeholder.com/150&...
0
votes
3
answers
2k
views
Android Studio. Gradle Sync error: Could not move temporary workspace
I am making a new project in Android Studio, but I have a problem when it is syncing gradle for the first time and I can't do anymore.
I get these error messages:
FAILURE: Build failed with an ...
0
votes
0
answers
36
views
How I can get back to start looping my playlist using Exoplayer in Jetpack Compose?
Consider my this code:
fun StartVideo() {
var videoIndex by remember{ mutableStateOf(1) }
val videoUri="https://example.com/video-"+videoIndex+".mp4";
val context = ...
1
vote
0
answers
44
views
Android studio preview isn't rendering
When I try to render a preview of my code I get this error:
java.lang.ClassCastException: class com.android.layoutlib.bridge.android.BridgeContext cannot be cast to class android.app.Activity (com....
1
vote
0
answers
57
views
Matching Boxes with Drag and Drop in Jetpack Compose
I've been struggling for days with what might be a very simple task. I've searched every resource and watched every video online, but to no avail.
What I'm trying to do is this: There will be one ...
1
vote
1
answer
57
views
Why doesn't UI Check Mode show all cases?
Android compose has a beautiful functionality called UI check mode allowing to find out fast if your app has any issues on other screen sizes. But for some reason after pressing Start UI Check Mode ...
2
votes
1
answer
651
views
In Android Studio what is enableEdgeToEdge in activity?
I am still using xml for view but when now I create a new activity it auto fills the enableEdgeToEdge. I am not sure what it is and what's the use of it can I remove it will that affect the activity
I ...
0
votes
1
answer
82
views
Remove auto modifier from compose function in Jellyfish
After updating Android Studio to Jellyfish, when I try to create a compose function using the "comp" keyword, the modifier is automatically added as a parameter to the function, how do I ...
0
votes
0
answers
47
views
In Jetpack Compose how can I navigate from a Scaffold with bottom navigation to where I came from?
I have a Scaffold with a bottom navigation. I navigate to this Scaffold from a root NavGraph when the user log in successfully. I made a completely new NavGraph which I call in the content section of ...