My Gradle
// Coil
implementation io.coil-kt:coil-compose:1.4.0
Problem Description
Previously I used the coil together with Google's accompanist , but when I migrate to the new version of the coil as the documentation suggests I'm having...
Came across a strange thing yesterday. When i pass color values to the focusedSupportingTextColor / unfocusedSupportingTextColor fields of TextFieldDefaults.color() , the text colour does not update. Below is my code:
@Composable
fun...
I am working on getting a RecyclerView to display data from a big ArrayList of gardening tips. The RecyclerView row is full screen. When user scrolls to the end of the list, a random item should be pulled.
I have it half-working. But the problem is...
I'm currently working on an Android project that involves OpenGL ES development. However, I've encountered an issue where I can't seem to find the definition for GL_INT_2_10_10_10_REV when working with GLES on Android.
This definition is...
I got this error when I try to run the Tic Tac Toe game: java.lang.IllegalStateException: Could not find method click(View) in a parent or ancestor Context for android:onClick attribute defined on view class...
I am trying to write a Velocity Template in Intellij Ultimate, which includes plugins for Velocity.
However I already run into issues on this simple example:
package ${PACKAGE_NAME}
I don't understand why I am getting an error here. My final...
I installed Nethunter with the Magisk module on my Android tablet.When I try to monitor the network at my home with Wireshark,it only shows me the incoming and outgoing packets from the IP of the device.For example,if the IP of the device is...
At least in my two xiaomi's phones when I install my app, it doesn't have all notifications permission (only vibrate, badge and lock screen) like in the pic.
What can I do to in my app to have all the notification permissions enabled by...
I am receiving the set of error messages copied below when running flutter run on my project in Visual Studio Code.
Launching lib/main.dart on SM A127F in debug mode...
e:...
When the coupon which is the small icon is gone, this part in the layout
The green box I have drawn should be where the description should be aligned.
I have tried using the barrier but could get that to work
I have the following layout...
I do not want osmdroid to use the external storage location to store cache of tiles. Instead, I want it to use the app's getCacheDir() location. This is the code I have done to achieve this:
org.osmdroid.config.IConfigurationProvider osmConf =...
I am creating an app with a html, css, js inside a webview, and also several databases to store data. My app is designed to be used for 10 to 11 hours each time.
A big problem was found that android will kill my app in background after leaving for a...
Wrote a script to monitor folders with exclude option with inotifywait and trapped into problem with substitution in command. Script:
exc= /data/local/tmp/1/|/data/local/tmp/2/
mkdir -p $p1/1 $p1/2
#set -f #globbing off, no changes with this flag...
I was using Android Studio for Jetpack Compos, and now I do not have my device because I am in another country. I went to Android ide and was trying to make an application using Compos, but the expected result in both cases is a white screen. Hope...
ok so i have two rows of checkboxes that the user can either press checked or uncheked to each individual column so i came up with this idea of code :
fun HowAmIDoingComponent(
modifier: Modifier = Modifier,
selfAssessmentList: List,...
As I'm progressing with my latest personal project in kotlin, Android Studio, I've recently realised that I have to make my components scale uniformly on every type of screen irrespective of screen's resolution or dpi (density per inch). The problem...
Tried to call method from other class that returns data. However, it's either my app is going to crash or the data will be null
LOGIN CLASS:
public class LoginActivity extends AppCompatActivity {
public static String emailLogin;
protected void...
I have this below composable. when I scroll the lazycolumn, the bottomsheet closes. how to fix this? I have attached the video of the same issue below.
val navController = rememberNavController()
val sheetState = rememberModalBottomSheetState(...
It looks like to use the Spotify API on android, I need to use the Spotify Android SDK. This requires the user of my app to have Spotify installed! I just want to get small things like genres and user playlists for my app, I don't want playback...
I am currently using the libraries from this repository in my application.
I want to make some changes to the library, so I downloaded the repository, imported the modules inside Android Studio, and updated the settings.gradle and build.gradle files...
I made a watch face using the Jetpack Watch Face API and I'm trying to get the bpm data into a string as to paint them into the canvas. I don't want to use complication as it seems that they will go away sometime in the futur (and only useable from...
I created a recyclerView variable in an xml named activiy_main.xml and i want to access it in the MainActivity file
I tried different ways to import the xml file but I get an error each time.
I added a picture of the navigation in the project, what...
I'm new to Android Application development and there is so much that I have to learn.
I'm creating an app that has multiple activities. I want to find a way to create a service that can play different background music on a loop based on different...
I wanted to implement charts in my android app, so i find Kandy, a library for kotlin. I tried to use it, but after lots of problem that i solved adding exclusions and mergers in the build.gradle file, an another problem pop up. Can anyone tell me...
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения