Android Studio – how to fix string must be provide to a text widget?
How to fix this problem this string cannot be provided in the text widget. How can I solve this? My code: code
How to fix this problem this string cannot be provided in the text widget. How can I solve this? My code: code
I would like to ask is it possible to update/edit RTL languages with placeholders? Other languages will correctly display the %1$s placeholder but in RTL languages is s$1%. Hence, it will crash if the placeholder will be replaced using getString(R.string.sample,…
I have a global object that store 2 custom class objects, something like this: /////// Separated object file //////// object ApplicationData { var profiledata:ProfileData = ProfileData(null) var OVOlists = ArrayList<OVOList>() } /////// Separated class file //////// class OVOList ( private…
A problem occurred evaluating root project 'android'. A problem occurred configuring project ':app'. Could not open project generic class cache for build file 'C:UsersInFED LaptopDocumentsGitHubsustain-and-saveandroidappbuild.gradle' (C:UsersInFED Laptop.gradlecaches7.5.1scriptscgusqz2rdd56uogb1dahk58km). > BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class…
I have LazyColumn and I want to pass 2 lists in items, how I can do it I want to do something like that if it is possible LazyColumn( modifier = Modifier.fillMaxHeight(0.85f) ) { items(cartItems,products) { cartItems,product -> CardProduct2(cartItems, product)…
i would like to have a "global" object that persist in the application, even when you start other activity or fragment, its kind of annoying to use a bundle to pass the same elements in the app. Maybe with viewmodels?…
I'm writing a Kotlin Multiplatform project in Android Studio. As a result, I have multiple sourceSets configured in the project but some of them are empty. Removing them from the Gradle build is not possible as they are required for…
I am going to make the imageView and textView side by side in a cardView. It looks good when in design but behaves weird when I run the app. My item_offer_list.xml file is as below: <?xml version="1.0" encoding="utf-8"?> <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"…
This is my issue when I try to Login on Emulator! How do I resolve this?
I made very little changes to an App working properly before. And I tried to run it and got Can not extract resource from com.android.aaptcompiler.ParsedResource@16fe6971. error. I have no idea what is wrong, I did some search and found out…