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
72,220,055
How to call MainActivity method in a java class?
<p>I'm trying ways to call my MainActivity method into my doWork in java class in android studio. But I'm not getting it. Is there any way to call this method ?</p> <p>Class in the MainActivity</p> <pre><code>public class MainActivity extends AppCompatActivity implements LocationListener { protected double latitud...
I'm trying ways to call my MainActivity method into my doWork in java class in android studio. But I'm not getting it. Is there any way to call this method ? Class in the MainActivity [CODE] Java class with the doWork [CODE]
java|android
0
2022-05-12T17:45:25.167Z
2,022
5
17
3
31
1
224
48
2
2
true
false
false
false
false
false
zero
72,220,071
I have an issue with ProgressBar Widget
<p>Basically I have a ConsentForm Activity that the user scrolls through and give their consent. Upon pressing the consent Btn (Yes) a dialog where they have to enter their email pops up. When they enter a valid email and press the send button the progressbar should load until the next activity opens. For some reason t...
Basically I have a ConsentForm Activity that the user scrolls through and give their consent. Upon pressing the consent Btn (Yes) a dialog where they have to enter their email pops up. When they enter a valid email and press the send button the progressbar should load until the next activity opens. For some reason the ...
java|android-studio|android-progressbar
0
2022-05-12T17:46:37.797Z
2,022
5
17
3
65
2
438
39
3
2
true
false
false
false
false
false
zero
72,220,180
Multi style text editing for TextField composable in android jetpack compose
<p>I want to change the <strong>text style (fontSize , color , fontWeight , ...)</strong> of a <strong>selected text</strong> in a <strong>TextFiled() composable</strong> , with a button in android <strong>jetpack compose</strong>.</p> <p>(The main problem is, when i change the text style of a selected text ,the TextFi...
I want to change the text style (fontSize , color , fontWeight , ...) of a selected text in a TextFiled() composable , with a button in android jetpack compose . (The main problem is, when i change the text style of a selected text ,the TextField can not save it , or when i add/remove a letter in TextField , the TextFi...
android-jetpack-compose|textfield|rich-text-editor|selectedtext|textstyle
2
2022-05-12T17:55:56.897Z
2,022
5
17
3
684
0
479
76
5
1
true
true
false
false
false
false
low
72,220,190
Unable to resolve module ./index
<p>I was running my project well but suddenly this error start to appear:</p> <blockquote> <p>Logs for your project will appear below. Error: Unable to resolve module ./index from C:\Users\mateu\OneDrive\Documentos\React JS\Projetos\sleeper-app\sleeper-app-v1\sleeper-app/.: None of these files exist: * index(.native|.a...
I was running my project well but suddenly this error start to appear: Logs for your project will appear below. Error: Unable to resolve module ./index from C:\Users\mateu\OneDrive\Documentos\React JS\Projetos\sleeper-app\sleeper-app-v1\sleeper-app/.: None of these files exist: * index(.native|.android.ts|.native.ts|.t...
android|reactjs|react-native|gradle|expo
2
2022-05-12T17:56:37.993Z
2,022
5
17
3
152
1
1,992
32
5
1
true
false
false
false
false
false
low
72,220,274
Android, not possible to catch biometric fingerprint unlock events?
<p>Is there any way to receive callback when fingerprint unlocking failed on Android lock screen? I couldnt find any broadcast intent or receiver for this. It's possible to catch failed unlocks for pins, patterns etc. via onPasswordFailed on DeviceAdminReceiver but its not applying to fingerprint unlocking.</p> <p>Chee...
Is there any way to receive callback when fingerprint unlocking failed on Android lock screen? I couldnt find any broadcast intent or receiver for this. It's possible to catch failed unlocks for pins, patterns etc. via onPasswordFailed on DeviceAdminReceiver but its not applying to fingerprint unlocking. Cheers
android|fingerprint|biometrics
0
2022-05-12T18:05:25.260Z
2,022
5
18
3
195
0
312
67
3
0
false
true
false
false
false
false
zero
72,220,280
How can I change CardViews background color based on user's option in Kotlin?
<p>I have 2 fragment pages. The first of these pages is the page where the user is given options. The other page is the page that is displayed according to the option selected by the user.</p> <p><a href="https://i.stack.imgur.com/zeXQb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zeXQb.png" alt="...
I have 2 fragment pages. The first of these pages is the page where the user is given options. The other page is the page that is displayed according to the option selected by the user. This page is the page where 3 options are presented to the user. This page is the home page of the application. No matter which option...
android|kotlin|android-fragments|android-cardview
0
2022-05-12T18:06:17.610Z
2,022
5
18
3
81
1
983
77
4
0
false
false
false
false
false
false
zero
72,220,330
Parameterize some tests but not others with RobolectricTest
<p>I am looking to add a parameterized test to an existing test suite that uses the Robolectric test framework, like so:</p> <pre><code>@RunWith(RobolectricTestRunner.class) public class SomeTest { /* ... Tons of tests */ } </code></pre> <p>One of the tests is for functionality that used to be fixed but now takes a...
I am looking to add a parameterized test to an existing test suite that uses the Robolectric test framework, like so: [CODE] One of the tests is for functionality that used to be fixed but now takes a parameter. This answer suggests that in order to run just the one test in a parameterized fashion, I should add @RunWit...
java|android|robolectric
1
2022-05-12T18:11:04.053Z
2,022
5
18
3
60
0
1,022
59
3
1
true
true
false
false
false
false
low
72,220,366
Android Navigation And Gradle 7.3.3 namespace Kapt Plugin Generated Directions Fail To Resolve Resources
<p>since the new Android Studio <a href="https://android-developers.googleblog.com/2022/05/android-studio-chipmunk.html" rel="noreferrer">Version &quot;Chipmunk&quot;</a> the Gradle update helper suggests that you remove the <code>package</code> keyword from the <code>AndroidManifest.xml</code> and instead use a object...
since the new Android Studio Version &quot;Chipmunk&quot; the Gradle update helper suggests that you remove the package keyword from the AndroidManifest.xml and instead use a object namespace in the android block inside the app-level build.gradle . However, using the recent version 2.4.2 and also with the version 2.5.0...
android|android-studio|gradle|package-name
7
2022-05-12T18:15:07.817Z
2,022
5
18
3
368
1
1,018
104
4
0
false
false
false
false
false
false
medium
72,220,844
Bluetooth permissions with "neverForLocation" vs foregroundServiceType
<p>My app needs to scan for BLE devices in foreground service. For Android 11 and lower, I have foreground service declared in Minifest with the flag <code>foregroundServiceType=location</code> and <code>ACCESS_FINE_LOCATION</code>. Android 12 does not require location permission for BLE scanning if app declares <code>...
My app needs to scan for BLE devices in foreground service. For Android 11 and lower, I have foreground service declared in Minifest with the flag foregroundServiceType=location and ACCESS_FINE_LOCATION . Android 12 does not require location permission for BLE scanning if app declares <uses-permission android:name=&quo...
android-service|android-permissions|android-bluetooth|android-location|android-12
0
2022-05-12T18:59:44.640Z
2,022
5
18
3
108
0
532
70
5
0
false
true
false
false
false
false
zero
72,220,855
Hashtag Suggestions inside edittext - Android Kotlin/Java
<p>Expected : I have to do like Social Media #Hashtag suggestions Inside Edit text , when user enter &quot;#&quot;,I will show popup and once selected need to enter the value in edittext.</p> <p>To Achieve this, I'm using this library -&gt; <a href="https://github.com/natario1/Autocomplete" rel="nofollow noreferrer">h...
Expected : I have to do like Social Media #Hashtag suggestions Inside Edit text , when user enter &quot;#&quot;,I will show popup and once selected need to enter the value in edittext. To Achieve this, I'm using this library -> https://github.com/natario1/Autocomplete I Real all the instructions mentioned in that libra...
autocomplete|android-edittext|hashtag|social-media|spannable
0
2022-05-12T19:00:52.587Z
2,022
5
19
3
47
0
942
57
5
1
true
true
false
false
false
false
zero
72,220,900
Reload WebView on Button Press? (Android Studio)
<p>I have a WebView inside my Android Studio project that fills the whole screen, and when they get into the app without an internet connection I show an activity that I have included, I hide the WebView, and I show text and a button telling them they don't have internet. How can I have the button reload the WebView wh...
I have a WebView inside my Android Studio project that fills the whole screen, and when they get into the app without an internet connection I show an activity that I have included, I hide the WebView, and I show text and a button telling them they don't have internet. How can I have the button reload the WebView when ...
java|android-studio|webview
0
2022-05-12T19:04:37.707Z
2,022
5
19
3
58
2
581
48
3
3
true
false
false
false
false
false
zero
72,221,120
Can I save the state of my viewModel that holds data for my fragments?
<p>I am new to Android app dev,I want my fragment to store user information in a viewModel, yet that <strong>model is accessed by other fragments</strong>. The app runs well but I would like it to store the viewModel even if the app is destroyed. How can I save the state of my model?</p> <p>This is my viewModel class (...
I am new to Android app dev,I want my fragment to store user information in a viewModel, yet that model is accessed by other fragments . The app runs well but I would like it to store the viewModel even if the app is destroyed. How can I save the state of my model? This is my viewModel class (it starts with the package...
android|kotlin
0
2022-05-12T19:25:19.393Z
2,022
5
19
3
342
1
484
70
2
3
true
false
false
false
false
false
zero
72,221,271
Android: Display.getRealSize() vs WindowMetrics.getBounds()
<p>on Samsung Galaxy A52 (SM-A525F, Android 12), the screen has 2400x1080 physical pixels.</p> <p>When I call</p> <pre><code>Method getRealSize = Display.class.getMethod(&quot;getRealSize&quot;, Point.class); Point realSize = new Point(); getRealSize.invoke(d, realSize); //realSize = [1800, 810] //instead of [2400,1080...
on Samsung Galaxy A52 (SM-A525F, Android 12), the screen has 2400x1080 physical pixels. When I call [CODE] This code: [CODE] prints: DisplayInfo{&quot;Built-in Screen&quot;, real 1800 x 810, largest app 2186 x 2186, smallest app 1080 x 1017, modes [{id=1, width=1080, height=2400}]}, DisplayMetrics{density=1.96875, widt...
android|screen-size
0
2022-05-12T19:40:51.970Z
2,022
5
19
3
96
0
461
59
2
2
true
true
false
false
false
false
zero
72,221,293
Get ImageView JAVA ANDROID STUDIO
<p>Need to know which type i need to call to store my image in my Database.</p> <p>Here is my code :</p> <p>DBHelper.java</p> <pre><code> public boolean insertDataGame(String name, String price, String description, String typeConsole, byte[] image) { SQLiteDatabase MyDB = this.getWritableDatabase(); ...
Need to know which type i need to call to store my image in my Database. Here is my code : DBHelper.java [CODE] add.java [CODE]
java|android|sqlite
0
2022-05-12T19:42:15.500Z
2,022
5
19
3
22
0
127
33
3
2
true
true
false
false
false
false
zero
72,221,325
Best way to log binary data on logcat
<p>For debugging purposes I am currently writing some code that logs the contents of an HTTP response (headers, response code, body) on logcat.</p> <p>In case that the body of the response contains binary data I would like to log the body in a way that I can reconstruct the data by copying it with ctrl-c from the logca...
For debugging purposes I am currently writing some code that logs the contents of an HTTP response (headers, response code, body) on logcat. In case that the body of the response contains binary data I would like to log the body in a way that I can reconstruct the data by copying it with ctrl-c from the logcat window i...
android|logcat
1
2022-05-12T19:44:59.957Z
2,022
5
19
3
53
0
426
37
2
0
false
true
false
false
false
false
low
72,221,335
how xml code converts to design in android studio
<p><a href="https://i.stack.imgur.com/dFGTg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dFGTg.png" alt="android studio" /></a>Since XML is used to store and transport data how exactly the XML code gets convert to android app design in android studio?</p>
Since XML is used to store and transport data how exactly the XML code gets convert to android app design in android studio?
xml|android-studio
-1
2022-05-12T19:45:39.407Z
2,022
5
19
3
22
1
124
49
2
0
false
false
false
false
false
true
negative
72,221,337
Filtering a recyclerview list using map or switchmap
<p>I've been trying to figure this out for 2 days now - I just can't seem to get it to work!</p> <p>I'm using MVVM with a Repository pattern.</p> <p>Could someone tell me what I'm doing wrong here? I'm trying to filter the list to show characters who appeared in specific seasons e.g any characters from season 2 would ...
I've been trying to figure this out for 2 days now - I just can't seem to get it to work! I'm using MVVM with a Repository pattern. Could someone tell me what I'm doing wrong here? I'm trying to filter the list to show characters who appeared in specific seasons e.g any characters from season 2 would be displayed but c...
android|kotlin|mvvm|android-livedata
1
2022-05-12T19:45:57.780Z
2,022
5
19
3
73
1
668
52
4
3
true
false
false
false
false
false
low
72,221,390
How to achieve fluent scrolling in Hybrid Maui Blazor APP?
<p><strong>Update I've added a screencast to better demonstrate the horizontal scroll problem</strong></p> <p>I'm building a Hybrid MAUI / Blazor app. My goal is to make use of the native FlyoutPage &amp; have the content of each page be a RAZOR page.</p> <p><strong>Problem Statement</strong> <br/> I'm encountering a p...
Update I've added a screencast to better demonstrate the horizontal scroll problem I'm building a Hybrid MAUI / Blazor app. My goal is to make use of the native FlyoutPage & have the content of each page be a RAZOR page. Problem Statement I'm encountering a problem I can't wrap my head around and would kindly ask your ...
android|css|xamarin|maui|maui-blazor
2
2022-05-12T19:51:08.313Z
2,022
5
19
3
273
0
1,536
58
5
4
true
true
false
false
false
false
low
72,221,416
Flutter: Path Provider In Background
<p>I am trying to use path provider in <code>FirebaseMessaging.onBackgroundMessage(firebaseMessagingBackgroundHandler)</code>, it always gives me</p> <blockquote> <p>Unhandled Exception: MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provide...
I am trying to use path provider in FirebaseMessaging.onBackgroundMessage(firebaseMessagingBackgroundHandler) , it always gives me Unhandled Exception: MissingPluginException(No implementation found for method getApplicationDocumentsDirectory on channel plugins.flutter.io/path_provider) [CODE] MainActivity.java [CODE] ...
android|flutter|dart|firebase-cloud-messaging
1
2022-05-12T19:52:59.907Z
2,022
5
19
3
17
0
2,280
36
4
5
true
true
false
false
false
false
low
72,221,447
How to implement random select and click from the list (Android / Appium)
<p>I was trying to create an automated testing with a requirement to random select from the given list (with different urls) tried some of the script available online however cant make it to work and getting ElementNotFound. Please help me on this</p> <p>List elementList = driver.findElements(By.xpath(&quot;//android....
I was trying to create an automated testing with a requirement to random select from the given list (with different urls) tried some of the script available online however cant make it to work and getting ElementNotFound. Please help me on this List elementList = driver.findElements(By.xpath(&quot;//android.view.View[@...
automation|appium-android
0
2022-05-12T19:56:23.323Z
2,022
5
19
3
28
0
471
73
2
1
true
true
false
false
false
false
zero
72,221,616
Problem starting emulator in Android Studio (flutter)
<p>everyone. I do my first steps in android development and stumble upon the problem with running the emulator from inside the Android Studio. Created &quot;Galaxy Nexus&quot; via AVD Manager with Android 9.0 onboard: <a href="https://i.stack.imgur.com/MjCHM.png" rel="nofollow noreferrer">AVD manager settings</a></p> <...
everyone. I do my first steps in android development and stumble upon the problem with running the emulator from inside the Android Studio. Created &quot;Galaxy Nexus&quot; via AVD Manager with Android 9.0 onboard: AVD manager settings When trying to start it up - I've received the error &quot;The emulator process for ...
android|flutter|avd-manager
1
2022-05-12T20:15:50.940Z
2,022
5
20
3
27
0
706
53
3
0
false
true
false
false
false
false
low
72,221,723
Adding run/debug configuration environment variables to a flutter project?
<p>I am trying to add Environment Variables to my Run/Debug Configurations in my flutter project in Android Studio but the field is greyed out and I have no idea how to otherwise create environment variables. Any ideas how to add them either this way or in some other way?</p> <p><a href="https://i.stack.imgur.com/vlvnU...
I am trying to add Environment Variables to my Run/Debug Configurations in my flutter project in Android Studio but the field is greyed out and I have no idea how to otherwise create environment variables. Any ideas how to add them either this way or in some other way? A picture of my Run/Debug cConfigurations where th...
flutter|android-studio|environment-variables
0
2022-05-12T20:27:50.903Z
2,022
5
20
3
201
0
358
74
3
0
false
true
false
false
false
false
zero
72,221,768
Firestore returns empty list
<p>I have 3 entries in my firestore database. I need to query the data and fetch it, then input it into an ArrayList. The problem is my query is always returning empty hence the list does not get populated. I have tried pointer debugging this but to no avail. The following is the code in my .kt file</p> <pre><code>clas...
I have 3 entries in my firestore database. I need to query the data and fetch it, then input it into an ArrayList. The problem is my query is always returning empty hence the list does not get populated. I have tried pointer debugging this but to no avail. The following is the code in my .kt file [CODE]
android|firebase|kotlin|google-cloud-firestore
1
2022-05-12T20:32:09.720Z
2,022
5
20
3
244
1
304
28
4
1
true
false
false
false
false
false
low
72,221,920
Execution failed for task ':google_api_headers:compileDebugKotlin'
<p>After updating to Dart 3.0 I have this error when I launch the app on Android simulator. For iOS physical device its building ok. Unfortunately can't try with Android physical device. Any ideas?</p> <pre><code>e: /Users/amarchuk/.pub-cache/hosted/pub.dartlang.org/google_api_headers-1.2.0+1/android/src/main/kotlin/io...
After updating to Dart 3.0 I have this error when I launch the app on Android simulator. For iOS physical device its building ok. Unfortunately can't try with Android physical device. Any ideas? [CODE]
android|flutter|dart
4
2022-05-12T20:49:48.093Z
2,022
5
20
3
495
3
201
66
3
1
true
false
false
false
false
false
low
72,221,953
Flutter & Github Actions: Create unsigned APK (Execution failed for task ':app:validateSigningRelease')
<p>I am using <strong>GitHub actions</strong> to build my Flutter APK for testing purposes. Recently I built and signed my app and released it to Google Play, however, by doing this I broke my GitHub Action.</p> <p>I get this error now when my action runs:</p> <pre><code>FAILURE: Build failed with an exception. * What...
I am using GitHub actions to build my Flutter APK for testing purposes. Recently I built and signed my app and released it to Google Play, however, by doing this I broke my GitHub Action. I get this error now when my action runs: [CODE] This is the action: [CODE] So I guess there are two ways to solve this and I'd like...
android|flutter|dart|apk|github-actions
1
2022-05-12T20:54:34.597Z
2,022
5
20
3
289
2
654
103
5
3
true
false
false
false
false
false
low
72,222,101
null on terminal with flutter
<p>I'm currently doing this tutorial from YouTube : <a href="https://www.youtube.com/watch?v=-Sol_RMG_fo&amp;ab_channel=dbestech" rel="nofollow noreferrer">https://www.youtube.com/watch?v=-Sol_RMG_fo&amp;ab_channel=dbestech</a> in the tutorial, I can't get the data from back end to flutter, so I asked the YouTuber what...
I'm currently doing this tutorial from YouTube : https://www.youtube.com/watch?v=-Sol_RMG_fo&ab_channel=dbestech in the tutorial, I can't get the data from back end to flutter, so I asked the YouTuber what should I do?, and he tells me to print statuscode using response.statusCode, so I did it. I replaced &quot;print(w...
flutter|android-studio
0
2022-05-12T21:11:46.713Z
2,022
5
21
3
37
0
564
29
2
3
true
true
false
false
false
false
zero
72,222,115
How can I sort categories using json?
<p>I have an android app which fetches data from json file and displays it in the app, but when rendered it appears randomly and unordered as in json file</p> <p>This is the simple code used in json:-</p> <pre><code>&quot;Categories&quot;: [ { &quot;name&quot;: &quot;text1&quot; }, { &quot;name&...
I have an android app which fetches data from json file and displays it in the app, but when rendered it appears randomly and unordered as in json file This is the simple code used in json:- [CODE] What I want is to arrange these categories to appear in the application in the same order as the one you formatted in the ...
android|json
1
2022-05-12T21:13:30.350Z
2,022
5
21
3
13
0
362
37
2
1
true
true
false
false
false
false
low
72,222,256
JavaScript triggered redirect not working on site opened in facebook webview
<p>Opening our ecommerce site from within the Facebook app on Android, opens the page itself in a Facebook web view. When performing the purchase, an external app is opened for digital identification, and the user then has to return to the Facebook web view. Upon returning to Facebook - the user should be redirected to...
Opening our ecommerce site from within the Facebook app on Android, opens the page itself in a Facebook web view. When performing the purchase, an external app is opened for digital identification, and the user then has to return to the Facebook web view. Upon returning to Facebook - the user should be redirected to a ...
javascript|android|facebook|redirect|webview
1
2022-05-12T21:29:33.783Z
2,022
5
21
3
70
0
920
76
5
1
true
true
false
false
false
false
low
72,222,400
How to eliminate passing View Model to this Jetpack Compose Kotlin Home Screen?
<p>I'm trying to clean-up my code and eliminate View Models where not necessary.</p> <p><strong>I'd like to be able to access <code>itemList</code>, <code>filtering</code>, and <code>itemListFiltered</code> in my <code>HomeScreen</code> function without explicitly passing the <code>MainViewModel</code> as a parameter, ...
I'm trying to clean-up my code and eliminate View Models where not necessary. I'd like to be able to access itemList , filtering , and itemListFiltered in my HomeScreen function without explicitly passing the MainViewModel as a parameter, but I can't figure out how to do it. I tried using itemList = model::itemList but...
kotlin|android-jetpack-compose
0
2022-05-12T21:46:33.923Z
2,022
5
21
3
77
1
539
79
2
2
true
false
false
false
false
false
zero
72,222,401
How to add exported label in manifest when there is no activity tag in Android Studio?
<p>in my Manifets.xml file I have no <code>&lt;activity&gt;</code> tag and I am trying to add the <code>exported = true</code> but I don't know how. Is there a way? Here is my manifest:</p> <pre><code>&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:tools=&quot;htt...
in my Manifets.xml file I have no <activity> tag and I am trying to add the exported = true but I don't know how. Is there a way? Here is my manifest: [CODE] EDIT: The reason I want to add exported in my Manifest is because when I try to apload the . aab file in Google Play Console it gives me the following error: &quo...
java|android-manifest
0
2022-05-12T21:46:35.160Z
2,022
5
21
3
58
1
697
86
2
1
true
false
false
false
false
false
zero
72,222,406
Intercepting TCP packets of genymotion android emulator
<p>I am pentesting android application. I used burpsuite and configured genymotion emulated android to use my host as proxy. Installed CA certificates on android (android api &lt; 24). Everything went well and I was able to intercept and manipulate http/https traffic of the application.</p> <p>However, I noticed that n...
I am pentesting android application. I used burpsuite and configured genymotion emulated android to use my host as proxy. Installed CA certificates on android (android api < 24). Everything went well and I was able to intercept and manipulate http/https traffic of the application. However, I noticed that not all the da...
android|genymotion|burp|thick-client
1
2022-05-12T21:47:21.263Z
2,022
5
21
3
67
0
1,537
55
4
0
false
true
false
false
false
false
low
72,222,416
How to reuse click listeners for different layouts
<p>My app contains 2 different layouts for different device types. I want different actions to be performed e.g. 1st, 2nd and 3rd items to navigate to different screens, 4th item to show a <code>Toast</code>, the 5th item to launch an email composer intent, etc. Is there way to find out which index of the array was cli...
My app contains 2 different layouts for different device types. I want different actions to be performed e.g. 1st, 2nd and 3rd items to navigate to different screens, 4th item to show a Toast , the 5th item to launch an email composer intent, etc. Is there way to find out which index of the array was clicked and making...
android|kotlin|android-layout|android-intent|android-jetpack-compose
0
2022-05-12T21:48:41.810Z
2,022
5
21
3
85
2
500
50
5
4
true
false
false
false
false
false
zero
72,222,463
React-native <Image> onProgress event returning wrong event.nativeEvent.total in Android
<p>I am using <code>onProgress</code> event of <code>Image</code> component from <code>react-native</code> to try to get the file size in bytes of the remote image (the source uses uri).</p> <p>In iOS everything works great, however in Android sometimes is undefined and other times it just return a random value like <c...
I am using onProgress event of Image component from react-native to try to get the file size in bytes of the remote image (the source uses uri). In iOS everything works great, however in Android sometimes is undefined and other times it just return a random value like 10000 . Do you know any solution for this? I would ...
android|react-native|image|filesize
1
2022-05-12T21:53:36.187Z
2,022
5
21
3
58
0
463
88
4
1
true
true
false
false
false
false
low
72,222,530
After cleaning gradle, androidx-test.core module throws merged-manifest errors
<p>In a react-native project, ive recently updated to v66.4 from v63.2</p> <p>after some dependency conflict troubleshooting, i ultimately get a merged manifest error, that indicates suggestions for 3 locations</p> <p>initially this was 4 locations</p> <p>i added <code>android:exported=&quot;true&quot;</code> to the ma...
In a react-native project, ive recently updated to v66.4 from v63.2 after some dependency conflict troubleshooting, i ultimately get a merged manifest error, that indicates suggestions for 3 locations initially this was 4 locations i added android:exported=&quot;true&quot; to the main projects manifest xml now 1/4 issu...
android|react-native|android-studio|androidx|androidx-test
3
2022-05-12T22:05:37.257Z
2,022
5
22
3
84
1
818
78
5
0
false
false
false
false
false
false
low
72,222,607
How to handle Single<Single<String>> in RX?
<p>I have an api with a method</p> <pre><code> fun getList( @Path(&quot;array&quot;) array: String ): Single&lt;List&lt;EpisodeRetrofitModel&gt;&gt; </code></pre> <p>I need an argument to use this method. I get the argument from an RXJava method chain as <code>single : Single &lt;String&gt;</code>, then ...
I have an api with a method [CODE] I need an argument to use this method. I get the argument from an RXJava method chain as single : Single <String> , then I try to use it by this way: [CODE] and I get Single<Single<String>> I wonder how i can handle it. What is the right way to use this getList() method?
android|retrofit2|rx-java3
0
2022-05-12T22:16:16.383Z
2,022
5
22
3
25
0
306
43
3
2
true
true
false
false
false
false
zero
72,222,652
Should I have the web version of an app in the same Flutter project for android and iOS, even though the web version is 100% different?
<p>I have a Flutter app running on both android and iOS (Flutter + Firebase) but I'm implementing an admin dashboard that will only work on the web version. I was thinking about developing the dashboard with python + react but since it is a pretty simple interface, I've decided to develop it in Flutter web.</p> <p>My q...
I have a Flutter app running on both android and iOS (Flutter + Firebase) but I'm implementing an admin dashboard that will only work on the web version. I was thinking about developing the dashboard with python + react but since it is a pretty simple interface, I've decided to develop it in Flutter web. My question is...
android|ios|firebase|flutter
0
2022-05-12T22:22:19.257Z
2,022
5
22
3
249
2
432
135
4
0
false
false
false
false
false
false
zero
72,222,721
Cannot create an instance of an abstract class (Kotlin)
<p>Trying to use LiveData but this error apears.</p> <pre><code>class GameViewModel : ViewModel() { private val _score = MutableLiveData&lt;Int&gt;() val score: LiveData&lt;Int&gt; = _score private val _word = MutableLiveData&lt;String&gt;() val word = LiveData&lt;String&gt; = _word </code></pre>
Trying to use LiveData but this error apears. [CODE]
android|kotlin
0
2022-05-12T22:33:37.180Z
2,022
5
22
3
39
0
52
55
2
1
true
true
false
false
false
false
zero
72,222,729
Google Play Services sign in not working well on Unity Android
<p>I'm trying to add Google Play Services on my Unity Android project. I've got already implement google play services plugin to my project. Filling the all crediantials. I've got 2 different internal test accounts on developer console.</p> <p>Here is my question:</p> <ul> <li>Account A: SignInStatus Success and not sh...
I'm trying to add Google Play Services on my Unity Android project. I've got already implement google play services plugin to my project. Filling the all crediantials. I've got 2 different internal test accounts on developer console. Here is my question: Account A: SignInStatus Success and not showing welcome pop-up me...
android|unity3d|google-play-services
2
2022-05-12T22:34:21.197Z
2,022
5
22
3
1,044
1
574
62
3
1
true
false
false
false
false
false
low
72,222,736
Godot 3.4.3 Export error 'apksigner' returned with error #1
<p>I'm getting this error on linux</p> <pre><code>'apksigner' returned with error #1 </code></pre> <p>This only happens when I try to export an apk for the play store. I have made the new key for the store and I have tried exporting the game to a new folder. When I do and turn off the export with debug I get the error ...
I'm getting this error on linux [CODE] This only happens when I try to export an apk for the play store. I have made the new key for the store and I have tried exporting the game to a new folder. When I do and turn off the export with debug I get the error apksigner returned with error #1 I have uninstalled all JDKs be...
java|android|godot|android-sdk-manager
2
2022-05-12T22:35:51.473Z
2,022
5
22
3
476
1
1,036
59
4
1
true
false
false
false
false
false
low
72,222,763
Only the second function is called, Android studio Kotlin
<p>I followed a tutorial on Camerax from the Android Studio website, and I wanted the camera button when pressed to take a picture from the front and the back camera, the problem is only the second function is called.</p> <p>Ctrl + F <code>THE PROBLEM IS HERE</code> to find the two functions.</p> <p>MainActivity.kt fil...
I followed a tutorial on Camerax from the Android Studio website, and I wanted the camera button when pressed to take a picture from the front and the back camera, the problem is only the second function is called. Ctrl + F THE PROBLEM IS HERE to find the two functions. MainActivity.kt file: [CODE]
android|android-studio|kotlin|android-camerax
1
2022-05-12T22:39:51.367Z
2,022
5
22
3
98
1
299
57
4
1
true
false
false
false
false
false
low
72,222,785
Can not build the android application after upgrading to flutter 3.0
<p>Command: flutter run --flavor dev --no-sound-null-safety</p> <p>FAILURE: Build failed with an exception.</p> <p>Where: Script '/Users/petodavid/Developer/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1156</p> <p>What went wrong: Execution failed for task ':app:compileFlutterBuildDevDebug'.</p> <p>Proce...
Command: flutter run --flavor dev --no-sound-null-safety FAILURE: Build failed with an exception. Where: Script '/Users/petodavid/Developer/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1156 What went wrong: Execution failed for task ':app:compileFlutterBuildDevDebug'. Process 'command '/Users/petodavid/D...
android|flutter|gradle
2
2022-05-12T22:43:40.190Z
2,022
5
22
3
231
0
745
68
3
0
false
true
false
false
false
false
low
72,222,805
LazyColumn - How do you display the most recent item in LazyColumn?
<p>I have a LazyColumn where the use inputs items into. I want the LazyColumn to display the most recent item. How do I do this? Right now, LazyColumn is reversed, but doesn't stay scrolled to the top of the list.</p> <p>Here is my LazyColumn:</p> <pre><code>val listState = rememberLazyListState() LazyColumn( modi...
I have a LazyColumn where the use inputs items into. I want the LazyColumn to display the most recent item. How do I do this? Right now, LazyColumn is reversed, but doesn't stay scrolled to the top of the list. Here is my LazyColumn: [CODE] And here is the button to add to the list: [CODE]
kotlin|android-jetpack-compose|lazycolumn|android-compose-card
0
2022-05-12T22:46:57.100Z
2,022
5
22
3
118
0
290
67
4
2
true
true
false
false
false
false
zero
72,223,168
YouTube video player in flutter
<p>I'm using this package <a href="https://pub.dev/packages/youtube_player_flutter" rel="nofollow noreferrer">youtube_player_flutter: ^8.0.0</a> to display YouTube videos in my flutter application but I have a little of issues that I can't solve yet.</p> <p>firstly, How can hide the YouTube video name and channel photo...
I'm using this package youtube_player_flutter: ^8.0.0 to display YouTube videos in my flutter application but I have a little of issues that I can't solve yet. firstly, How can hide the YouTube video name and channel photo, and YouTube logo from my video? secondly, how can hide YouTube recommendation videos at the end ...
android|flutter|flutter-dependencies
1
2022-05-12T23:52:58.307Z
2,022
5
23
3
462
0
439
31
3
2
true
true
false
false
false
false
low
72,223,223
ImageView.setBackgroundResource
<blockquote> <p>Attempt to invoke virtual method 'void android.widget.ImageView.setBackgroundResource(int)' on a null object reference at com.Adapter.MessageAdapter.onBindViewHolder(MessageAdapter.java:240) at com.Adapter.MessageAdapter.onBindViewHolder(MessageAdapter.java:37) at androidx.recyclerview.widget.RecyclerVi...
Attempt to invoke virtual method 'void android.widget.ImageView.setBackgroundResource(int)' on a null object reference at com.Adapter.MessageAdapter.onBindViewHolder(MessageAdapter.java:240) at com.Adapter.MessageAdapter.onBindViewHolder(MessageAdapter.java:37) at androidx.recyclerview.widget.RecyclerView$Adapter.onBin...
android|image|android-studio
0
2022-05-13T00:04:36.023Z
2,022
5
0
4
70
2
986
31
3
3
true
false
false
false
false
false
zero
72,223,368
Android page design editing
<p>I have radio app with scrolling sort view on home screen like this:</p> <p><a href="https://i.ibb.co/HBwFH2X/1.png" rel="nofollow noreferrer">https://i.ibb.co/HBwFH2X/1.png</a></p> <p>i trying to edit this and make 2 columns with 2 rows like this:</p> <p><a href="https://i.ibb.co/4J9HZbd/2.png" rel="nofollow norefer...
I have radio app with scrolling sort view on home screen like this: https://i.ibb.co/HBwFH2X/1.png i trying to edit this and make 2 columns with 2 rows like this: https://i.ibb.co/4J9HZbd/2.png i dont know how to do that then if someone have time to help me, i will send everything you need. [CODE]
android|editing
1
2022-05-13T00:36:40.733Z
2,022
5
0
4
13
0
298
27
2
1
true
true
false
false
false
false
low
72,223,399
OSMDroid Points of interest using multiple facilities
<p>I am using OSMDroid with its bonus pack to display a map and get point of interest near a location, but I can't find a way to get POI of different type in once.</p> <p>As indicated in the documentation I am using the function getPOICloseTo() but it doesn't seem to handle a null facility to return all types of POI.</...
I am using OSMDroid with its bonus pack to display a map and get point of interest near a location, but I can't find a way to get POI of different type in once. As indicated in the documentation I am using the function getPOICloseTo() but it doesn't seem to handle a null facility to return all types of POI. [CODE] If t...
android|openstreetmap|osmdroid|point-of-interest|osmbonuspack
1
2022-05-13T00:44:28.577Z
2,022
5
0
4
53
1
432
53
5
1
true
false
false
false
false
false
low
72,223,467
Hiding and Unhiding App icon in the launcher
<p>I am currently implementing a feature to hide and unhide app icon in the launcher based on some certain condition.</p> <p>I have succeeded in hiding the icon. However, I am finding it difficult to bring the app icon back except that I re-install the application.</p> <p>Is there a way to make it possible to hide and...
I am currently implementing a feature to hide and unhide app icon in the launcher based on some certain condition. I have succeeded in hiding the icon. However, I am finding it difficult to bring the app icon back except that I re-install the application. Is there a way to make it possible to hide and unhide without ha...
android
1
2022-05-13T01:02:23.800Z
2,022
5
1
4
85
0
385
44
1
2
true
true
false
false
false
false
low
72,223,489
bash script youtube filtering
<p>The goal is to be able to send video urls to two metube dockers. One just for YouTube and one for everything else but YouTube.</p> <p>This script is going to go in my phone for use with termux url opener which opens as a argument <code>$url</code></p> <pre><code>#!/bin/bash # $url will contain a url to a video for p...
The goal is to be able to send video urls to two metube dockers. One just for YouTube and one for everything else but YouTube. This script is going to go in my phone for use with termux url opener which opens as a argument $url [CODE]
android|linux|bash|termux
0
2022-05-13T01:07:16.807Z
2,022
5
1
4
47
0
234
29
4
1
true
true
false
false
false
false
zero
72,223,510
I cannot concatenate a variable + string + variable this line of code gives me a error "None of the following functions can called with the argument s
<p>I'm a newcomer in this, and I'm learning kotlin in android studio, and I'm stacked in this error, &quot;None of the following functions can be called with the arguments supplied&quot; when I want to concatenate a variable + string + variable the error appears, and when delete the first variable and the plus signal t...
I'm a newcomer in this, and I'm learning kotlin in android studio, and I'm stacked in this error, &quot;None of the following functions can be called with the arguments supplied&quot; when I want to concatenate a variable + string + variable the error appears, and when delete the first variable and the plus signal the ...
java|android|kotlin
0
2022-05-13T01:13:03.197Z
2,022
5
1
4
44
2
405
150
3
1
true
false
false
false
false
false
zero
72,223,628
How to run react native on WSL with android emulator on Windows
<p>I have a react native expo project on WSL2 and I need to run it on an android emulator on Windows, and I am also willing to run the project using <code>yarn start</code>. How would I set up React Native to be able to run <code>yarn start</code> in WSL and run the app in an Android emulator on Windows?</p> <p>Here ar...
I have a react native expo project on WSL2 and I need to run it on an android emulator on Windows, and I am also willing to run the project using yarn start . How would I set up React Native to be able to run yarn start in WSL and run the app in an Android emulator on Windows? Here are the steps I followed: On Windows:...
android|react-native|windows-subsystem-for-linux|wsl-2|yarn-workspaces
1
2022-05-13T01:41:47.590Z
2,022
5
1
4
503
0
1,545
63
5
3
true
true
false
false
false
false
low
72,223,696
CoroutineScope Questions
<p>At the Coroutine Scope, Why is the last println() called first when the launch block is called first?</p> <p><img src="https://i.stack.imgur.com/OQ1HD.png" alt="enter image description here" /></p> <p><img src="https://i.stack.imgur.com/DFLKB.png" alt="enter image description here" /></p>
At the Coroutine Scope, Why is the last println() called first when the launch block is called first?
android|coroutine|coroutinescope
2
2022-05-13T01:56:20.337Z
2,022
5
1
4
43
2
101
24
3
0
false
false
false
false
false
false
low
72,223,855
Firebase Crashlytics: Combine/Merge Similar Issues?
<p>I had Firebase Crashlytics installed in my Android app, and the reporting is operational.</p> <p>However, I found that some issues are very similar:</p> <p><a href="https://i.stack.imgur.com/zAKTO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zAKTO.png" alt="Firebase Crashlytics with similar iss...
I had Firebase Crashlytics installed in my Android app, and the reporting is operational. However, I found that some issues are very similar: And it'd be helpful if I could treat them as the same issue when debugging or closing. Is there any chances I can merge them into one?
android|firebase|crashlytics|crashlytics-android
2
2022-05-13T02:28:28.210Z
2,022
5
2
4
36
0
276
51
4
0
false
true
false
false
false
false
low
72,223,861
I'm using Expo App in my Android Device to connect into the my Desktop's Expo
<p>I'm using Expo App on my Android device to connect to my Desktop (Ubuntu 20.04.4 LTS) Expo (I signed in both my same Expo Account)I am also connected to the same network. Then I scanned my code then after that, it was unable to connect it. This is the error:</p> <pre><code>java.net.connectexception failed to connect...
I'm using Expo App on my Android device to connect to my Desktop (Ubuntu 20.04.4 LTS) Expo (I signed in both my same Expo Account)I am also connected to the same network. Then I scanned my code then after that, it was unable to connect it. This is the error: [CODE] expo -V 5.4.3 node -v v18.1.0
android|expo|adb
1
2022-05-13T02:30:04.387Z
2,022
5
2
4
32
0
295
77
3
1
true
true
false
false
false
false
low
72,223,934
Remediation for Unsafe Encryption Mode Usage
<p>I am trying to update the application. However, Google rejected it because we could not use AES/ECB/NoPadding. The reason we use AES/ECB/NoPadding is to connect a Bluetooth device, but if you change the encryption part, the device will not connect. What should I do?</p>
I am trying to update the application. However, Google rejected it because we could not use AES/ECB/NoPadding. The reason we use AES/ECB/NoPadding is to connect a Bluetooth device, but if you change the encryption part, the device will not connect. What should I do?
android|android-security
1
2022-05-13T02:46:17.800Z
2,022
5
2
4
37
0
266
44
2
0
false
true
false
false
false
false
low
72,223,979
Not receiving notification when it is sent while the application is killed/closed
<p>My desired outcome is to be able to display a notification when one is received regardless of whether the app is in <em><strong>foreground/background/kill</strong></em>. I am currently able to receive the notification on my mobile application when it is in foreground/background and from there I will create a local n...
My desired outcome is to be able to display a notification when one is received regardless of whether the app is in foreground/background/kill . I am currently able to receive the notification on my mobile application when it is in foreground/background and from there I will create a local notification. However, when t...
php|android|firebase-cloud-messaging|ionic3|cordova-plugin-fcm
0
2022-05-13T02:56:14.223Z
2,022
5
2
4
52
0
631
81
5
3
true
true
false
false
false
false
zero
72,223,995
Should I turn my Activities into Fragments?
<p>I went to the YouTube Academy for Kotlin Android Development and created a semi complex app with Google FireBase, I have hit a roadblock in some code using an ExpandableListView that requires bindings. <br><br> After doing some research It seems that people use fragments instead of separate activities since like the...
I went to the YouTube Academy for Kotlin Android Development and created a semi complex app with Google FireBase, I have hit a roadblock in some code using an ExpandableListView that requires bindings. After doing some research It seems that people use fragments instead of separate activities since like the past 10 yea...
android|kotlin|android-fragments|android-activity
0
2022-05-13T02:58:44.920Z
2,022
5
2
4
35
1
462
43
4
0
false
false
false
false
false
false
zero
72,224,038
How to solve E/RecyclerView: No adapter attached; skipping layout after after percelize the fragment?
<p>Can anyone tell me what's wrong with my build.gradle? How can I solve the error? I have tried a lot to solve this problem but failed all the time. Please someone help me to solve this error...................................................................................................................................
Can anyone tell me what's wrong with my build.gradle? How can I solve the error? I have tried a lot to solve this problem but failed all the time. Please someone help me to solve this error......................................................................................................................................
android-studio
0
2022-05-13T03:08:31.580Z
2,022
5
3
4
50
1
555
101
1
3
true
false
false
false
false
false
zero
72,224,061
Robotframework - how to open Google Playstore app
<p>I want to test download my application from Playstore by using Robotframework.</p> <p>First, I've checked the package and activity of Playstore.</p> <pre><code>C:\Users\DMKT\AppData\Local&gt; adb shell dumpsys window | findstr &quot;mCurrentFocus&quot; mCurrentFocus=Window{e9011c u0 com.android.vending/com.android...
I want to test download my application from Playstore by using Robotframework. First, I've checked the package and activity of Playstore. [CODE] Then I tried to run testcase. The testcase is PASS but no application is opened at Android device. [CODE] Anything is wrong?
android|automation|appium|robotframework
0
2022-05-13T03:13:10.870Z
2,022
5
3
4
42
1
269
49
4
2
true
false
false
false
false
false
zero
72,224,066
Android Studio Device Manager shows my physical device offline the next time when I try to run my app
<p>I pair my phone using the Pair using wifi option in Android Studio and it gets paired and even the app runs on my phone. But the next day when I come the device manager shows my phone offline inspite of switching on Wireless debugging on my android phone on. So, inorder to run the app on my phone I have to remove my...
I pair my phone using the Pair using wifi option in Android Studio and it gets paired and even the app runs on my phone. But the next day when I come the device manager shows my phone offline inspite of switching on Wireless debugging on my android phone on. So, inorder to run the app on my phone I have to remove my ph...
android|android-studio
1
2022-05-13T03:13:53.870Z
2,022
5
3
4
123
0
610
101
2
0
false
true
false
false
false
false
low
72,224,076
ImageButton color getting changed to default on reloading the activity/app
<p>On button (ImageButton) click I'm changing its background color to something else but as soon as I reload the app or open another activity and come back, the button's color gets changed to default. How can I change it permanently on click ?</p> <p>Thank you.</p>
On button (ImageButton) click I'm changing its background color to something else but as soon as I reload the app or open another activity and come back, the button's color gets changed to default. How can I change it permanently on click ? Thank you.
android|button|imagebutton
0
2022-05-13T03:15:29.470Z
2,022
5
3
4
29
1
251
74
3
0
false
false
false
false
false
false
zero
72,224,098
WearOS support for PWA
<p>I'm digging over internet on how to make a PWA app made with react.js run over WearOS, but I do not find any article. Also, the WearOS website is empty of information of this type, as well. Is the WearOS able to run a PWA app? What are the differences between a WearOS PWA app and a normal Android PWA app? If PWA can...
I'm digging over internet on how to make a PWA app made with react.js run over WearOS, but I do not find any article. Also, the WearOS website is empty of information of this type, as well. Is the WearOS able to run a PWA app? What are the differences between a WearOS PWA app and a normal Android PWA app? If PWA can ru...
android|reactjs|api|progressive-web-apps|wear-os
2
2022-05-13T03:19:59.853Z
2,022
5
3
4
139
2
408
22
5
0
false
false
false
false
false
false
low
72,224,162
Is it good to use radio button instead of ImageView for just displaying purpose in android?
<p>I have a design where the image view looks like a radio button but serves no purpose of radio checked/ unchecked. Since it looks like a radio button, is it good to use a radio button which state enabled and user interaction off, instead of having an image view with image added in the project?</p> <p>Which is the bet...
I have a design where the image view looks like a radio button but serves no purpose of radio checked/ unchecked. Since it looks like a radio button, is it good to use a radio button which state enabled and user interaction off, instead of having an image view with image added in the project? Which is the better approa...
android|user-interface|radio-button
0
2022-05-13T03:31:31.650Z
2,022
5
3
4
21
2
449
91
3
0
false
false
false
false
false
false
zero
72,224,183
Android studio Composable Preview Render problem
<p>I am having this issue When previewing composable from file.</p> <p>This is the code I made in other kotlin file.</p> <pre><code>package com.example.movieapp.screens.home.details import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation...
I am having this issue When previewing composable from file. This is the code I made in other kotlin file. [CODE] Issue below when previewing the design [CODE] However In my MainActivity.kt, the composable preview had no error. Image as shown below: main activity DetailsScreen.kt Composable problem: DetailsScreen.kt Wh...
android|android-studio|kotlin
0
2022-05-13T03:35:53.647Z
2,022
5
3
4
153
1
689
48
3
3
true
false
false
false
false
false
zero
72,224,263
MutableStateflow Value Vs Update vs Emit
<p>Let say I have a <a href="https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-mutable-state-flow/index.html" rel="noreferrer">MutableStateFlow</a> variable. What is the main differences and usage of the three cases</p> <pre><code>mutable.value = 1 mutable.emit(2) mutable.upda...
Let say I have a MutableStateFlow variable. What is the main differences and usage of the three cases [CODE]
android|kotlin|setter|kotlin-stateflow
9
2022-05-13T03:54:06.340Z
2,022
5
3
4
976
1
108
40
4
1
true
false
false
false
false
false
medium
72,224,270
Android Hilt throw IllegalStateException even stated Custom Application in Manifest.xml
<p>I have a few real devices and also tested with Android studio's emulator and did not find any similar crash.</p> <p>My problem is that I published the app and received crash reports from real users.</p> <p>Google Play Console Crash Report</p> <blockquote> <p>Type java.lang.RuntimeException<br /> ...<br /> Caused by:...
I have a few real devices and also tested with Android studio's emulator and did not find any similar crash. My problem is that I published the app and received crash reports from real users. Google Play Console Crash Report Type java.lang.RuntimeException ... Caused by: java.lang.IllegalStateException: at dagger.hilt....
java|android|dagger-2|dagger-hilt
0
2022-05-13T03:55:56.260Z
2,022
5
3
4
209
2
2,078
87
4
5
true
false
false
false
false
false
zero
72,224,353
Flutter FCM push notification show the blank screen when user tap on Notification in killed state
<p>When user tap on push notification in termination state of app then it will open blank screen and app stuck on this screen and when app is in background then it will navigate the user in desire screen so I face issue in killed state that app will stuck on blank screen when user tap on push notification.</p>
When user tap on push notification in termination state of app then it will open blank screen and app stuck on this screen and when app is in background then it will navigate the user in desire screen so I face issue in killed state that app will stuck on blank screen when user tap on push notification.
android|flutter|push-notification|firebase-cloud-messaging
0
2022-05-13T04:13:01.503Z
2,022
5
4
4
123
0
304
97
4
0
false
true
false
false
false
false
zero
72,224,372
Android Studio Chipmunk issue with Orientation for Preview
<p>I have been using AS-Bumblebee for a couple of months with a new project. Recently I started adding landscape pages to the App. Clicking the Orientation for Preview button gave a dropdown list which included &quot;Create Landscape Variation&quot; which made the process easy. Unfortunately, the SSD drive decided to d...
I have been using AS-Bumblebee for a couple of months with a new project. Recently I started adding landscape pages to the App. Clicking the Orientation for Preview button gave a dropdown list which included &quot;Create Landscape Variation&quot; which made the process easy. Unfortunately, the SSD drive decided to die,...
android|layout|orientation|preview
0
2022-05-13T04:16:38.763Z
2,022
5
4
4
193
1
608
58
4
0
false
false
false
false
false
false
zero
72,224,401
How can I improve sensitivity of ViewPager2?
<p>I am using this at the moment.</p> <pre><code>fun ViewPager2.reduceDragSensitivity(f: Int = 4) { val recyclerViewField = ViewPager2::class.java.getDeclaredField(&quot;mRecyclerView&quot;) recyclerViewField.isAccessible = true val recyclerView = recyclerViewField.get(this) as RecyclerView val touchSl...
I am using this at the moment. [CODE] When I set it to reduceDragSensitivity(0) . It improves the sensitivity. But the item is hard to click. If I set it to reduceDragSensitivity(1) , the scrolling is very slow and heavy. I'd like to make it like reduceDragSensitivity(0.5) , but touchSlopField.set only gets Int value. ...
android|android-view|android-viewpager2
0
2022-05-13T04:20:53.760Z
2,022
5
4
4
40
0
347
44
3
1
true
true
false
false
false
false
zero
72,224,423
Fresco: How to make a ImageRequest with token in headers using ReactNetworkImageRequest.fromBuilderWithHeaders?
<p>I am trying to request an image resource using Facebook Fresco library with the code below, and token is required in request headers because the image is private resource, when I send the request, the server doesn't get the token. Anyone can help me? Please.</p> <pre><code>SimpleDraweeView view = getView(viewId); Im...
I am trying to request an image resource using Facebook Fresco library with the code below, and token is required in request headers because the image is private resource, when I send the request, the server doesn't get the token. Anyone can help me? Please. [CODE]
android|image|request|token|fresco
0
2022-05-13T04:23:33.037Z
2,022
5
4
4
38
0
265
111
5
1
true
true
false
false
false
false
zero
72,224,450
Error in reading the Firebase value: pricecode
<p>Please tell me what is my mistake? I'm trying to count the <code>pricecode</code> and shove it into user -&gt; price. But instead, it gives an error or a link, and not the value &quot;1000&quot;</p> <p><a href="https://i.stack.imgur.com/RXZ0R.png" rel="nofollow noreferrer">enter image description here</a></p> <pre><...
Please tell me what is my mistake? I'm trying to count the pricecode and shove it into user -> price. But instead, it gives an error or a link, and not the value &quot;1000&quot; enter image description here [CODE]
java|android|firebase|google-cloud-platform|firebase-realtime-database
1
2022-05-13T04:28:00.397Z
2,022
5
4
4
30
1
214
46
5
1
true
false
false
false
false
false
low
72,224,454
Execution failed for task ':app:mapDebugSourceSetPaths'. > Error while evaluating property 'extraGeneratedResDir' of task
<p>I've checked this answer: <a href="https://stackoverflow.com/a/34834772/13519865">https://stackoverflow.com/a/34834772/13519865</a></p> <p>It tells us to remove this line</p> <pre><code>apply plugin: 'com.google.gms.google-services' </code></pre> <p>Removing the line as asked completes the build, but I can't use Fir...
I've checked this answer: https://stackoverflow.com/a/34834772/13519865 It tells us to remove this line [CODE] Removing the line as asked completes the build, but I can't use Firebase (ofc!), it caused a new error, which tells me to add the line: https://stackoverflow.com/a/40085096/13519865 So, I'm stuck in a loop her...
android|firebase|kotlin|google-cloud-platform|google-play-services
9
2022-05-13T04:28:21.450Z
2,022
5
4
4
1,766
2
393
121
5
1
true
false
false
false
false
false
medium
72,224,462
how to make a curved design in constraintLayout as given below
<p><a href="https://i.stack.imgur.com/RylG5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RylG5.png" alt="enter image description here" /></a></p> <p>How to make this curved view having text inside, in constraint Layout</p>
How to make this curved view having text inside, in constraint Layout
android|responsive-design|android-constraintlayout|android-drawable|curve
0
2022-05-13T04:29:45.377Z
2,022
5
4
4
54
1
69
62
5
0
false
false
false
false
false
false
zero
72,224,499
Retrofit 2 Response is null even when response code is 200 and response.isSuccessful() is true
<p>My json response file is :</p> <pre><code>{ &quot;access_token&quot;: &quot;3lfX6-GCJv8uWZE8h8OSDL5eY5oiiInNjLKZTy2ZFxj7Tru4Ounb3jIdPGMe48Ed6QchTGI3il3NxAOTdHe-3hc-1jAsqiCk6Jq_w5DfRESOfjqNBXQCM6sSj65ugygn8F8mIV9DxSm7Ac6GZu5rwwk-yVnYjNh_6xEReqCn21ZzvYIuZJ2M8YGa73o0CPwtGsJO9dPUPIrZAdK1c08iYyAixnG4aqpLfpUnHzmTyng_Q...
My json response file is : [CODE] I have check the response in App Interceptor, it shows response body but when I check Response response is null. I created retrofit object in postData method in MainActivity: [CODE] Api client is PostData: [CODE] I have used https://https://www.jsonschema2pojo.org/ to create Respond cl...
java|android|retrofit2
0
2022-05-13T04:36:18.083Z
2,022
5
4
4
181
0
557
94
3
4
true
true
false
false
false
false
zero
72,224,529
How to set a new audio data source for Android MediaPlayer in Kotlin
<p>New to Android and Kotlin...</p> <p>I am trying to set a new audio data source for the Android MediaPlayer. The below code compiles and runs, but the sound isn't played. No crash, no errors. The toast &quot;Media Player prepared!&quot; never shows up, so I think the media player does not get prepared.</p> <p>If I co...
New to Android and Kotlin... I am trying to set a new audio data source for the Android MediaPlayer. The below code compiles and runs, but the sound isn't played. No crash, no errors. The toast &quot;Media Player prepared!&quot; never shows up, so I think the media player does not get prepared. If I comment out the lin...
android|kotlin|android-mediaplayer
0
2022-05-13T04:40:21.227Z
2,022
5
4
4
151
1
501
68
3
1
true
false
false
false
false
false
zero
72,224,570
Currently doing the fragments and navigation pathway of the android kotlin course and having some troubles with the letter list fragment
<p>When I populate the nav_graph.xml with the two fragments the words fragment displays fine but the letters fragment just displays a default item list of 1 to 9. Below is the letter fragment for closer inspection. If you find yourself in need of anymore infromation please ask me as I would really like to get this pro...
When I populate the nav_graph.xml with the two fragments the words fragment displays fine but the letters fragment just displays a default item list of 1 to 9. Below is the letter fragment for closer inspection. If you find yourself in need of anymore infromation please ask me as I would really like to get this problem...
android|kotlin|android-fragments
0
2022-05-13T04:46:12.810Z
2,022
5
4
4
41
0
337
136
3
1
true
true
false
false
false
false
zero
72,224,592
How do ask a permission for open a gallery in android phones using flutter
<p>I have using image_picker: ^0.8.4+11 for open a gallery. I need to ask a permission for open a gallery. In iOS it ask a permission to open a gallery but Android it did not ask a permission</p> <p>I have tried like this in my AndroidManifest file</p> <p>but it did not work to me. could you please any one can help ...
I have using image_picker: ^0.8.4+11 for open a gallery. I need to ask a permission for open a gallery. In iOS it ask a permission to open a gallery but Android it did not ask a permission I have tried like this in my AndroidManifest file but it did not work to me. could you please any one can help me to solve this iss...
android|flutter|permissions|gallery|imagepicker
0
2022-05-13T04:49:05.373Z
2,022
5
4
4
101
1
342
74
5
0
false
false
false
false
false
false
zero
72,224,641
Debugging MAUI app on Android after manual launch
<p>I have a MAUI app on Android which works perfectly when launched from Visual Studio with the debugger attached. If I published an APK and install it on the device manually, the application crashes as soon as I use the AppShell to change the current page.</p> <p>How can I attach the debugger to it after I've launched...
I have a MAUI app on Android which works perfectly when launched from Visual Studio with the debugger attached. If I published an APK and install it on the device manually, the application crashes as soon as I use the AppShell to change the current page. How can I attach the debugger to it after I've launched it manual...
android|xamarin.android|visual-studio-debugging|visual-studio-2022|maui
1
2022-05-13T04:58:25.923Z
2,022
5
4
4
74
1
682
49
5
0
false
false
false
false
false
false
low
72,224,749
ARCore: Raw Depth Codelab is not working on my phone
<p>I wanted to test this <a href="https://codelabs.developers.google.com/codelabs/arcore-rawdepthapi#0" rel="nofollow noreferrer">codelab</a> from Google, but whenever I try to run the part3_completed file/application on my Huawei P30 ELE-L29 phone, I encounter the following errors (from logcat):</p> <pre><code>2022-05...
I wanted to test this codelab from Google, but whenever I try to run the part3_completed file/application on my Huawei P30 ELE-L29 phone, I encounter the following errors (from logcat): [CODE] You can clone the sample code through git clone https://github.com/googlecodelabs/arcore-rawdepthapi to check it out yourself. ...
shader|android-camera|arcore|google-codelab
0
2022-05-13T05:17:33.823Z
2,022
5
5
4
49
2
582
52
4
1
true
false
false
false
false
false
zero
72,224,785
What is je_free function in libc.so?
<p>Could somebody please explain me what is je_free function defined in libc.so and when is it called?</p> <p>Note1: while investigating one crash reported in our application, I see application code is directly going to je_free. I dont see je_free is explicitly called in application code.</p> <p>Note2: Platform: androi...
Could somebody please explain me what is je_free function defined in libc.so and when is it called? Note1: while investigating one crash reported in our application, I see application code is directly going to je_free. I dont see je_free is explicitly called in application code. Note2: Platform: android arm
android|c|libc
0
2022-05-13T05:24:30.623Z
2,022
5
5
4
111
0
308
36
3
0
false
true
false
false
false
false
zero
72,224,794
Looking for an apk parser
<p>Currently I am using net.dongliu.apk-parser but this is throwing exception for some of the apks which are signed with v2 only. The same issue also reported on their github but this is still open issue since 2018. It seems they are not working on the future release of the library.</p> <p>Issue: <a href="https://githu...
Currently I am using net.dongliu.apk-parser but this is throwing exception for some of the apks which are signed with v2 only. The same issue also reported on their github but this is still open issue since 2018. It seems they are not working on the future release of the library. Issue: https://github.com/hsiafan/apk-p...
android|apk|apk-parser
0
2022-05-13T05:25:32.587Z
2,022
5
5
4
25
0
581
25
3
1
true
true
false
false
false
false
zero
72,224,868
I want to make a slider custom bottom value with incremet in flutter
<p><a href="https://i.stack.imgur.com/4YbFk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4YbFk.png" alt="enter image description here" /></a></p> <p>Please help me,</p> <p>I want to make this type slider with the same value get by the slider value</p> <p>I am facing the problem to set value the in...
Please help me, I want to make this type slider with the same value get by the slider value I am facing the problem to set value the in specific divisions with the below division values like 1x 3x
android|flutter|dart|flutter-layout|flutter-dependencies
-1
2022-05-13T05:35:46.780Z
2,022
5
5
4
43
1
196
68
5
0
false
false
false
false
false
true
negative
72,224,897
How to configure XML file so RecyclerView doesn't overlap the rest of the content?
<p><strong>What my layout file currently does:</strong></p> <p>My layout file after building an app looks like on the <a href="https://i.ibb.co/9gV3p7s/obraz-2022-05-13-072755324.png" rel="nofollow noreferrer">picture</a> and <a href="https://i.ibb.co/tBF08tW/obraz-2022-05-13-073714678.png" rel="nofollow noreferrer">be...
What my layout file currently does: My layout file after building an app looks like on the picture and before building What I want it to do: I want this info icon and &quot;Basic calisthenics progression&quot; to be on top on all devices without overlapping. What I've tried: I've tried to add CardView, moving from cons...
android|xml|android-layout|android-recyclerview
-1
2022-05-13T05:40:06.410Z
2,022
5
5
4
27
1
450
82
4
1
true
false
false
false
false
true
negative
72,224,941
com.applandeo.materialcalendarview.CalendarView doesn't show up on XML design
<p><strong>I have been trying to get CalendarView for the application i have been working on.Earlier the calendarView was being displayed in XML design but now i do not get any view and if i try to access the calenderID , my program stops working completely.</strong></p> <p><strong>The following is the error displayed ...
I have been trying to get CalendarView for the application i have been working on.Earlier the calendarView was being displayed in XML design but now i do not get any view and if i try to access the calenderID , my program stops working completely. The following is the error displayed in XML file. Failed to instantiate ...
java|android|xml|android-studio|calendarview
0
2022-05-13T05:46:43.967Z
2,022
5
5
4
30
0
2,888
77
5
0
false
true
false
false
false
false
zero
72,224,967
Is there a Simple Way to Take Screenshot in Espresso Android Studio for Every Test Case
<p>Guys, I'm a beginner in Espresso and requesting for your valuable help, Can anyone share me the code with which I can take the screenshot for every tests which I executing ?</p>
Guys, I'm a beginner in Espresso and requesting for your valuable help, Can anyone share me the code with which I can take the screenshot for every tests which I executing ?
java|android-espresso
0
2022-05-13T05:49:48.210Z
2,022
5
5
4
39
1
173
87
2
0
false
false
false
false
false
false
zero
72,224,983
Can we edit the screen cast message in android? Current text - "exposing sensitive info during casting/recording"
<p>Is it possible to edit the warning message that pops up when we start screen sharing in Android? The message is different for different OS devices.</p> <p>For OS 10 - <a href="https://i.stack.imgur.com/9un8e.jpg" rel="nofollow noreferrer">Image for message shown in OS 10</a></p>
Is it possible to edit the warning message that pops up when we start screen sharing in Android? The message is different for different OS devices. For OS 10 - Image for message shown in OS 10
java|android|screen-capture|screensharing|android-mediaprojection
0
2022-05-13T05:52:53.887Z
2,022
5
5
4
93
1
192
113
5
0
false
false
false
false
false
false
zero
72,225,085
I want to hide my appBarLayout and BottomNavigationView on scroll of fragment recycler?
<p>I want to hide my appBarLayout and BottomNavigationView at the same time when I scroll up the recycler and show again when I scroll down the recycler.</p> <p>In my case I have an activity in which appBarLayout and BottomNavigation is but my recycler is in fragment which is replaced at the container place, when I scr...
I want to hide my appBarLayout and BottomNavigationView at the same time when I scroll up the recycler and show again when I scroll down the recycler. In my case I have an activity in which appBarLayout and BottomNavigation is but my recycler is in fragment which is replaced at the container place, when I scroll recycl...
android|android-recyclerview|toolbar|bottomnavigationview|android-appbarlayout
0
2022-05-13T06:05:05.710Z
2,022
5
6
4
22
0
591
87
5
3
true
true
false
false
false
false
zero
72,225,123
Android how to convert a midi input to wav file
<p>I konw how to convert a midi file to wav, and it's successful</p> <p>but, I can't convert a midi input ,like some note,then convert to wav file</p> <p>please help me, tks.</p> <p>I mean not midi driver, for example:</p> <pre><code>fluid_synth_noteon(synth, 0, 60, 127); // play middle C sleep(1); // sleep for 1 secon...
I konw how to convert a midi file to wav, and it's successful but, I can't convert a midi input ,like some note,then convert to wav file please help me, tks. I mean not midi driver, for example: [CODE] this code simulate a midi input then to play [CODE] this code can convert a midi file to .wav file to somewhere. I wan...
android|midi|fluidsynth
0
2022-05-13T06:10:02.210Z
2,022
5
6
4
25
0
564
47
3
2
true
true
false
false
false
false
zero
72,225,225
when 2 frame layouts are stacked, only the bottom layout is visible in Android 12 devices
<p>I'm creating a video call app using DeepAR and Agora, I created a video call UI with framelayout (Local view) on top and another framelayout (remote view - full screen) at the bottom.</p> <p>On connecting the call, the top framelayout (local view) becomes invisible, only the bottom remote view is visible.</p> <p>Thi...
I'm creating a video call app using DeepAR and Agora, I created a video call UI with framelayout (Local view) on top and another framelayout (remote view - full screen) at the bottom. On connecting the call, the top framelayout (local view) becomes invisible, only the bottom remote view is visible. This happens only in...
android|android-framelayout|android-12|videocall
0
2022-05-13T06:21:58.357Z
2,022
5
6
4
46
1
541
89
4
2
true
false
false
false
false
false
zero
72,225,247
Flutter Android build not generating in Mac
<p>In Mac, I've setup Flutter in Android studio. When I'm running project it gives me error</p> <pre><code>* What went wrong: Execution failed for task ':location:compileDebugKotlin'. &gt; A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkActi...
In Mac, I've setup Flutter in Android studio. When I'm running project it gives me error [CODE] I'm using all latest versions of Flutter, Kotlin, Gradle etc.
android|flutter|gradle|android-gradle-3.0
0
2022-05-13T06:25:00.003Z
2,022
5
6
4
95
2
157
43
4
1
true
false
false
false
false
false
zero
72,225,361
Updating notifications after being added
<p>I want to update the content for a reminder after it has been added before being received by the user. After setting a reminder through AlarmManager using the data stored in sqlite database, the notification from the reminder set only shows the data, title and description, that was first added, not any updated data ...
I want to update the content for a reminder after it has been added before being received by the user. After setting a reminder through AlarmManager using the data stored in sqlite database, the notification from the reminder set only shows the data, title and description, that was first added, not any updated data sto...
java|android
0
2022-05-13T06:37:06.703Z
2,022
5
6
4
74
1
1,218
40
2
4
true
false
false
false
false
false
zero
72,225,394
How to call custom uri using content provider kotlin
<p>Basically what i want to call a SOS number using the android content provider from a smart watch. I have searched a lot but not able to find the correct path to implement this. this is the uri:</p> <pre><code>content://[MY_URI]/table where cmd_key=SOS1 </code></pre> <p>Here is what i have done:</p> <pre><code> val...
Basically what i want to call a SOS number using the android content provider from a smart watch. I have searched a lot but not able to find the correct path to implement this. this is the uri: [CODE] Here is what i have done: [CODE] Your help will be appreciated. Thanks in advance
android|kotlin|android-contentprovider
1
2022-05-13T06:41:04.273Z
2,022
5
6
4
36
0
282
52
3
2
true
true
false
false
false
false
low
72,225,494
How to read Android platform key signature programmatically
<p>I need to read the signature of the platform key, which signed the whole build on the device. Currently, I can read the signature of an arbitrary package like <code>com.android.systemui</code> etc. However, due to some custom ROMs, no package is guaranteed to be installed as a part of the system.</p> <p>So, my quest...
I need to read the signature of the platform key, which signed the whole build on the device. Currently, I can read the signature of an arbitrary package like com.android.systemui etc. However, due to some custom ROMs, no package is guaranteed to be installed as a part of the system. So, my question: is there a way to ...
android
1
2022-05-13T06:51:35.973Z
2,022
5
6
4
24
0
488
59
1
0
false
true
false
false
false
false
low
72,225,577
How to get difference of response received time and request made time
<p>i need a difference between response recieved time - request made time.it should print the difference on the screen.for now it shows a button and if we click that button it prints response time stamp.</p> <p><a href="https://i.stack.imgur.com/zKyjv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z...
i need a difference between response recieved time - request made time.it should print the difference on the screen.for now it shows a button and if we click that button it prints response time stamp. Xml code below for the reference [CODE] mainacivity class code for reference [CODE] Build.gradle file for the reference...
android
-1
2022-05-13T06:59:29.323Z
2,022
5
6
4
22
1
327
69
1
3
true
false
false
false
false
true
negative
72,225,585
CountDownLatch: object not locked by thread before wait()
<p>I want to pause the main thread until the other thread finishes. I tried <code>CountDownLatch</code> and semaphore. but none of them worked. I got the same error for both.</p> <blockquote> <p>Caused by: java.lang.IllegalMonitorStateException: object not locked by thread before wait()</p> </blockquote> <p>Code</p> <p...
I want to pause the main thread until the other thread finishes. I tried CountDownLatch and semaphore. but none of them worked. I got the same error for both. Caused by: java.lang.IllegalMonitorStateException: object not locked by thread before wait() Code [CODE] I tried to search for a few hours and was able to unders...
java|android|multithreading
0
2022-05-13T07:00:44.563Z
2,022
5
7
4
60
3
495
57
3
1
true
false
false
false
false
false
zero
72,225,588
Is it possible to display watch sensor data on phone without installing app on watch
<p>Display watch sensor data on phone without installing an app on watch?</p> <p>How create an app that displays all the sensor data from watch?</p>
Display watch sensor data on phone without installing an app on watch? How create an app that displays all the sensor data from watch?
java|android|wear-os
2
2022-05-13T07:00:56.757Z
2,022
5
7
4
36
1
134
84
3
0
false
false
false
false
false
false
low
72,225,640
Can I change topLevelDestinationIds from AppBarConfiguration?
<p>I have CountriesFragment and this fragment is launching first (start destination)</p> <p>I hide the back button using this code</p> <pre><code>NavigationUI.setupWithNavController(materialtoolbar, navController, new AppBarConfiguration.Builder( R.id.navigationMain_fragment_countriesFragment).build());...
I have CountriesFragment and this fragment is launching first (start destination) I hide the back button using this code [CODE] The user can change the country also by going to SettingsFragment and inside this SettingsFragment there is a button called Change The Country, After clicking on it will navigate the user to C...
android|android-fragments|android-jetpack|android-architecture-components|android-architecture-navigation
0
2022-05-13T07:05:32.593Z
2,022
5
7
4
69
1
605
61
5
1
true
false
false
false
false
false
zero
72,225,728
Reading a Config File in Android from a Golang Bind Service
<p>I have a Golang program from which I have created a package using gomobile bind. It creates two files abcd.jar and abcd.aar. I have copied these 2 files to the lib folder in the Android Java App in Android Studio IDE. After that I am able to run the Android app which is using the Golang program as a service. For tes...
I have a Golang program from which I have created a package using gomobile bind. It creates two files abcd.jar and abcd.aar. I have copied these 2 files to the lib folder in the Android Java App in Android Studio IDE. After that I am able to run the Android app which is using the Golang program as a service. For testin...
android|go|assets|gomobile-android
0
2022-05-13T07:15:53.090Z
2,022
5
7
4
36
0
1,321
59
4
2
true
true
false
false
false
false
zero
72,225,823
Sending an ID or an object as String to the next screen in Jetpack Compose?
<p>I have 30 users displayed in a LazyColumn. On user click, I navigate forward to UserDetailsScreen. My question, is it better to pass the ID of the user and create another database (Room) call inside the second screen, or is it better to pass the object as a String?</p> <p>I read an <a href="https://stackoverflow.com...
I have 30 users displayed in a LazyColumn. On user click, I navigate forward to UserDetailsScreen. My question, is it better to pass the ID of the user and create another database (Room) call inside the second screen, or is it better to pass the object as a String? I read an answer from @ianhanniballake which says that...
android|kotlin|android-room|android-jetpack-compose|android-jetpack
0
2022-05-13T07:25:05.987Z
2,022
5
7
4
276
0
735
75
5
0
false
true
false
false
false
false
zero
72,225,947
How do I get android system accent color to put it in xml (I mean non-programmatically, I'm trying to mod already existing app, so I can't add code)
<p>I've tried</p> <pre><code>@*android:color/accent_device_default_light </code></pre> <p>And</p> <pre><code>@android:color/accent_device_default_700 </code></pre> <p>I don't have idea how to get it.</p>
I've tried [CODE] And [CODE] I don't have idea how to get it.
android|xml|android-studio
0
2022-05-13T07:35:15.197Z
2,022
5
7
4
16
0
61
148
3
2
true
true
false
false
false
false
zero
72,226,168
How to deal with viewholder and flow in recyclerview?
<p>I would like to use my variable <code>flow</code> to save <code>integer</code> and keep him. Then every viewholder in recyclerview observe flow and react if it is clicked. For example:</p> <p>I have <code>cardView</code> when I click on that I use method</p> <pre><code>statusButtons.toggleVisibility(!statusButtons.i...
I would like to use my variable flow to save integer and keep him. Then every viewholder in recyclerview observe flow and react if it is clicked. For example: I have cardView when I click on that I use method [CODE] .. then my element expose like in the swipe mode, if I click on another element, previous element should...
android|android-recyclerview|android-livedata|android-viewholder|stateflow
0
2022-05-13T07:53:30.573Z
2,022
5
7
4
263
1
544
53
5
2
true
false
false
false
false
false
zero