id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
73,162,745
Viewing Blank Screen While Download app from Play store after upload Bundle in Play Console
<p>[I Uploaded APK as an bundle in google play console. While download Uploaded app from play console and open application it displays complete white screen. I can't able to find the root cause for this issue.</p> <p>Using Firebase as an Backend.</p> <p>Please help me to solve this issue. <strong>Thanks in Advance</str...
[I Uploaded APK as an bundle in google play console. While download Uploaded app from play console and open application it displays complete white screen. I can't able to find the root cause for this issue. Using Firebase as an Backend. Please help me to solve this issue. Thanks in Advance ] 1
firebase|android-studio|android-layout|firebase-realtime-database|google-cloud-firestore
0
2022-07-29T06:59:45.903Z
2,022
7
6
4
28
0
294
91
5
0
false
true
false
false
false
false
zero
73,162,871
Is it possible to use tilt controls in the background for an iOS / android app?
<p>I want to create an app for both android and iOS using tilt controls so that when I tilt the phone downwards it does something and when I tilt it up it does something different.</p> <p>The only thing I’m not sure about is if android and iOS allow you to run tilt controls in the background? I want the user to be able...
I want to create an app for both android and iOS using tilt controls so that when I tilt the phone downwards it does something and when I tilt it up it does something different. The only thing I’m not sure about is if android and iOS allow you to run tilt controls in the background? I want the user to be able to turn o...
android|ios|background-process|tilt-sensor
0
2022-07-29T07:11:50.613Z
2,022
7
7
4
14
0
633
79
4
0
false
true
false
false
false
false
zero
73,162,905
is there a way to override android api 26+ background activity restrictions?
<p>i'm building an app that uses a service that scans for wifi (wifimanager.startscan()) every 2 minutes. Since android api 26+ when background restrictions were introduced, it is not possible to scan for wifi from a background service. Is there a way to override these restrictions? I saw an answer that involved an 9in...
i'm building an app that uses a service that scans for wifi (wifimanager.startscan()) every 2 minutes. Since android api 26+ when background restrictions were introduced, it is not possible to scan for wifi from a background service. Is there a way to override these restrictions? I saw an answer that involved an 9inten...
java|android
0
2022-07-29T07:14:55.817Z
2,022
7
7
4
32
0
385
76
2
1
true
true
false
false
false
false
zero
73,162,907
How to create a ColorDrawable from Jetpack Compose Color?
<p>Is there a way to convert jetpack Compose's <code>androidx.compose.ui.graphics.Color</code> to <code>android.graphics.drawable.ColorDrawable</code> ?</p> <p>I tried <code>ColorDrawable(Color.Red.toArgb())</code> but its not working!</p>
Is there a way to convert jetpack Compose's androidx.compose.ui.graphics.Color to android.graphics.drawable.ColorDrawable ? I tried ColorDrawable(Color.Red.toArgb()) but its not working!
colors|android-jetpack-compose
1
2022-07-29T07:14:59.343Z
2,022
7
7
4
57
1
186
57
2
0
false
false
false
false
false
false
low
73,162,971
TransactionTooLargeException with Chrome WebView
<p>we're currently having an issue where we'll end up getting a TransactionTooLargeException when application is paused or when calling other activities (i.e. camera activity). The application is simply a wrapper for a web application using WebView and exposes BLE tag and a barcode reader through a javascript interface...
we're currently having an issue where we'll end up getting a TransactionTooLargeException when application is paused or when calling other activities (i.e. camera activity). The application is simply a wrapper for a web application using WebView and exposes BLE tag and a barcode reader through a javascript interface. A...
java|android|webview
0
2022-07-29T07:20:24.720Z
2,022
7
7
4
33
1
1,125
48
3
1
true
false
false
false
false
false
zero
73,163,088
How To Fix Intel HAXM Install Error on Window 11 64 bit on i3 4030u
<p>I am using flutter with android studio and trying to setp by AVD but facing few issues, looking for a fix may that I can run my AVD.</p> <p><strong>My Laptop specs are</strong> <br> i3 4030u <br> 8GB Ram <br> SSD 128 GB <br> Intel VTx on (Virtulization on) <br> Hyper V Disabled <br> Even Credential Gaurd is Disabled...
I am using flutter with android studio and trying to setp by AVD but facing few issues, looking for a fix may that I can run my AVD. My Laptop specs are i3 4030u 8GB Ram SSD 128 GB Intel VTx on (Virtulization on) Hyper V Disabled Even Credential Gaurd is Disabled Hyper-V is Disbaled Intel Virtualization is Enabled An e...
flutter|android-studio|virtual-machine|avd|virtualization
-1
2022-07-29T07:30:49.500Z
2,022
7
7
4
86
1
803
67
5
0
false
false
false
false
false
true
negative
73,163,128
ActivityResultLauncher for 3 activities
<p>I have 3 activities.</p> <p>The first activity is a map (using Google Map API). In this activity, I also have a button that will direct to second activity.</p> <p>In Second activity, it's just for additional information but there is a button. When this button is clicked, it will be directed to third activity.</p> <p...
I have 3 activities. The first activity is a map (using Google Map API). In this activity, I also have a button that will direct to second activity. In Second activity, it's just for additional information but there is a button. When this button is clicked, it will be directed to third activity. In third activity, ther...
java|android|android-intent|android-activity|registerforactivityresult
0
2022-07-29T07:34:14.670Z
2,022
7
7
4
47
1
939
39
5
4
true
false
false
false
false
false
zero
73,163,154
How to get current state of FitsSystemWindows param?
<p>I use <code>WindowCompat.setDecorFitsSystemWindows(window, false)</code> for display content edge-to-edge for activity.</p> <p>Is it possible to get programmatically state FitsSystemWindows activity param? I want save it and restore after backing to previous fragment.</p>
I use WindowCompat.setDecorFitsSystemWindows(window, false) for display content edge-to-edge for activity. Is it possible to get programmatically state FitsSystemWindows activity param? I want save it and restore after backing to previous fragment.
android
0
2022-07-29T07:36:29.560Z
2,022
7
7
4
13
0
248
52
1
0
false
true
false
false
false
false
zero
73,163,176
Add Floating button in auto-generated map activity from Android Studio
<p>Dears,</p> <p>I'd like to add a Floating button to the Map Layout auto-generated by Android studio. I tried multiple solutions but none of them make the button appearing: it seems it's always showing behind the fragment.</p> <p>How can I solve this issue? I'd like to add the classic circle floating button on bottom ...
Dears, I'd like to add a Floating button to the Map Layout auto-generated by Android studio. I tried multiple solutions but none of them make the button appearing: it seems it's always showing behind the fragment. How can I solve this issue? I'd like to add the classic circle floating button on bottom right over the ma...
android|google-maps|android-fragments
0
2022-07-29T07:38:23.720Z
2,022
7
7
4
16
1
399
70
3
1
true
false
false
false
false
false
zero
73,163,214
How to launch an activity when device is unlock with Kotlin Android
<p>I am just beginner to Android Development. I watch some tutorial from YouTube to begin. Now i want to add some feature to my app like in trueCaller app but in different scenario. Whenever my phone unlock i want counter will increment with one. <a href="https://i.stack.imgur.com/dizK7.gif" rel="nofollow noreferrer">G...
I am just beginner to Android Development. I watch some tutorial from YouTube to begin. Now i want to add some feature to my app like in trueCaller app but in different scenario. Whenever my phone unlock i want counter will increment with one. Gif .
android|kotlin
0
2022-07-29T07:41:39.223Z
2,022
7
7
4
48
1
249
67
2
0
false
false
false
false
false
false
zero
73,163,275
Android + Kotlin + Hilt: Activity has no zero argument constructor
<p>I'm working on a multi-module app with Kotlin and Hilt, and my MainActivity crashes when starting with the following exception:</p> <pre><code>2022-07-29 09:32:00.547 23850-23850/com.myApp.myApp E/AndroidRuntime: FATAL EXCEPTION: main Process: com.myApp.myApp, PID: 23850 java.lang.RuntimeException: Unable to instant...
I'm working on a multi-module app with Kotlin and Hilt, and my MainActivity crashes when starting with the following exception: [CODE] MainActivity: [CODE] build.gradle: [CODE] Application class: [CODE] Provider module: [CODE] MainViewModel: [CODE] Any help?
android|kotlin|dependency-injection|dagger-hilt
0
2022-07-29T07:47:41.810Z
2,022
7
7
4
83
1
258
66
4
6
true
false
false
false
false
false
zero
73,163,378
Java "Suspicious assignment in copy constructor" for byte[] - What is suspicious?
<p>I have a copy constructor for class, but Android Studio code inspection throws a warning I don't understand:</p> <blockquote> <p>Suspicious assignment in copy constructor of 'java.util.Arrays.copyOf(other.value, other.value.length)' to field value</p> </blockquote> <pre><code>public class CpuVariable extends BaseIde...
I have a copy constructor for class, but Android Studio code inspection throws a warning I don't understand: Suspicious assignment in copy constructor of 'java.util.Arrays.copyOf(other.value, other.value.length)' to field value [CODE] Changing code to [CODE] would remove the warning, but this is not an option since I n...
java|android-studio
6
2022-07-29T07:55:07.090Z
2,022
7
7
4
99
1
448
81
2
2
true
false
false
false
false
false
medium
73,163,593
TextChanged event triggers multiple times
<p>I am working on android app for <strong>Honeywell EDA51</strong> (barcode scanner). On certain pages in entry field I want to make it work for both scanning with <strong>EDA51</strong> and manual typing (character by character)</p> <p>When I tried using <code>Completed()</code> event, I get good functionality for ma...
I am working on android app for Honeywell EDA51 (barcode scanner). On certain pages in entry field I want to make it work for both scanning with EDA51 and manual typing (character by character) When I tried using Completed() event, I get good functionality for manual typing but while scanning it has problem because it ...
xamarin|xamarin.forms|xamarin.android|event-handling|textchanged
0
2022-07-29T08:13:46.957Z
2,022
7
8
4
95
0
2,645
41
5
3
true
true
false
false
false
false
zero
73,163,645
Requirements for WEB_MESSAGE_LISTENER feature to be supported
<p>What are the requirements for the <a href="https://developer.android.com/reference/androidx/webkit/WebViewCompat.WebMessageListener" rel="nofollow noreferrer"><code>WEB_MESSAGE_LISTENER</code></a> feature to be supported? Is there a specific version of the WebView APK on the device to be met?</p> <p>If the feature i...
What are the requirements for the WEB_MESSAGE_LISTENER feature to be supported? Is there a specific version of the WebView APK on the device to be met? If the feature is not supported, could it be possible to require a minimum WebView version for the feature to be supported? We tried to look at the Google Chrome versio...
android|kotlin|webview|android-webview|postmessage
0
2022-07-29T08:19:20.940Z
2,022
7
8
4
36
0
828
61
5
0
false
true
false
false
false
false
zero
73,163,655
Cannot run flutter project on emulator
<p>I have downloaded Android Studio Chipmunk|2021.2.1 Patch 1<br /> I have java version 8 (build 1.8.0_341-b10)<br /> I am trying to run main.dart (default flutter program ) on vscode but it does not work\</p> <p>I have run flutter doctor command to check for any issues but everything is correct <a href="https://i.sta...
I have downloaded Android Studio Chipmunk|2021.2.1 Patch 1 I have java version 8 (build 1.8.0_341-b10) I am trying to run main.dart (default flutter program ) on vscode but it does not work\ I have run flutter doctor command to check for any issues but everything is correct The error list is: [CODE] My gradle wrapper p...
java|flutter|android-studio|kotlin|gradle
0
2022-07-29T08:20:38.633Z
2,022
7
8
4
111
1
675
38
5
4
true
false
false
false
false
false
zero
73,163,667
Appium in .net drag and drop releases slow
<p>I want to drag and drop an element with selenium. But I noticed that it takes a little bit before he releases after the moveto. Is there a way to speed this up so it will release immediately when the moveto is done?</p> <p>my current code is:</p> <pre><code>new TouchAction(_driver) .LongPress(200, 200).MoveTo(200,...
I want to drag and drop an element with selenium. But I noticed that it takes a little bit before he releases after the moveto. Is there a way to speed this up so it will release immediately when the moveto is done? my current code is: [CODE] my driver I setup as following: [CODE]
c#|selenium-webdriver|appium|appium-android
0
2022-07-29T08:21:32.023Z
2,022
7
8
4
22
0
281
42
4
2
true
true
false
false
false
false
zero
73,163,800
Why ANativeWindow_setFrameRate doesn't work
<p>I use the APIs in <a href="https://developer.android.com/guide/topics/media/frame-rate" rel="nofollow noreferrer">https://developer.android.com/guide/topics/media/frame-rate</a>, it doesn't work on switching display refreshrate and without return any error.</p> <p>I tried this ANativeWindow_setFrameRateWithChangeStr...
I use the APIs in https://developer.android.com/guide/topics/media/frame-rate , it doesn't work on switching display refreshrate and without return any error. I tried this ANativeWindow_setFrameRateWithChangeStrategy(app->window, 60, ANATIVEWINDOW_FRAME_RATE_COMPATIBILITY_FIXED_SOURCE, ANATIVEWINDOW_CHANGE_FRAME_RATE_A...
android|android-ndk|android-sdk-tools
0
2022-07-29T08:32:50.867Z
2,022
7
8
4
18
0
444
43
3
0
false
true
false
false
false
false
zero
73,163,917
Is it possible to identify users across multiple app installations and app versions without having them create an account?
<p>I used the ID of the device but that changes if the user reinstalls the app (or I uploada new version)</p> <p>I want to keep track of consumable in-app purchases but those get removed when I reinstall the app. I use revenuecat but the ID they generate for a user also changes after reinstalling</p> <p>How do apps wit...
I used the ID of the device but that changes if the user reinstalls the app (or I uploada new version) I want to keep track of consumable in-app purchases but those get removed when I reinstall the app. I use revenuecat but the ID they generate for a user also changes after reinstalling How do apps without a registrati...
android|ios|flutter
0
2022-07-29T08:42:46.710Z
2,022
7
8
4
35
0
526
122
3
0
false
true
false
false
false
false
zero
73,163,958
URI scheme in your app's manifest is not set up correctly Error
<p>I'm trying to upload a file to dropbox using my flutter mobile app.I get the below error when trying to upload the file to drop box.I'm using the dropbox_client package to access, upload and download a file from dropbox</p> <pre><code>E/MethodChannel#dropbox( 6383): Failed to handle method call E/MethodChannel#dropb...
I'm trying to upload a file to dropbox using my flutter mobile app.I get the below error when trying to upload the file to drop box.I'm using the dropbox_client package to access, upload and download a file from dropbox [CODE] E/flutter ( 6383): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Platform...
flutter|dart|android-manifest|dropbox|dropbox-api
0
2022-07-29T08:46:01.283Z
2,022
7
8
4
41
1
822
63
5
2
true
false
false
false
false
false
zero
73,164,065
How to Remove special Characters from Java String at the end and at the beginning
<p>lets say i have a string like</p> <p><code>String examplestring = &quot;%,.&amp;/)&quot;hello, mynameis, Fatih-Mehmet!And yours?insidedot.2874d3&quot;(.)§(&quot; </code></p> <p>And i would want to extract the core part of</p> <p><code>String goalstring = &quot;hello, mynameis, Fatih-Mehmet!And yours?insidedot.2874...
lets say i have a string like String examplestring = &quot;%,.&/)&quot;hello, mynameis, Fatih-Mehmet!And yours?insidedot.2874d3&quot;(.)§(&quot; And i would want to extract the core part of String goalstring = &quot;hello, mynameis, Fatih-Mehmet!And yours?insidedot.2874d3&quot; So keeping all special characters within ...
java|android|android-appcompat
0
2022-07-29T08:56:51.363Z
2,022
7
8
4
40
1
459
81
3
0
false
false
false
false
false
false
zero
73,164,092
How to delete a value in a list using index using python language
<p>How do you delete the <code>'+'</code> in the list below?</p> <pre><code>Cell_numbers=[+254745532286, +1744573929] </code></pre>
How do you delete the '+' in the list below? [CODE]
python|android|list|script|pydroid
0
2022-07-29T08:59:30.953Z
2,022
7
8
4
29
1
51
65
5
1
true
false
false
false
false
false
zero
73,164,138
How to send JSON as Retrofit POST request
<p>I'm trying to send a POST request in Retrofit for below JSON.</p> <pre><code>{&quot;data&quot;:[&quot;dog playing football&quot;,45,256,256,2,5]} </code></pre> <p>I have sent the same request using Volley. Now I'm switching to Retrofit.</p> <pre><code> val data = JSONObject() val arr = JSONArray() arr.pu...
I'm trying to send a POST request in Retrofit for below JSON. [CODE] I have sent the same request using Volley. Now I'm switching to Retrofit. [CODE] How can I send the same using Retrofit?
android|retrofit2
0
2022-07-29T09:03:33.227Z
2,022
7
9
4
29
1
189
41
2
2
true
false
false
false
false
false
zero
73,164,179
Setting Textview in java file
<p>I am making app which use a button and textview. each time user press the button to calculate number, Textview will display a sentence. if A &gt;5 textview will display &quot; good &quot;, if A &gt; 8, textview will display &quot; excellent&quot; and I want words &quot;good&quot; and &quot; excellent&quot; will be s...
I am making app which use a button and textview. each time user press the button to calculate number, Textview will display a sentence. if A >5 textview will display &quot; good &quot;, if A > 8, textview will display &quot; excellent&quot; and I want words &quot;good&quot; and &quot; excellent&quot; will be shown by m...
java|android|string|textview|settext
0
2022-07-29T09:06:55.317Z
2,022
7
9
4
38
1
542
29
5
1
true
false
false
false
false
false
zero
73,164,193
Adb backup does not work on my HarmonyOS 2.0 phone
<p>When I tried to back up my app data, it doesn't work. Specs are listed below:</p> <ul> <li>Huawei mate 10</li> <li>HarmonyOS 2.0.0</li> <li>version: 2.0.0.230</li> </ul> <p>I just run</p> <pre><code>adb backup -f phi.ab -noapk -noshared -nosystem com.PigeonGames.Phigros </code></pre> <p>when the app that I want to b...
When I tried to back up my app data, it doesn't work. Specs are listed below: Huawei mate 10 HarmonyOS 2.0.0 version: 2.0.0.230 I just run [CODE] when the app that I want to backup is open. But my phone doesn't even display the &quot;full backup&quot; interface. My computer shows: [CODE] Then nothing. It just creat a b...
android|adb|huawei-mobile-services|harmonyos
1
2022-07-29T09:07:51.303Z
2,022
7
9
4
88
1
540
50
4
2
true
false
false
false
false
false
low
73,164,278
How to make notification button call function in android
<p>I'm beginner in adroid. I know that addaction method make button. But every example code call intent with view. I want to call function without view. exactly I want to execute other app when I press button. Is there like onclick method in notification?</p>
I'm beginner in adroid. I know that addaction method make button. But every example code call intent with view. I want to call function without view. exactly I want to execute other app when I press button. Is there like onclick method in notification?
android|android-notifications|android-button
0
2022-07-29T09:13:36.237Z
2,022
7
9
4
24
0
252
56
3
0
false
true
false
false
false
false
zero
73,164,303
Why does other projects are working fine without neenbedankt dependency in Android studio?
<p><strong>Please observe the below &quot;image 1.jpg&quot;</strong></p> <p><a href="https://i.stack.imgur.com/6ZxPg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6ZxPg.png" alt="enter image description here" /></a></p> <p><strong>Now, please observe the below &quot;image 2.jpg&quot;</strong></p> <...
Please observe the below &quot;image 1.jpg&quot; Now, please observe the below &quot;image 2.jpg&quot; You can see that, for &quot;image 1&quot;, 6 package are created, and for &quot;image 2&quot; only 3 packages are created which are expected as well. Now the thing is, if you create any new project or even in your exi...
android|android-studio
0
2022-07-29T09:15:14.233Z
2,022
7
9
4
11
0
876
90
2
0
false
true
false
false
false
false
zero
73,164,354
What are the latest methods used in Firebase storage with Flutter
<p>I am trying to get upload status of the files i try to upload it to Firebase Storage. But i think the latest methods to get the status from firbase storage has changed and i unable to find what are the latest methods. Please help me to resolve this problem</p> <pre><code>uploadToFirebase() { String fileName = _p...
I am trying to get upload status of the files i try to upload it to Firebase Storage. But i think the latest methods to get the status from firbase storage has changed and i unable to find what are the latest methods. Please help me to resolve this problem [CODE] The above code is in a seperate STateful Class [CODE] No...
android|flutter|firebase|dart|firebase-storage
0
2022-07-29T09:19:38.220Z
2,022
7
9
4
27
1
567
65
5
2
true
false
false
false
false
false
zero
73,164,437
Android Notification is not canceling after workManager completes
<p>I am using Android WorkManager with setForegroundAsync, But the notification is not canceling after workManager completes.</p> <p>OfflinePushWorkManager is a work manager class to push offline stuff to the server.</p> <pre><code>class OfflinePushWorkManager(var context: Context, workerParams: WorkerParameters) : Cor...
I am using Android WorkManager with setForegroundAsync, But the notification is not canceling after workManager completes. OfflinePushWorkManager is a work manager class to push offline stuff to the server. [CODE] Calling Sequense [CODE]
android|android-studio|android-notifications|android-workmanager|workmanagers
0
2022-07-29T09:26:19.133Z
2,022
7
9
4
43
0
237
65
5
2
true
true
false
false
false
false
zero
73,164,521
Navigation in Jetpack Compose keeps crashing
<p>I am trying to use Navigation to access a single function with a parameter, from two different functions. When I try it in the emulator, the app crashes. The app builds normally.</p> <p>I'm using compose 1.0.1 and navigation 2.5.0</p> <p>This is the Navigation function:</p> <pre><code>@Composable fun Nav() { va...
I am trying to use Navigation to access a single function with a parameter, from two different functions. When I try it in the emulator, the app crashes. The app builds normally. I'm using compose 1.0.1 and navigation 2.5.0 This is the Navigation function: [CODE] This is the Main function, here I use TabRow to navigate...
android|android-studio|android-jetpack-compose
0
2022-07-29T09:31:47.040Z
2,022
7
9
4
139
0
587
44
3
7
true
true
false
false
false
false
zero
73,164,522
Skipping implicit compile tasks during Android lint
<p>Please note that I am not an Android dev, I work on iOS. I am helping out the Android team, trying to improve some of their build times on our build machine.</p> <p>The build process involves building several variants, with each build of a variant running <code>lint</code> prior to building. Running <code>lint</code...
Please note that I am not an Android dev, I work on iOS. I am helping out the Android team, trying to improve some of their build times on our build machine. The build process involves building several variants, with each build of a variant running lint prior to building. Running lint is done using gradle using syntax ...
android|android-gradle-plugin
0
2022-07-29T09:31:50.143Z
2,022
7
9
4
17
0
1,703
51
2
2
true
true
false
false
false
false
zero
73,164,594
rounder corner media view
<p>I create a ads type <strong>native advance</strong> for my app, with code below</p> <pre><code> &lt;com.google.android.gms.ads.nativead.NativeAdView xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; android:layout_width=&quot...
I create a ads type native advance for my app, with code below [CODE] If i use card view, interface will rounder corner all side, i do not want to that, i want to just 2 side rounder corner How i can rounder corner for media view side top right and top left.
android|xml|view
1
2022-07-29T09:36:51.820Z
2,022
7
9
4
24
1
258
25
3
1
true
false
false
false
false
false
low
73,164,708
Adding Spaces between Tabs in Tab layout in android?
<p>I am working on Android. I created a Tab layout with a view pager, and set the borders of a tab. I want to create spaces between tabs. I created separate files in drawable for the tab background and tab indicator. The screen shot of my app and code is attached below. I am glad if some one could help.</p> <p><a href...
I am working on Android. I created a Tab layout with a view pager, and set the borders of a tab. I want to create spaces between tabs. I created separate files in drawable for the tab background and tab indicator. The screen shot of my app and code is attached below. I am glad if some one could help. [CODE] [CODE]
android|android-studio|android-layout
0
2022-07-29T09:44:25.707Z
2,022
7
9
4
40
1
315
52
3
2
true
false
false
false
false
false
zero
73,164,740
How does navigation component works in navigation drawer ? what proper code is needed to use navigation component?
<p>[![<strong>AS you can see on clicking nav_home then another nav_menu this seems to overlap the fragment which is really confusing for me. As I might need help to understand this better...</strong> <em>Also please focus on emulator only</em>][1]][1]</p> <p><a href="https://i.stack.imgur.com/PMXQI.png" rel="nofollow n...
[![ AS you can see on clicking nav_home then another nav_menu this seems to overlap the fragment which is really confusing for me. As I might need help to understand this better... Also please focus on emulator only ][1]][1] [CODE] This is the onNavigationItemSelected() in DashBoardActivity after onCreate() [CODE] wher...
java|android|android-studio|navigation-drawer|android-architecture-navigation
0
2022-07-29T09:47:05.760Z
2,022
7
9
4
21
0
497
114
5
4
true
true
false
false
false
false
zero
73,164,768
How to cancel a coroutine if already running?
<p>I'm looking for filter a list on user input (SearchView)</p> <pre><code>fun onQuery(query: String) { viewModelScope.launch(Default) { val personsFound = persons.filter { person -&gt; person.nom.contains(query) || person.prenom.contains(query) } with...
I'm looking for filter a list on user input (SearchView) [CODE] If the user tap quickly on the keyboard the function will be called many times and sometimes before the previous call is finished. So I'm looking to stop the coroutine if a new call is done and the coroutine is already running. How can I achieved this plea...
android|kotlin|kotlin-coroutines|coroutine
0
2022-07-29T09:49:44.203Z
2,022
7
9
4
75
1
346
45
4
2
true
false
false
false
false
false
zero
73,164,788
Android studio only show blank files
<p>I closed the emulator tab and all of a sudden no files can be viewed, except the first row of one .arb language file.</p> <p>It doesn't matter what kind of file it is, it's not showing up and I can't write anything in the text window. I quit android studio and restarted the computer but it still the same.</p> <p>How...
I closed the emulator tab and all of a sudden no files can be viewed, except the first row of one .arb language file. It doesn't matter what kind of file it is, it's not showing up and I can't write anything in the text window. I quit android studio and restarted the computer but it still the same. How can I fix this?
android-studio
0
2022-07-29T09:51:29.027Z
2,022
7
9
4
10
1
319
36
1
0
false
false
false
false
false
false
zero
73,164,804
Is there any ways to know which language user is typing in EditText ? or Restrict user to type in English only
<p>Any one have idea of getting language of user, who is typing in the <code>EditText</code>.</p> <h4>What I Have Tried ?</h4> <ol> <li>Please do not suggest Google's <code>com.google.mlkit</code> , I have already tried but not working when user types fast.</li> <li>I have also tried setting up <code>android:digits=&qu...
Any one have idea of getting language of user, who is typing in the EditText . What I Have Tried ? Please do not suggest Google's com.google.mlkit , I have already tried but not working when user types fast. I have also tried setting up android:digits=&quot;All Alfabets&quot; , It is not working when I long press and p...
android|kotlin|keyboard|user-input
0
2022-07-29T09:52:43.553Z
2,022
7
9
4
49
1
389
110
4
0
false
false
false
false
false
false
zero
73,164,865
RecycleView output all null
<p>I wanna ask regarding this recycleview issues, my code doesnt show any problem,but why my recycleview output became like this <a href="https://i.stack.imgur.com/o6C7m.png" rel="nofollow noreferrer">RecycleView Output</a>. I had tried by change <code>switch case()</code> to <code>if else()</code> but it will give err...
I wanna ask regarding this recycleview issues, my code doesnt show any problem,but why my recycleview output became like this RecycleView Output . I had tried by change switch case() to if else() but it will give error if I write throw new IllegalStateException(&quot;Unexpected value:&quot; + data.getItem()); at the en...
java|android|firebase-realtime-database|android-recyclerview
0
2022-07-29T09:57:48.407Z
2,022
7
9
4
21
1
549
27
4
2
true
false
false
false
false
false
zero
73,165,141
Jetpack Compose - Capture KeyDown Key Event In Text Field
<p>When i add onKeyEvent on my TextField and press keyboard button i can handle only KeyUp event, but not KeyDown. Actually i need detect long press on ENTER key, may by there is an easier way</p> <pre><code>modifier = Modifier .onKeyEvent { when (it.type) { Key...
When i add onKeyEvent on my TextField and press keyboard button i can handle only KeyUp event, but not KeyDown. Actually i need detect long press on ENTER key, may by there is an easier way [CODE] Logs V/InputMethodManager: dispatchKeyEventFromInputMethod: KeyEvent=KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_ENTER, ...
android|kotlin|android-jetpack-compose
0
2022-07-29T10:18:52.433Z
2,022
7
10
4
87
1
697
57
3
1
true
false
false
false
false
false
zero
73,165,148
Jetpack Compose navigation crashes app when button clicked
<p>I am just playing around with navigation compose and trying to figure out how it works. I read some articles and watch tutorials how to implement it in my app. So I choose the simpliest way to do this, but when I clicked the buttot to navigate to second screen, app crashed and exited. What am I doing wrong?</p> <p>I...
I am just playing around with navigation compose and trying to figure out how it works. I read some articles and watch tutorials how to implement it in my app. So I choose the simpliest way to do this, but when I clicked the buttot to navigate to second screen, app crashed and exited. What am I doing wrong? I am not do...
kotlin|android-jetpack-compose
0
2022-07-29T10:19:18.340Z
2,022
7
10
4
80
1
612
58
2
6
true
false
false
false
false
false
zero
73,165,271
What is `NavType` for in Android Jetpack Compose Navigation?
<p>I am interested in writing a wrapper library for Jetpack Compose Navigation that handles custom navigation argument types. I have a working prototype that handles any kind of data type leveraging kotlinx <code>Serializable</code>. There's just one thing that I don't understand - and I will likely need to understand ...
I am interested in writing a wrapper library for Jetpack Compose Navigation that handles custom navigation argument types. I have a working prototype that handles any kind of data type leveraging kotlinx Serializable . There's just one thing that I don't understand - and I will likely need to understand this if I am to...
android|android-jetpack-compose|jetpack-compose-navigation
0
2022-07-29T10:28:53.773Z
2,022
7
10
4
68
1
986
60
3
0
false
false
false
false
false
false
zero
73,165,279
Can not remove Polyline from Google Map, Android SDK
<p>I have a problem removing a single polyline from my Google Map in Android. There were other Users with similar questions but not many answers and none of them where helpful.</p> <p>Inside the google dock, it's explained that you can remove a polyline with the .remove() function. But in my case this does not work. Ma...
I have a problem removing a single polyline from my Google Map in Android. There were other Users with similar questions but not many answers and none of them where helpful. Inside the google dock, it's explained that you can remove a polyline with the .remove() function. But in my case this does not work. Maybe the pr...
java|android|google-maps|google-maps-api-3|google-maps-android-api-3
0
2022-07-29T10:29:26.257Z
2,022
7
10
4
44
0
724
52
5
2
true
true
false
false
false
false
zero
73,165,380
Error: javax.net.ssl.SSLException: Tag mismatch Warning: An error occurred while preparing SDK package Android Emulator: Tag mismatch
<p>Can't install Android studio - Android Studio Setup Wizard installed everything except Emulator and always shows error:</p> <p><a href="https://i.stack.imgur.com/m65DV.png" rel="nofollow noreferrer">Error screenshot</a></p>
Can't install Android studio - Android Studio Setup Wizard installed everything except Emulator and always shows error: Error screenshot
android|android-studio|installation|android-emulator
2
2022-07-29T10:38:06.557Z
2,022
7
10
4
399
1
136
133
4
0
false
false
false
false
false
false
low
73,165,390
Vertically scrollable component was measured with an infinity maximum height constraints, which is disallowed
<p>I am using ComposeView inside my recyclerview item layout to work with jetpack compose. I am getting weird issue when I open screen</p> <p><strong>Error</strong></p> <pre><code>java.lang.IllegalStateException: Vertically scrollable component was measured with an infinity maximum height constraints, which is disallow...
I am using ComposeView inside my recyclerview item layout to work with jetpack compose. I am getting weird issue when I open screen Error [CODE] I tried to follow this stack overflow but it didn't work main_activity.xml [CODE] item_layout.xml [CODE] viewholder.kt [CODE]
android|kotlin|android-jetpack-compose|android-jetpack|lazycolumn
1
2022-07-29T10:39:00.417Z
2,022
7
10
4
492
1
270
109
5
4
true
false
false
false
false
false
low
73,165,428
How can we use new View.OnClickListener directly when OnCLickListener is not static
<p>I was wondering one thing today. Whenever we are setting up a <code>ClickListener</code>, we run this code.</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-js lang-js prettyprint-override"><code>tv.setOnClickList...
I was wondering one thing today. Whenever we are setting up a ClickListener , we run this code. [CODE] I Opened the View Class and saw the OnClickListener interface and found that it is not static . The method is like this: [CODE] Then how are we able to access OnClickListener method directly by using class name?
java|android|kotlin
1
2022-07-29T10:41:30.183Z
2,022
7
10
4
44
2
314
83
3
2
true
false
false
false
false
false
low
73,165,488
Other functions no longer work after using SearchView in Android Studio
<p>I have a <em>SearchView</em> in my application that searches through notes in my <em>RecyclerView</em> (I am using Room Database to store the notes).</p> <p>But after using the <em>SearchView</em> my other functions no longer work unless I restart the application.</p> <p>These are the functions that no longer work a...
I have a SearchView in my application that searches through notes in my RecyclerView (I am using Room Database to store the notes). But after using the SearchView my other functions no longer work unless I restart the application. These are the functions that no longer work after using the SearchView such as Adding not...
android|android-studio|android-recyclerview|searchview
0
2022-07-29T10:45:40.933Z
2,022
7
10
4
41
0
638
71
4
4
true
true
false
false
false
false
zero
73,165,615
How can I convert Java objects to XML using an XSD in android?
<p>How can I convert Java objects to XML using an XSD in android? I have an XSD-file that describes the XML, that I want to generate from my java Objects.</p> <p>I tried using Jaxb for this, but unfortunately it relies on java/awt/Image, which is not available in android.</p> <p>I cannot generate just any XML from the ...
How can I convert Java objects to XML using an XSD in android? I have an XSD-file that describes the XML, that I want to generate from my java Objects. I tried using Jaxb for this, but unfortunately it relies on java/awt/Image, which is not available in android. I cannot generate just any XML from the java Objects, the...
android|xml|serialization|xsd
0
2022-07-29T10:58:03.933Z
2,022
7
10
4
22
0
434
62
4
0
false
true
false
false
false
false
zero
73,165,847
getting NullPointerException on activity onCreate
<p>I'm getting NullPointerException on activity <code>onCreate</code>. Here is the log from PlayStore,</p> <pre><code>java.lang.RuntimeException: at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3781) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3943) at android...
I'm getting NullPointerException on activity onCreate . Here is the log from PlayStore, [CODE] This is the onCreate method, [CODE] I couldn't find anything relevant from the logs. I have one more activity with a similar crash (in a different method triggered from onCreate ). This code works fine on all of my test devic...
java|android
0
2022-07-29T11:16:53.083Z
2,022
7
11
4
60
0
398
49
2
2
true
true
false
false
false
false
zero
73,165,848
Can React-Native: 0.64.3 target for Android 12?
<p>I am using <code>React-Native: 0.64.3</code> and targeting <code>Android 11</code>. Now, I would like to target my app to <code>Android 12</code> without upgrading <code>React-Native</code>.</p> <p>But, In <code>React-Native: 0.66</code> release notes it's been mentioned that,</p> <blockquote> <p>Today we’re releasi...
I am using React-Native: 0.64.3 and targeting Android 11 . Now, I would like to target my app to Android 12 without upgrading React-Native . But, In React-Native: 0.66 release notes it's been mentioned that, Today we’re releasing React Native v0.66 for Android 12 and iOS 15 support alongside fixes and general updates. ...
android|react-native
0
2022-07-29T11:17:01.183Z
2,022
7
11
4
104
1
468
47
2
0
false
false
false
false
false
false
zero
73,165,949
Phoenix Library not working with Android 12
<p>I am devloping one app which will restart after phone reboot for that I used Phoenix Third party library it is working upto Android pie version but for higher version it is not working.</p> <p>Below is a code for that.</p> <p>Build.gradle</p> <pre><code>implementation 'com.jakewharton:process-phoenix:2.0.0' </code><...
I am devloping one app which will restart after phone reboot for that I used Phoenix Third party library it is working upto Android pie version but for higher version it is not working. Below is a code for that. Build.gradle [CODE] GlobalTool.Java [CODE]
android|phoenix
0
2022-07-29T11:24:14.747Z
2,022
7
11
4
51
0
254
43
2
2
true
true
false
false
false
false
zero
73,165,973
Is there a command to change the wallpaper on android via adb
<p>I want to try to and change the wallpaper on my android with a command from my computer. I also want the wallpaper picture to be stored on my computer.</p>
I want to try to and change the wallpaper on my android with a command from my computer. I also want the wallpaper picture to be stored on my computer.
android|adb
0
2022-07-29T11:26:22.903Z
2,022
7
11
4
57
0
151
61
2
0
false
true
false
false
false
false
zero
73,165,988
String cannot be cast to Float - Kotlin
<pre><code>val nextDigit = passedList[i + 1] as Float </code></pre> <p>I'm trying cast this and It's giving that error. I tried with .toFloat() but It doesn't work..</p> <pre><code>Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Float at com.example.calculator.MainActivity.cal...
[CODE] I'm trying cast this and It's giving that error. I tried with .toFloat() but It doesn't work.. [CODE]
android|android-studio|kotlin
0
2022-07-29T11:27:32.810Z
2,022
7
11
4
86
3
108
39
3
2
true
false
false
false
false
false
zero
73,166,260
Accompanist SwipeRefresh Inside LazyColumn
<p>I'm trying to place a SwipeRefresh layout inside a LazyColumn and scope it to include the 2 item calls and one items call, below a item {LazyRow(inside LazyColumn)} and below another item{}.</p> <p>So what I'm trying to implement is:</p> <pre><code>LazyColumn( Modifier .fillMaxSize() ...
I'm trying to place a SwipeRefresh layout inside a LazyColumn and scope it to include the 2 item calls and one items call, below a item {LazyRow(inside LazyColumn)} and below another item{}. So what I'm trying to implement is: [CODE] What I think I can do is, instead of using a lazyList and its dsl, I can make a huge S...
android|kotlin|android-jetpack-compose|jetpack-compose-accompanist|android-jetpack-compose-list
1
2022-07-29T11:50:52.230Z
2,022
7
11
4
65
1
490
42
5
1
true
false
false
false
false
false
low
73,166,506
Android Keyboard hides TextView Element NativeScript
<p>When I try to write something in an TextView-Element which is at the bottom of the screen, the Android keyboard hides the element. How can I resolve this issue? I already tried adding 'adjustPan' and other alternatives to my Manifest but it doesn't work unfortunately. Any idea?</p> <p>My XML:</p> <pre><code>&lt;topb...
When I try to write something in an TextView-Element which is at the bottom of the screen, the Android keyboard hides the element. How can I resolve this issue? I already tried adding 'adjustPan' and other alternatives to my Manifest but it doesn't work unfortunately. Any idea? My XML: [CODE] My Manifest.xml: [CODE]
android|android-layout|nativescript|android-scrollview|android-keypad
0
2022-07-29T12:09:24.693Z
2,022
7
12
4
33
1
317
52
5
2
true
false
false
false
false
false
zero
73,166,547
react-native app splash screen is showing
<p>I have created a react-native app in VS Code. The app is running fine in the browser with expo.</p> <p>The .apk can be installed on my Android tablet. But after starting the app, the splash screen is shown, staying forever (see image).</p> <p><img src="https://www.imgdumper.nl/uploads9/62e3cfc175742/62e3cfc17250a-sp...
I have created a react-native app in VS Code. The app is running fine in the browser with expo. The .apk can be installed on my Android tablet. But after starting the app, the splash screen is shown, staying forever (see image). Things I have tried: enable clear text traffic and changing the url of API call to http imp...
android|react-native
0
2022-07-29T12:12:07.983Z
2,022
7
12
4
79
0
991
41
2
5
true
true
false
false
false
false
zero
73,166,590
paging data is lost on navigation in jetpack compose
<p>I have 2 screens: ScreenA() and ScreenB()</p> <pre class="lang-kotlin prettyprint-override"><code>@Composable fun ScreenA( val viewModel: ScreenAViewModel = hiltViewModel() ){ val data = remember{ viewModel.pagingData() }.collectAsLazyPagingItems() LazyColumn(){ items(data){ //sh...
I have 2 screens: ScreenA() and ScreenB() [CODE] My start destination is ScreenA. The problem is after a successful loading of data in ScreenA, I navigate to screenB and then turn of my internet connection. On popping ScreenB from the navStack, the previously loaded data is lost. On logging the states of paging data, I...
navigation|state|android-jetpack-compose|android-paging-3|data-loss
0
2022-07-29T12:15:26.970Z
2,022
7
12
4
73
0
613
52
5
1
true
true
false
false
false
false
zero
73,166,698
How to use custom listener without new?
<p>I want to pass some signal to activity from my custom view. I use some code from the web, but most of them new a view to override some functions. I already have a view in my activity, so I findViewById it, but don't know why it's not work.</p> <p>This is my view code</p> <pre><code>public class MapView extends View ...
I want to pass some signal to activity from my custom view. I use some code from the web, but most of them new a view to override some functions. I already have a view in my activity, so I findViewById it, but don't know why it's not work. This is my view code [CODE] and this is my activity code [CODE] the error messag...
java|android
0
2022-07-29T12:24:08.423Z
2,022
7
12
4
36
1
328
39
2
3
true
false
false
false
false
false
zero
73,166,891
Google play developer console asks me to remove a permission that does not even exist in the Mainefest
<p>i got the following notification when i upload Flutter my app to Google console.</p> <blockquote> <p>We found that your manifest file contains the REQUEST_INSTALL_PACKAGES permission. Starting September 29, 2022, apps that use this permission will not be able to submit &gt;updates for review until they have complete...
i got the following notification when i upload Flutter my app to Google console. We found that your manifest file contains the REQUEST_INSTALL_PACKAGES permission. Starting September 29, 2022, apps that use this permission will not be able to submit >updates for review until they have completed a new sensitive permissi...
android|flutter
0
2022-07-29T12:38:59.250Z
2,022
7
12
4
149
2
994
102
2
0
false
false
false
false
false
false
zero
73,166,993
Update Single Item in RecyclerView
<p>When a single item is pressed in my RecyclerView, I show Bottom Sheet where I edit the contents of that item and when user saves it, I make an object of all the views edited and then send back that object to ListFragment and then I get that object in <code>onBindViewHolder</code> and then access the Views and try to...
When a single item is pressed in my RecyclerView, I show Bottom Sheet where I edit the contents of that item and when user saves it, I make an object of all the views edited and then send back that object to ListFragment and then I get that object in onBindViewHolder and then access the Views and try to set the value o...
android|android-studio|android-fragments|android-recyclerview|bottom-sheet
0
2022-07-29T12:47:00.217Z
2,022
7
12
4
34
0
731
34
5
3
true
true
false
false
false
false
zero
73,167,004
Flutter audioplayers next and previous
<p>I creating a music player in flutter using audioplayers as package but couldn't find way to play next and previous song in the list.</p>
I creating a music player in flutter using audioplayers as package but couldn't find way to play next and previous song in the list.
flutter|package|android-music-player
0
2022-07-29T12:48:02.780Z
2,022
7
12
4
102
1
132
38
3
0
false
false
false
false
false
false
zero
73,167,021
How to disable BOM in RAD studio SOAP request (using WSDL importer) when compiling Multi-Device app for Android
<p>I am using RAD Studio 11 to build Multi-Device Application in Delphi to act as SOAP Client against OpenEdge WEB Services and produce needed types and classes via WSDL Importer.<br/> Win32 and Win64 built applications works without any problems and everything goes fine. The problem appears in Android app. Using TCPMo...
I am using RAD Studio 11 to build Multi-Device Application in Delphi to act as SOAP Client against OpenEdge WEB Services and produce needed types and classes via WSDL Importer. Win32 and Win64 built applications works without any problems and everything goes fine. The problem appears in Android app. Using TCPMon in pro...
android|web-services|delphi|soap|byte-order-mark
3
2022-07-29T12:48:59.060Z
2,022
7
12
4
60
0
888
111
5
2
true
true
false
false
false
false
low
73,167,026
Android 12 Splash Api issue
<p>I am using android 12 splash api. When device is rotated app shows white background below status bar. I think it happens because my splash background is white but I don't want to show it when fragment is loaded. How to resolve this issue?</p> <p><strong>activity_main.xml:</strong></p> <pre><code>&lt;?xml version=&qu...
I am using android 12 splash api. When device is rotated app shows white background below status bar. I think it happens because my splash background is white but I don't want to show it when fragment is loaded. How to resolve this issue? activity_main.xml: [CODE] MainActivity.kt: [CODE] fragment_dashboard: [CODE] Dash...
android|kotlin|fragment|splash-screen|android-12
1
2022-07-29T12:49:18.427Z
2,022
7
12
4
204
1
451
27
5
6
true
false
false
false
false
false
low
73,167,086
Osmdroid as alternative to Mapbox
<p>I am currently using MapBox SDK to display raster map tiles within an Java/Kotlin implemented Android app. However, I want to replace the Mapbox SDK with an alternative primarily because, as far as I understand, when I use MapBox SDK in my app even just to display other third party map tiles, it will result in some ...
I am currently using MapBox SDK to display raster map tiles within an Java/Kotlin implemented Android app. However, I want to replace the Mapbox SDK with an alternative primarily because, as far as I understand, when I use MapBox SDK in my app even just to display other third party map tiles, it will result in some loc...
java|android|osmdroid
0
2022-07-29T12:54:05.183Z
2,022
7
12
4
74
1
1,242
33
3
0
false
false
false
false
false
false
zero
73,167,163
Recyclerview Layout cant match parent
<p>Im trying to make 2 recyclerview. And 2 of it using the same layout with Match Parent width. But the first Recyclerview display it properly but the second one doesnt.</p> <p>My first Recyclerview XML :</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;androidx.constraintlayout.widge...
Im trying to make 2 recyclerview. And 2 of it using the same layout with Match Parent width. But the first Recyclerview display it properly but the second one doesnt. My first Recyclerview XML : [CODE] And here is my second XML : [CODE] And here is my oncreateviewholder code : [CODE] I tried to use dummyview but it sti...
android|kotlin|android-layout|android-recyclerview
0
2022-07-29T12:59:07.070Z
2,022
7
12
4
49
1
360
37
4
4
true
false
false
false
false
false
zero
73,167,272
Custom Notification Layout Issue Android Version 12
<p>I have created custom notification but app name and small notification icon is also coming in it how to remove this issue android version 12. while android version 11 coming on right.</p>
I have created custom notification but app name and small notification icon is also coming in it how to remove this issue android version 12. while android version 11 coming on right.
android-studio|android-layout|layout|push-notification|android-notifications
3
2022-07-29T13:07:48.860Z
2,022
7
13
4
92
1
183
51
5
0
false
false
false
false
false
false
low
73,167,367
Mapbox Directions: Replay current voice instruction
<p>I want to add a &quot;repeat&quot; button that can be used to replay the current / next voice instruction.</p> <p>This is for the case a person may not have heard the instruction due to whatever reason.</p> <p>Any example would be most appreciated!</p> <p>Thank you.</p>
I want to add a &quot;repeat&quot; button that can be used to replay the current / next voice instruction. This is for the case a person may not have heard the instruction due to whatever reason. Any example would be most appreciated! Thank you.
mapbox-android|mapbox-api-directions
0
2022-07-29T13:16:33.250Z
2,022
7
13
4
8
0
245
51
2
0
false
true
false
false
false
false
zero
73,167,407
What is the difference between finish() and supportFinishAfterTransition()?
<p>So I have a button in activity 1 that when it is clicked, the apps goes to activity 2 using intent. So here in activity 2, I have programmed that when on back is pressed, return to activity 1. I have done the two following functions, but both of them apparently are doing exactly the same (They make the app to go bac...
So I have a button in activity 1 that when it is clicked, the apps goes to activity 2 using intent. So here in activity 2, I have programmed that when on back is pressed, return to activity 1. I have done the two following functions, but both of them apparently are doing exactly the same (They make the app to go back t...
java|android|activity-finish
-1
2022-07-29T13:18:42.033Z
2,022
7
13
4
30
1
403
75
3
1
true
false
false
false
false
true
negative
73,167,419
What Wrong --> Error: No named parameter with the name 'autovalidate'
<p>Launching lib\main.dart on AOSP on IA Emulator in debug mode... Running Gradle task 'assembleDebug'... /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/material_dropdown_formfield-0.1.9/lib/material_dropdown_formfield.dart:124:13: Error: No named parameter with the name 'autovalidate'. autovalidate: autovalidate, ...
Launching lib\main.dart on AOSP on IA Emulator in debug mode... Running Gradle task 'assembleDebug'... /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/material_dropdown_formfield-0.1.9/lib/material_dropdown_formfield.dart:124:13: Error: No named parameter with the name 'autovalidate'. autovalidate: autovalidate, ^^^...
android|flutter|firebase|dart|mobile
0
2022-07-29T13:19:16.313Z
2,022
7
13
4
59
1
896
69
5
0
false
false
false
false
false
false
zero
73,167,422
Composable Extension Function from Another Module Causing java.lang.NoSuchMethodError
<p>I have the following extension function in a file called <code>LifecycleObserver.kt</code> inside Module A.</p> <pre><code>import androidx.compose.runtime.Composable import androidx.compose.runtime.DisposableEffect import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleObserver @Composable fun &lt;T...
I have the following extension function in a file called LifecycleObserver.kt inside Module A. [CODE] I reference this function in Module B. No errors at compile time but at runtime, it throws a NoSuchMethod error. java.lang.NoSuchMethodError: No static method observeLifecycle(Landroidx/lifecycle/LifecycleObserver;Land...
android|kotlin|android-jetpack-compose
0
2022-07-29T13:19:25.613Z
2,022
7
13
4
71
0
1,877
85
3
2
true
true
false
false
false
false
zero
73,167,472
Disable emoji input on TextField
<p>Can I disable emoji soft keyboard input for <code>TextField</code>?</p> <p>Currently using <code>KeyboardOptions(keyboardType = KeyboardType.Ascii)</code> as keyboard options, but it doesn't work. I'm still able to enter emoji.</p> <p><a href="https://developer.android.com/reference/kotlin/androidx/compose/foundatio...
Can I disable emoji soft keyboard input for TextField ? Currently using KeyboardOptions(keyboardType = KeyboardType.Ascii) as keyboard options, but it doesn't work. I'm still able to enter emoji. Documantation says this doesn't guarantee it will work with all keyboards. My question: Is there any other way to disable em...
android-jetpack-compose|android-softkeyboard|emoji
0
2022-07-29T13:23:47.317Z
2,022
7
13
4
133
1
360
32
3
0
false
false
false
false
false
false
zero
73,167,497
Android Jetpack Compose Architecture: why it is not advisable to pass ViewModel directly to Screen as its argument/parameter?
<p>I am trying to undersdand Android JetNews application which is provided as the canonical best practice architecture example application. Specifically - each screen has 3 files/classes: Route / ViewModel / Screen. E.g. Interests view contains those 3 files plus one additional component - those files can be accessed <...
I am trying to undersdand Android JetNews application which is provided as the canonical best practice architecture example application. Specifically - each screen has 3 files/classes: Route / ViewModel / Screen. E.g. Interests view contains those 3 files plus one additional component - those files can be accessed http...
architecture|android-jetpack-compose|android-architecture-components|android-viewmodel
1
2022-07-29T13:25:46.590Z
2,022
7
13
4
188
0
2,957
125
4
2
true
true
false
false
false
false
low
73,167,657
Some apps not updating when adding a new version - Google Android Management API
<p>We have a problem with some apps when we update version in our Mobile Device Management (MDM) which use Google Android Management API.</p> <p>The user must go to the Google Playstore from his device and click on &quot;update&quot;, so isn't a &quot;silent update&quot;.</p> <p>Here, we can see that the last version a...
We have a problem with some apps when we update version in our Mobile Device Management (MDM) which use Google Android Management API. The user must go to the Google Playstore from his device and click on &quot;update&quot;, so isn't a &quot;silent update&quot;. Here, we can see that the last version added in Google Pl...
google-play-console|android-management-api
0
2022-07-29T13:39:11.447Z
2,022
7
13
4
103
0
754
80
2
1
true
true
false
false
false
false
zero
73,167,756
bundle-assets://file.png fail to upload to firebase (storage/unknown)
<p>This implementation work on ios but don't on android.<br/> I stored this image in: <code>/android/app/src/main/assets/default.png</code></p> <pre><code>defaultUserPhotoPath = await RNFetchBlob.fs.stat( RNFetchBlob.fs.asset('default.png'), ); </code></pre> <p>From this code I get response which means that asset im...
This implementation work on ios but don't on android. I stored this image in: /android/app/src/main/assets/default.png [CODE] From this code I get response which means that asset image is succesfully found: [CODE] And then I try to upload it to firebase and I got this error: [CODE] I know this is not firebase issue as ...
android|firebase|react-native|react-native-fs|rn-fetch-blob
0
2022-07-29T13:57:32.010Z
2,022
7
13
4
14
0
459
69
5
3
true
true
false
false
false
false
zero
73,167,878
Android Unit test Junit4 (default file is running in an error)
<p>I am working on Junit4Test. I am getting an error on default unit test. I run it before working on further but it shows same error even I add the code so I am wondering if someone can help me with this error.</p> <p>Unite test code</p> <pre><code>import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.t...
I am working on Junit4Test. I am getting an error on default unit test. I run it before working on further but it shows same error even I add the code so I am wondering if someone can help me with this error. Unite test code [CODE] android { compileSdk 32 [CODE] } dependencies { [CODE] }``` enter image description here...
android|junit4
0
2022-07-29T14:56:29.273Z
2,022
7
14
4
18
0
378
62
2
3
true
true
false
false
false
false
zero
73,167,912
How to save an image in a folder in ASP.NET Core MVC that comes from Xamarin.Forms Android?
<p>I'm trying to save an image that comes from Xamarin forms Android but the method <code>Post</code> doesn't get the image, but the image reaches the page.</p> <p>Xamarin code:</p> <pre><code>await CrossMedia.Current.Initialize(); if (!CrossMedia.Current.IsPickPhotoSupported) { await DisplayAlert(&...
I'm trying to save an image that comes from Xamarin forms Android but the method Post doesn't get the image, but the image reaches the page. Xamarin code: [CODE] ASP.NET Core MVC / C# code: [CODE] In my mobile app return &quot;no files&quot;, so the image is not saved in the folder. Does someone know why that is? Thank...
c#|xamarin.forms|xamarin.android|asp.net-core-mvc
0
2022-07-29T15:23:52.240Z
2,022
7
15
4
79
1
335
91
4
2
true
false
false
false
false
false
zero
73,167,957
Does one need to free the viewbinding in the RecyclerView's ViewHolder to avoid memory leaks?
<p>In Google Provided, ViewBinding example, we need to set our viewBinding to null for Fragment but not for Activity. <a href="https://developer.android.com/topic/libraries/view-binding" rel="nofollow noreferrer">https://developer.android.com/topic/libraries/view-binding</a></p> <p>The reason is apparent to me, as Acti...
In Google Provided, ViewBinding example, we need to set our viewBinding to null for Fragment but not for Activity. https://developer.android.com/topic/libraries/view-binding The reason is apparent to me, as Activity will get destroyed together with its View, but not for Fragment (Fragment live longer than its view, i.e...
android|android-recyclerview|android-viewholder|android-viewbinding
0
2022-07-29T15:51:05.217Z
2,022
7
15
4
57
1
1,011
93
4
1
true
false
false
false
false
false
zero
73,168,058
Java read csv file to list double
<p>I cannot convert the CSV file I read into a list. What I want to do is create a <code>List&lt;List&lt;Double&gt;&gt;</code> list. I am creating the same list as below but as <code>List&lt;String&gt;</code>.</p> <p>My CSV file</p> <pre><code>-0.140625000000000,0.986816000000000,-0.209473000000000 -0.144531000000000,0...
I cannot convert the CSV file I read into a list. What I want to do is create a List<List<Double>> list. I am creating the same list as below but as List<String> . My CSV file [CODE] For Example [CODE] My code [CODE]
java|android|list|csv
0
2022-07-29T16:01:39.930Z
2,022
7
16
4
54
2
216
33
4
3
true
false
false
false
false
false
zero
73,168,223
Flutter Open Navigation in Google Maps/Apple Maps
<p>I have a navigation button which when clicked on should be opening either the Google maps or the Apple maps app, whichever is installed, and show navigation directions from current location to destination location</p> <p>I have tried the following approaches using the <strong>url_launcher</strong> package</p> <ol> <...
I have a navigation button which when clicked on should be opening either the Google maps or the Apple maps app, whichever is installed, and show navigation directions from current location to destination location I have tried the following approaches using the url_launcher package await launchUrlString(&quot;https://w...
flutter|google-maps|android-intent|navigation|flutter-layout
0
2022-07-29T16:15:39.497Z
2,022
7
16
4
163
1
688
49
5
0
false
false
false
false
false
false
zero
73,168,339
Android background service not starting
<p>I have read multiple threads on this issue but none of them solved my problem, so I gave up and decided to write this.</p> <p>I have a service (right now it's a background service but I am going to turn it into a foreground service) which monitors the battery level so it can notify the user when it reaches a certain...
I have read multiple threads on this issue but none of them solved my problem, so I gave up and decided to write this. I have a service (right now it's a background service but I am going to turn it into a foreground service) which monitors the battery level so it can notify the user when it reaches a certain percentag...
android|kotlin
1
2022-07-29T16:26:09.690Z
2,022
7
16
4
29
1
525
39
2
3
true
false
false
false
false
false
low
73,168,365
My app crashes when i try to move to a particular layout
<p><strong>My log cat</strong> :</p> <p>2022-07-29 21:42:03.128 24303-24303/com.example.newcadviewerapp E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.newcadviewerapp, PID: 24303 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.newcadviewerapp/com.example.newcadviewerapp.Shar...
My log cat : 2022-07-29 21:42:03.128 24303-24303/com.example.newcadviewerapp E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.newcadviewerapp, PID: 24303 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.newcadviewerapp/com.example.newcadviewerapp.ShareMedia}: java.lang.ClassCas...
android|firebase|android-studio|android-layout|crash
1
2022-07-29T16:28:12.367Z
2,022
7
16
4
47
1
2,685
56
5
4
true
false
false
false
false
false
low
73,168,386
Notification in Android Studio Not Coming on Time
<p>I am currently developing an app on android studio using java where I want the user to be able to receive notifications from calendar events that they create. However, my notifications are not coming on time as they are either lagging or just not showing.</p> <p>Here is my coding for the alarm receiver which sets up...
I am currently developing an app on android studio using java where I want the user to be able to receive notifications from calendar events that they create. However, my notifications are not coming on time as they are either lagging or just not showing. Here is my coding for the alarm receiver which sets up the notif...
java|android-studio|notifications|android-manifest
0
2022-07-29T16:29:59.713Z
2,022
7
16
4
31
3
600
49
4
2
true
false
false
false
false
false
zero
73,168,412
React native Task :app:installDebug FAILED. App won't start
<p>Can't get my app started. When I type <code>npx react-native run-android</code>, I get this error:</p> <pre><code>&gt; Task :app:installDebug FAILED 38 actionable tasks: 8 executed, 30 up-to-date Note: D:\Work_projects\AwesomeProject\node_modules\react-native-gradle-plugin\src\main\java\com\facebook\react\codegen\ge...
Can't get my app started. When I type npx react-native run-android , I get this error: [CODE] The app I'm trying to run is freshly created using npx react-native init AwesomeProject . After that, I ran npx yarn install . I'm trying to run the app on an external device, checked adb devices and I'm getting ' device ' sta...
android|react-native
0
2022-07-29T16:32:04.873Z
2,022
7
16
4
135
1
753
59
2
2
true
false
false
false
false
false
zero
73,168,413
MaterialCardView is showing a border when I add transparency
<p>I need to have a half-transparent <code>MaterialCardView</code> (or <code>CardView</code>, doesn't matter).</p> <p>When it's completely opaque I have no problem. But when I gave a color with a hex value with transparency like <code>#c0000000</code>, it is making a border with a little higher opacity as shown in the ...
I need to have a half-transparent MaterialCardView (or CardView , doesn't matter). When it's completely opaque I have no problem. But when I gave a color with a hex value with transparency like #c0000000 , it is making a border with a little higher opacity as shown in the image below. So how I can remove this border? T...
android
0
2022-07-29T16:32:14.270Z
2,022
7
16
4
65
0
388
60
1
2
true
true
false
false
false
false
zero
73,168,612
How do I attach multiple room database columns to multiple views in recyclerview?
<p><strong>THIS IS THE VIEWMODEL FILE CODE</strong></p> <pre><code>class HomePageDocVM(var dao: HomePageEventsDAO) : ViewModel() { val eventNamevm = dao.getAll() var newEventName : String = &quot;event nameprop&quot; var newEventDate : String = &quot;event dateprop&quot; var newEventTime : String = &quot;&quot; var se...
THIS IS THE VIEWMODEL FILE CODE [CODE] } THIS IS THE ADAPTER FILE CODE [CODE] THIS IS THE MAIN FRAGMENT FILE CODE [CODE] THIS IS THE ENTITY FILE CODE [CODE] THIS IS THE DATABASE FILE CODE [CODE] THIS IS THE DAO FILE CODE [CODE] THIS IS THE XML FILE CODE [CODE] LET ME KNOW IF YOU WANT TO KNOW ANYTHING ELSE REGARDING THI...
android|kotlin|android-recyclerview|android-room
0
2022-07-29T16:48:38.053Z
2,022
7
16
4
43
0
367
81
4
7
true
true
false
false
false
false
zero
73,168,652
Plugin [id: 'com.android.application', version: '7.2.1', apply: false] was not found in any of the following sources
<p><strong>I am trying to create new Empty project in Android Studio and trying to run it, build getting failed every time. Showing me some build failed error.</strong></p> <p>Please look into the below Screenshot as reference: <a href="https://i.stack.imgur.com/Ik1KZ.png" rel="nofollow noreferrer"><img src="https://i....
I am trying to create new Empty project in Android Studio and trying to run it, build getting failed every time. Showing me some build failed error. Please look into the below Screenshot as reference: Software Version: Android Studio - 2021.2.1 JDK - 18.0.1 OS - Windows 11 Pro Tried: Changed JDK versions : 18, 17, 15, ...
android|android-studio|android-gradle-plugin|build.gradle|gradle-plugin
0
2022-07-29T16:52:50.643Z
2,022
7
16
4
222
1
593
116
5
0
false
false
false
false
false
false
zero
73,168,719
LazyColumn inside Column with verticalScroll modifier throws exception
<p>In one of my composables, a <code>Lazycolumn</code> is nested inside a <code>Column</code> composable. I want to be able to scroll the entire <code>Column</code> along with the <code>Lazycolumn</code>. But, specifying the <code>verticalScroll</code> <code>modifier</code> property on <code>Column</code> results in th...
In one of my composables, a Lazycolumn is nested inside a Column composable. I want to be able to scroll the entire Column along with the Lazycolumn . But, specifying the verticalScroll modifier property on Column results in the following exception causing the app to crash. How can I fix this? Exception [CODE] Composab...
android|android-jetpack-compose|lazycolumn|jetpack-compose-column
1
2022-07-29T16:59:15.767Z
2,022
7
16
4
144
1
329
70
4
2
true
false
false
false
false
false
low
73,168,724
problem with importing android.view.ViewGroup in only one of my file which is a fragment
<p>In my code there are more than 10 files, but in only one file which is a fragment, there are 43 red lines and all is related to importing &quot;android.view.ViewGroup&quot;.</p> <p>when I try to write it again, the redlines becomes to decrease but less than 3 seconds later the line &quot;import android.view.ViewGrou...
In my code there are more than 10 files, but in only one file which is a fragment, there are 43 red lines and all is related to importing &quot;android.view.ViewGroup&quot;. when I try to write it again, the redlines becomes to decrease but less than 3 seconds later the line &quot;import android.view.ViewGroup&quot; be...
javascript|java|android|android-studio|makefile
0
2022-07-29T16:59:54.893Z
2,022
7
16
4
23
0
661
88
5
0
false
true
false
false
false
false
zero
73,168,727
Flutter spotify_sdk: 2.3.0 connection problem - cant get token
<p>I'm kinda new to Flutter + Dart, for my second app I want to work on a spotify app for android. I found the spotify sdk on pub dev and did my best to work with the docs from spotify and from pub dev but I dont get the token :(</p> <p>First of all: I have a debug.keystore in my <code>../android/app/</code> and put th...
I'm kinda new to Flutter + Dart, for my second app I want to work on a spotify app for android. I found the spotify sdk on pub dev and did my best to work with the docs from spotify and from pub dev but I dont get the token :( First of all: I have a debug.keystore in my ../android/app/ and put the debug sha1 fingerprin...
android|flutter|dart|spotify
1
2022-07-29T17:00:13.360Z
2,022
7
17
4
50
0
836
62
4
2
true
true
false
false
false
false
low
73,168,801
create a module on android studio
<p>I have an ionic app, I should deploy it on an android device, I added the android platform with capacitor,android studio opens the folder; for running the app on the device I am stuck because there is no module, I followed many tutorials on the internet that say to go on file menu / new/module, but I cannot find any...
I have an ionic app, I should deploy it on an android device, I added the android platform with capacitor,android studio opens the folder; for running the app on the device I am stuck because there is no module, I followed many tutorials on the internet that say to go on file menu / new/module, but I cannot find any wa...
android-studio|ionic-framework|capacitor
0
2022-07-29T17:07:04.727Z
2,022
7
17
4
17
0
342
33
3
0
false
true
false
false
false
false
zero
73,168,858
Android Best Practice for Continuous loops in onCreate
<p>I’m working on a project that needs to have infinite loop that is active when the activity is active.</p> <p>This loop:</p> <ul> <li>Receive messages from a connected Thread for blue tooth</li> <li>Must send messages out to same thread.</li> <li>Handler the messages</li> </ul> <p>I tried a “while(true)” loop but the...
I’m working on a project that needs to have infinite loop that is active when the activity is active. This loop: Receive messages from a connected Thread for blue tooth Must send messages out to same thread. Handler the messages I tried a “while(true)” loop but the I found that the onClick Listeners had to be in the lo...
java|android|loops
0
2022-07-29T17:11:50.953Z
2,022
7
17
4
35
0
501
54
3
1
true
true
false
false
false
false
zero
73,168,869
Android : Attempt to invoke virtual method '' on a null object reference
<p>Hey what's up guys i need your help!</p> <p>Context: I'm developing an application that scans the barcode of products and retrieves the information. I am using Retrofit to communicate with an API.</p> <p>I have this :</p> <p><code>E/an.fifthscanne: [qarth_debug:] get PatchStore::createDisableExceptionQarthFile meth...
Hey what's up guys i need your help! Context: I'm developing an application that scans the barcode of products and retrieves the information. I am using Retrofit to communicate with an API. I have this : E/an.fifthscanne: [qarth_debug:] get PatchStore::createDisableExceptionQarthFile method fail. E/AndroidRuntime: FATA...
java|android|object|retrofit
0
2022-07-29T17:12:37Z
-1
-1
-1
-1
314
0
1,031
72
4
2
true
true
false
false
false
false
zero
73,168,883
Exception in thread "main" java.util.zip.ZipException: zip END header not found
<p>I get such error while run a project in flutter. Why is this happening and how can I fix this error?</p> <pre><code>Exception in thread &quot;main&quot; java.util.zip.ZipException: zip END header not found at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1581) at java.base/java.util.zip.ZipFile$...
I get such error while run a project in flutter. Why is this happening and how can I fix this error? [CODE]
flutter|android-studio|gradle|exception
1
2022-07-29T17:13:34.283Z
2,022
7
17
4
334
1
107
79
4
1
true
false
false
false
false
false
low
73,169,149
Android Studio transparent CarView
<p>I tried making the background color transparent, by making a transparent color :</p> <pre><code>&lt;color name=&quot;transparent&quot;&gt;#00000000&lt;/color&gt; </code></pre> <p>but it messed up my card view border radius and the elevation. I just want it to be transparent so the &quot;background&quot; is the app b...
I tried making the background color transparent, by making a transparent color : [CODE] but it messed up my card view border radius and the elevation. I just want it to be transparent so the &quot;background&quot; is the app background. my cardview : [CODE]
kotlin|android-cardview
0
2022-07-29T17:39:16.423Z
2,022
7
17
4
14
0
257
34
2
2
true
true
false
false
false
false
zero
73,169,199
client.on("message",function(){}) not being called in whatsapp-web.js
<p>I am trying to create a whatsapp bot with whatsapp-web.js library.</p> <p>When I try to send messages, client.on(&quot;message&quot;,function(){}) is not being called.</p> <p>Note: that the client.on(&quot;ready&quot;,function(){}) works fine and I get a Wall-e alive reply in my whatsapp android application.</p> <pr...
I am trying to create a whatsapp bot with whatsapp-web.js library. When I try to send messages, client.on(&quot;message&quot;,function(){}) is not being called. Note: that the client.on(&quot;ready&quot;,function(){}) works fine and I get a Wall-e alive reply in my whatsapp android application. [CODE]
android|node.js|express|message|whatsapp
0
2022-07-29T17:44:51.900Z
2,022
7
17
4
172
0
302
69
5
1
true
true
false
false
false
false
zero
73,169,208
Android SDK, Google ML Kit Barcode scanning for Version 10+
<p>I integrated Google MLKit barcode scanning with the version 17.0.2</p> <pre><code>implementation 'com.google.mlkit:barcode-scanning:17.0.2' </code></pre> <p>It works smoothly when scanning v1, v2, v3, v4, v10 QR Codes. But for v25, v40, it doesn't work! Can anyone help how to improve it? or is there any other soluti...
I integrated Google MLKit barcode scanning with the version 17.0.2 [CODE] It works smoothly when scanning v1, v2, v3, v4, v10 QR Codes. But for v25, v40, it doesn't work! Can anyone help how to improve it? or is there any other solution for scanning v25 QR Code? For QR Code information: https://en.wikipedia.org/wiki/QR...
android|android-camera|barcode|barcode-scanner|google-mlkit
0
2022-07-29T17:46:40.857Z
2,022
7
17
4
79
0
325
59
5
1
true
true
false
false
false
false
zero
73,169,249
GlideImage composable in Landscapist library missing some parameters
<p>The <a href="https://github.com/skydoves/landscapist#glideimage" rel="nofollow noreferrer"><code>GlideImage</code></a> composable in the <a href="https://github.com/skydoves/landscapist" rel="nofollow noreferrer"><code>Landscapist</code></a> image loading library for Compose is missing the <a href="https://github.co...
The GlideImage composable in the Landscapist image loading library for Compose is missing the loading , success , and failure parameters, but the GitHub Readme for the library states these parameters are available. Android Studio just throws a compile time error. Do I have to implement them differently with this librar...
android|android-jetpack-compose|android-compose-image
0
2022-07-29T17:49:53.747Z
2,022
7
17
4
127
1
329
68
3
1
true
false
false
false
false
false
zero
73,169,303
Problem while creating a file in Android Studio
<p>I'm writing this class that has a method to create a csv file and to write in to it. The problem is that it throws <code>IOException</code> error before the file is even created.</p> <p>This is a class on its own, and the method is being called from another class.</p> <p>The code looks like this:</p> <pre><code>publ...
I'm writing this class that has a method to create a csv file and to write in to it. The problem is that it throws IOException error before the file is even created. This is a class on its own, and the method is being called from another class. The code looks like this: [CODE]
java|android
0
2022-07-29T17:55:07.240Z
2,022
7
17
4
24
0
277
47
2
1
true
true
false
false
false
false
zero
73,169,340
Glide doesn't load image into imageView inside RecyclerView
<p>I'm trying to load image into imageView inside my RecylerView, but i get error. Here is my Glide code:</p> <pre><code>val imageStringAddress = review.userImage //URL val options: RequestOptions = RequestOptions() .centerCrop() .placeholder(R.drawable.dota_logo) //placehold...
I'm trying to load image into imageView inside my RecylerView, but i get error. Here is my Glide code: [CODE] First, placeholder has loaded, but after 1 second it changes into error &quot;star drawable&quot;. I tried this construction from another StackOverFlow question ( class com.bumptech.glide.load.engine.GlideExcep...
android|kotlin|android-glide
0
2022-07-29T17:58:57.287Z
2,022
7
17
4
88
1
416
59
3
3
true
false
false
false
false
false
zero
73,169,363
Getting only last element from the list [Kotlin]
<p>This problem is in reference to Android : I have a function which takes in a string value and I want to print a list of Integers from 0 upto that number. I am able to get the string inside the loop but outside the loop I am only getting the last element.</p> <p>What am I missing here? Any help would be appreciated.<...
This problem is in reference to Android : I have a function which takes in a string value and I want to print a list of Integers from 0 upto that number. I am able to get the string inside the loop but outside the loop I am only getting the last element. What am I missing here? Any help would be appreciated. My code : ...
android|list|kotlin|mutablelist
1
2022-07-29T18:01:33.253Z
2,022
7
18
4
67
2
332
48
4
1
true
false
false
false
false
false
low
73,169,406
Why a class can't find @Named provider from a Hilt module?
<p>I am migrating the application from Dagger2 to Hilt, and I started it from creating a single activity that uses Hilt</p> <ol> <li>I wrote the inject annotation for one of the dependencies inside the activity</li> </ol> <p><a href="https://i.stack.imgur.com/Ks7BU.png" rel="nofollow noreferrer"><img src="https://i.sta...
I am migrating the application from Dagger2 to Hilt, and I started it from creating a single activity that uses Hilt I wrote the inject annotation for one of the dependencies inside the activity I have the provider method(it has a return type) in my HiltApplicationModule configService is one of the dependencies provide...
android|kotlin|dependency-injection|dagger|dagger-hilt
0
2022-07-29T18:05:52.317Z
2,022
7
18
4
93
0
1,203
58
5
0
false
true
false
false
false
false
zero
73,169,462
Looking for example of Bazel genrule for calling shell script
<p>I have a shell script(.sh) for generating metadata of media files. I need to run the script while building the AOSP by using bazel genrule. Do any have similar examples or directions for me?</p>
I have a shell script(.sh) for generating metadata of media files. I need to run the script while building the AOSP by using bazel genrule. Do any have similar examples or directions for me?
android|shell|sh|bazel-rules
0
2022-07-29T18:10:58.903Z
2,022
7
18
4
42
0
190
61
4
0
false
true
false
false
false
false
zero