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,226,199 | Cancel multiple Retrofit API calls at once | <p>Past few days I am searching for a Retrofit2 feature.
Is there any option or way to cancel multiple API calls at once, requested from a client?</p>
<p>For example, I have to call 5 APIs in a sequence, and while the app calls those 5 APIs, the user can do other actions in the app.
In case, if the user has called anot... | Past few days I am searching for a Retrofit2 feature. Is there any option or way to cancel multiple API calls at once, requested from a client? For example, I have to call 5 APIs in a sequence, and while the app calls those 5 APIs, the user can do other actions in the app. In case, if the user has called another API, I... | java|android|rest|retrofit2 | 0 | 2022-05-13T07:55:30.077Z | 2,022 | 5 | 7 | 4 | 71 | 0 | 715 | 42 | 4 | 1 | true | true | false | false | false | false | zero |
72,226,331 | apex image failed to build android rom compiling | <p>I'm trying to build crdroid 10 for my z5p
I followed the guide given on GitHub and set my environment</p>
<p>synced the files and after hours of building, I'm facing errors</p>
<p>here is what I have done so far</p>
<pre><code>cd crdroid
source build/envsetup.sh
lunch (picked 12. lineage_satsuki-eng )
make -j4
</co... | I'm trying to build crdroid 10 for my z5p I followed the guide given on GitHub and set my environment synced the files and after hours of building, I'm facing errors here is what I have done so far [CODE] problem : [CODE] the error.log in out folder : u can see here how to fix this error system: windows 11 wsl2 kali 12... | android|compilation|sony|rom | 0 | 2022-05-13T08:08:29.433Z | 2,022 | 5 | 8 | 4 | 30 | 0 | 343 | 48 | 4 | 2 | true | true | false | false | false | false | zero |
72,226,339 | Can a digital receptionist run locally on android | <p>Is it possible to design an Android app that would check any incoming calls. If it is found in the contacts (or recent calls), the phone rings as normal.
If it is not in the contacts, the caller gets a message "Please press 0 to speak to Mr. H, or stay on the line to leave a message."
This message would st... | Is it possible to design an Android app that would check any incoming calls. If it is found in the contacts (or recent calls), the phone rings as normal. If it is not in the contacts, the caller gets a message "Please press 0 to speak to Mr. H, or stay on the line to leave a message." This message would stop ... | android-activity|android-phone-call|voicemail | 0 | 2022-05-13T08:08:54.577Z | 2,022 | 5 | 8 | 4 | 10 | 0 | 767 | 49 | 3 | 0 | false | true | false | false | false | false | zero |
72,226,350 | Move package from Android manifest to build files | <p>My Android Studio claims that declaring the package in the manifest like this is deprecated:</p>
<pre><code><manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="this.is.my.package">
</code></pre>
<p>The error message is:</p>
<blockquote>
<p>Move package from Android... | My Android Studio claims that declaring the package in the manifest like this is deprecated: [CODE] The error message is: Move package from Android manifest to build files Declaration of a project's namespace using the package attribute of the Android manifest is deprecated in favour of a namespace declaration in build... | android|android-studio|gradle | 6 | 2022-05-13T08:09:46.603Z | 2,022 | 5 | 8 | 4 | 959 | 1 | 439 | 49 | 3 | 1 | true | false | false | false | false | false | medium |
72,226,539 | New line \n in Spanned from JSON block not displaying | <p>In Android, I'm trying to take a string from a JSON response and display it on the screen. The text may contain HTML tags, links etc so I use Spanned and it renders OK.</p>
<p>However, if the JSON string contains markup like \n, \r these do not get picked up when using Spanned. They do if I use a String in a textVie... | In Android, I'm trying to take a string from a JSON response and display it on the screen. The text may contain HTML tags, links etc so I use Spanned and it renders OK. However, if the JSON string contains markup like \n, \r these do not get picked up when using Spanned. They do if I use a String in a textView though, ... | android|markup|spanned | 0 | 2022-05-13T08:26:01.157Z | 2,022 | 5 | 8 | 4 | 18 | 0 | 600 | 53 | 3 | 0 | false | true | false | false | false | false | zero |
72,226,639 | Android Studio Chipmunk Logcat auto selects "Scroll to the end. Clicking on particular line will stops scrolling" when changing process view | <p>My application crashes for some reason. And then another instance is raised. But I want to view the crash logs in Logcat. The [DEAD] proces is visible on Logcat processes list and "Scroll to the end. Clicking on particular line will stops scrolling" is deselected but when I'm switching to [DEAD] process it... | My application crashes for some reason. And then another instance is raised. But I want to view the crash logs in Logcat. The [DEAD] proces is visible on Logcat processes list and "Scroll to the end. Clicking on particular line will stops scrolling" is deselected but when I'm switching to [DEAD] process it ch... | android|android-studio|logging|logcat | 0 | 2022-05-13T08:33:43.080Z | 2,022 | 5 | 8 | 4 | 130 | 0 | 498 | 140 | 4 | 0 | false | true | false | false | false | false | zero |
72,226,676 | How to make RecyclerView be always up to BottomSheet and under AppBarLayout? | <p>I have a layout with <code>AppBarLayout</code> which height is set dynamically by adding some margins if the device has the notch, <code>BottomSheetLayout</code> and a <code>RecyclerView</code>.</p>
<p>The goal:</p>
<p>I need to make the <code>RecyclerView</code> fit between the AppBar and the top of <code>BottomShe... | I have a layout with AppBarLayout which height is set dynamically by adding some margins if the device has the notch, BottomSheetLayout and a RecyclerView . The goal: I need to make the RecyclerView fit between the AppBar and the top of BottomSheetLayout when it's expanded or collapsed, so the items from RecyclerView n... | android|android-recyclerview|bottom-sheet | 0 | 2022-05-13T08:36:53.663Z | 2,022 | 5 | 8 | 4 | 45 | 0 | 787 | 76 | 3 | 3 | true | true | false | false | false | false | zero |
72,226,845 | Send user to Security Boost speed settings | <p>i am developing an android application an, in order to avoid that the os kill my background service, i realized that the app must to be locked. User could lock the app from recent aplications or by settings menu/security/Boost speed/Lock apps list (My test phone has MIUI 12.5.8 version - Andorid 11).</p>
<p>Are any ... | i am developing an android application an, in order to avoid that the os kill my background service, i realized that the app must to be locked. User could lock the app from recent aplications or by settings menu/security/Boost speed/Lock apps list (My test phone has MIUI 12.5.8 version - Andorid 11). Are any way to sen... | android|xiaomi | 0 | 2022-05-13T08:50:51.157Z | 2,022 | 5 | 8 | 4 | 22 | 1 | 563 | 42 | 2 | 0 | false | false | false | false | false | false | zero |
72,226,878 | MTP-3 bluetooth thermal printer print qr code | <p>Im trying to make an android application in xamarin that can print qr code, im using MTP-3 GOOJPRINT thermal printer. I got the printer plain text already , now im trying to print barcode/qr code.</p>
<pre><code>using Com.Lvrenyang.IO;
using Java.Util;
[assembly: Xamarin.Forms.Dependency(typeof(AndroidBluetoothServi... | Im trying to make an android application in xamarin that can print qr code, im using MTP-3 GOOJPRINT thermal printer. I got the printer plain text already , now im trying to print barcode/qr code. [CODE] Here is the library and printer of the Thermal Printer: http://xmjprt.com/2457746-2457746.html Anyone know how to pr... | c#|xamarin.android | 0 | 2022-05-13T08:53:00.267Z | 2,022 | 5 | 8 | 4 | 145 | 0 | 343 | 45 | 2 | 1 | true | true | false | false | false | false | zero |
72,226,900 | Android Mockito test cases with Retrofit | <p>I am new to test cases and I am trying to write test cases for the below code but I did not get success after trying several method. My main target is to cover code coverage of MaintenanceStatusResponseHandler.kt class. I am using mockito to write the test cases. I am already implemented jococo for code coverage but... | I am new to test cases and I am trying to write test cases for the below code but I did not get success after trying several method. My main target is to cover code coverage of MaintenanceStatusResponseHandler.kt class. I am using mockito to write the test cases. I am already implemented jococo for code coverage but I ... | android|kotlin|mockito|testcase | 0 | 2022-05-13T08:55:18.337Z | 2,022 | 5 | 8 | 4 | 41 | 0 | 526 | 40 | 4 | 4 | true | true | false | false | false | false | zero |
72,227,006 | Flutter image_picker crashes when opening camera | <p>I'm trying to use <code>image_picker</code> on Flutter and it works perfectly on Android emulator. But when I try to use it on my real device, it crashes when I clicking the button to open the camera without giving any error. How can I solve it? My phone is an Android (Xiaomi Mi 8).</p>
<p>My code:</p>
<pre><code> F... | I'm trying to use image_picker on Flutter and it works perfectly on Android emulator. But when I try to use it on my real device, it crashes when I clicking the button to open the camera without giving any error. How can I solve it? My phone is an Android (Xiaomi Mi 8). My code: [CODE] [CODE] [CODE] | android|flutter|image|dart | 0 | 2022-05-13T09:02:06.537Z | 2,022 | 5 | 9 | 4 | 150 | 1 | 300 | 48 | 4 | 3 | true | false | false | false | false | false | zero |
72,227,059 | How to hide the default android webview progress bar? | <p>i work on an app that displays a page through a webview. I have implemented my own progress bar and it works fine. However i cannot get rid of the default android progress bar that keeps showing up (the three gray dots). The round progress indicator is mine the dots are the default.</p>
<p><a href="https://i.stack.i... | i work on an app that displays a page through a webview. I have implemented my own progress bar and it works fine. However i cannot get rid of the default android progress bar that keeps showing up (the three gray dots). The round progress indicator is mine the dots are the default. The problem My XML: [CODE] I only ha... | java|android|android-studio|webview|android-progressbar | 0 | 2022-05-13T09:06:15.653Z | 2,022 | 5 | 9 | 4 | 51 | 1 | 369 | 53 | 5 | 1 | true | false | false | false | false | false | zero |
72,227,080 | For example, I need it to run as long as the values in the table day = Value 1 and in the table gender = boy | <p>How to force execution in a "While" loop until it reaches a certain value in the database table. For example, I need it to run as long as the values in the table day = Value 1 and in the table gender = boy</p>
<p>The problem is that I just needed to replace the values in both "Day" and "Gend... | How to force execution in a "While" loop until it reaches a certain value in the database table. For example, I need it to run as long as the values in the table day = Value 1 and in the table gender = boy The problem is that I just needed to replace the values in both "Day" and "Gender". ... | java|android | 0 | 2022-05-13T09:08:07.507Z | 2,022 | 5 | 9 | 4 | 25 | 0 | 413 | 108 | 2 | 1 | true | true | false | false | false | false | zero |
72,227,083 | cannot add navigation dependency | <p>I am trying to Add Navigation in my project but its showing failed to add Navigation dependency,</p>
<p>when i click on 'ok' in the window to add these now , its showing failed to add dependency and my navigation xml editor is not visible</p>
<p>build gradle project:</p>
<pre><code>// Top-level build file where you ... | I am trying to Add Navigation in my project but its showing failed to add Navigation dependency, when i click on 'ok' in the window to add these now , its showing failed to add dependency and my navigation xml editor is not visible build gradle project: [CODE] to all sub-projects/modules. buildscript { [CODE] build gra... | android|android-studio|build.gradle | 0 | 2022-05-13T09:08:36.863Z | 2,022 | 5 | 9 | 4 | 180 | 1 | 338 | 32 | 3 | 3 | true | false | false | false | false | false | zero |
72,227,160 | LazyList memory leak in Jetpack Compose | <p>I found out that LazyList generates memory leaks. When I scroll down to the bottom of the list memory usage by my app increases by ~3MB. After I scroll up and usage also increases by ~3MB. Memory usage increases all the time is scroll list. How to fix it?
<a href="https://issuetracker.google.com/issues/232438921" re... | I found out that LazyList generates memory leaks. When I scroll down to the bottom of the list memory usage by my app increases by ~3MB. After I scroll up and usage also increases by ~3MB. Memory usage increases all the time is scroll list. How to fix it? Issue on Google IssueTracker P.S. Sometimes memory usage drops d... | android|android-jetpack-compose|android-jetpack-compose-list|java-memory-leaks | 3 | 2022-05-13T09:14:52.950Z | 2,022 | 5 | 9 | 4 | 349 | 1 | 516 | 39 | 4 | 1 | true | false | false | false | false | false | low |
72,227,185 | Google Play Console Play App Signing - The Android App Bundle was not signed | <p>I am trying to create a playstore release.</p>
<p>I've followed the guide to create an upload key and keystore, to the letter: <a href="https://developer.android.com/studio/publish/app-signing#generate-key" rel="nofollow noreferrer">https://developer.android.com/studio/publish/app-signing#generate-key</a></p>
<p>I h... | I am trying to create a playstore release. I've followed the guide to create an upload key and keystore, to the letter: https://developer.android.com/studio/publish/app-signing#generate-key I have then generated a signed app bundle of my app with the upload key, exactly as stated here: https://developer.android.com/stu... | android|google-play|google-play-console|android-app-signing | 3 | 2022-05-13T09:16:28.257Z | 2,022 | 5 | 9 | 4 | 929 | 4 | 2,004 | 76 | 4 | 0 | false | false | false | false | false | false | low |
72,227,287 | Display elements in the same place for all devices | <p>I'm trying move items bottom middle, and I want that it was on bottom middle for all devices. And I need add text above and under my imagviews on middel. Sorry for trivial question.</p>
<p>This is my code in Android Studio.</p>
<pre><code> <?xml version="1.0" encoding="utf-8"?>
<LinearLa... | I'm trying move items bottom middle, and I want that it was on bottom middle for all devices. And I need add text above and under my imagviews on middel. Sorry for trivial question. This is my code in Android Studio. [CODE] | android|textview|android-imageview|android-constraintlayout | 1 | 2022-05-13T09:25:18.260Z | 2,022 | 5 | 9 | 4 | 45 | 2 | 223 | 50 | 4 | 1 | true | false | false | false | false | false | low |
72,227,352 | Json file was not found in Android | <p>I am developing a game for mobile and can't create a normal save system because when playing on the phone the error is logged: <strong>Could not find the file</strong>.
I use the <strong>persistent data path</strong> as it was recommended in many answers and this method works well in Editor and Windows but not in A... | I am developing a game for mobile and can't create a normal save system because when playing on the phone the error is logged: Could not find the file . I use the persistent data path as it was recommended in many answers and this method works well in Editor and Windows but not in Android. Is there something I can do a... | c#|android|json|file|unity3d | 0 | 2022-05-13T09:30:34.057Z | 2,022 | 5 | 9 | 4 | 32 | 0 | 448 | 34 | 5 | 1 | true | true | false | false | false | false | zero |
72,227,417 | Filtering array list | <p>I have a class which I want to use, to filter my array according to driver. Driver is hardcoded just to try and eliminate possibilities of why the code is not working. I have tried a lot of different methods none seem to working. I get the error <code>IndexOutOfBoundsException: Index: 1, Size: 0</code> after my line... | I have a class which I want to use, to filter my array according to driver. Driver is hardcoded just to try and eliminate possibilities of why the code is not working. I have tried a lot of different methods none seem to working. I get the error IndexOutOfBoundsException: Index: 1, Size: 0 after my line of println(driv... | android|kotlin|arraylist|filter | 0 | 2022-05-13T09:35:51.740Z | 2,022 | 5 | 9 | 4 | 103 | 1 | 545 | 20 | 4 | 3 | true | false | false | false | false | false | zero |
72,227,613 | I am using a scroll view that hides my toolbar while scrolling, I don't want my toolbar to hide while scrolling | <p>I am making a register screen, that has a toolbar on top of it. When I scroll down the toolbar hides(goes up). I don't want my toolbar to scroll when I am scrolling. I don't want to use adjust resize or adjust pan because then the other parts then don't work correctly. I tried with appbar but it doesn't work. PS I h... | I am making a register screen, that has a toolbar on top of it. When I scroll down the toolbar hides(goes up). I don't want my toolbar to scroll when I am scrolling. I don't want to use adjust resize or adjust pan because then the other parts then don't work correctly. I tried with appbar but it doesn't work. PS I hide... | android|kotlin|mvvm | 0 | 2022-05-13T09:50:53.160Z | 2,022 | 5 | 9 | 4 | 18 | 0 | 382 | 111 | 3 | 1 | true | true | false | false | false | false | zero |
72,227,627 | In flutter, which is more secure using platform functions/ dependency or dart dependency? | <p>Im building a mobile application with flutter which the <strong>security is the highest priority</strong> so what is more secure to use native code (functions/ dependency ) or user the dart code/ dependency ?</p>
<p>In other words if I have function OR called <strong>x()</strong> in native <strong>kotlin/java</stron... | Im building a mobile application with flutter which the security is the highest priority so what is more secure to use native code (functions/ dependency ) or user the dart code/ dependency ? In other words if I have function OR called x() in native kotlin/java or swift and I have the same thing in dart which of them i... | android|ios|flutter|security|mobile-security | 0 | 2022-05-13T09:51:28.243Z | 2,022 | 5 | 9 | 4 | 26 | 0 | 350 | 89 | 5 | 0 | false | true | false | false | false | false | zero |
72,227,684 | Android Studio media player doesnt play when the app is closed | <p>I made an Android app that should play a sound when event is received, it works when app is in focus, but when the app is closed/collapsed sound doesnt play, only standard notification.
How to start a sound/music that is placed inside the app when app with the foreground service?</p>
<p>Main activity:</p>
<pre class... | I made an Android app that should play a sound when event is received, it works when app is in focus, but when the app is closed/collapsed sound doesnt play, only standard notification. How to start a sound/music that is placed inside the app when app with the foreground service? Main activity: [CODE] Alarm service: [C... | java|android|media-player|foreground-service | -1 | 2022-05-13T09:55:28.043Z | 2,022 | 5 | 9 | 4 | 67 | 1 | 324 | 62 | 4 | 2 | true | false | false | false | false | true | negative |
72,227,767 | Can't get different state background for MaterialButtonToggleGroup | <p>I'm using Material 3 ButtonToggleGroup, I want to have a different background when a button is selected. However, If I don't add any attributes to my style applied to <code>MaterialButton</code>, I get the background set to <code>colorPrimary</code> when a button is selected but when it's not it's transparent.</p>
<... | I'm using Material 3 ButtonToggleGroup, I want to have a different background when a button is selected. However, If I don't add any attributes to my style applied to MaterialButton , I get the background set to colorPrimary when a button is selected but when it's not it's transparent. When I add a backgroundTint attri... | android|material-ui|material-design|android-button|material-components-android | 0 | 2022-05-13T10:01:48.073Z | 2,022 | 5 | 10 | 4 | 20 | 0 | 403 | 66 | 5 | 0 | false | true | false | false | false | false | zero |
72,227,805 | Pdf file is not able to load in android webview but able to load in external browser | <p>I have the webpage created with angular js file. There are pdf files inside the webpage we want to download and show.
when clicking the pdf file, it just show loading and nth happened. Also shouldOverrideUrlLoading method is never called. This method is not deprecated.
We tried to load the url in external browser an... | I have the webpage created with angular js file. There are pdf files inside the webpage we want to download and show. when clicking the pdf file, it just show loading and nth happened. Also shouldOverrideUrlLoading method is never called. This method is not deprecated. We tried to load the url in external browser and o... | android|kotlin|webview | 0 | 2022-05-13T10:05:06.537Z | 2,022 | 5 | 10 | 4 | 209 | 2 | 534 | 84 | 3 | 1 | true | false | false | false | false | false | zero |
72,227,838 | Xamarin: How to delete files using CrossFilePicker Xamarin Forms | <p>I am using the following code to pick a file using CrossFilePicker in Xamarin forms. Goal is to delete the selected file in Xamarin.Android project, file still intact after running the command.</p>
<pre><code> FileData filedata = await CrossFilePicker.Current.PickFile();
Android.Net.Uri uri =... | I am using the following code to pick a file using CrossFilePicker in Xamarin forms. Goal is to delete the selected file in Xamarin.Android project, file still intact after running the command. [CODE] When using the DisplayAlert to check the filepath, I saw the below path, but file doesn't delete!! [CODE] | c#|xamarin|xamarin.forms|xamarin.android|xamarin-studio | 0 | 2022-05-13T10:07:02.710Z | 2,022 | 5 | 10 | 4 | 88 | 1 | 306 | 64 | 5 | 2 | true | false | false | false | false | false | zero |
72,227,858 | Know whether a view is completely visible in a recycler view from its adapter | <p>I saw a lot of posts that show the currently entirely visible item in the recycler view but, from the activity. But, I want to know about that from the adapter. If the view is completely visible, I want to start playing a video and when it is hidden, I want to stop it.</p> | I saw a lot of posts that show the currently entirely visible item in the recycler view but, from the activity. But, I want to know about that from the adapter. If the view is completely visible, I want to start playing a video and when it is hidden, I want to stop it. | android|kotlin|android-recyclerview | 0 | 2022-05-13T10:08:58.973Z | 2,022 | 5 | 10 | 4 | 103 | 1 | 269 | 77 | 3 | 0 | false | false | false | false | false | false | zero |
72,227,861 | How to organize classes and layout | <p>so i was trying to find how to make sub folders for java classes and the xml layouts, I have a big project to work on and having to many classes and layouts in 1 folder makes it messy, is there a video explaining it? because when I am trying to make folders it wont let the app run</p> | so i was trying to find how to make sub folders for java classes and the xml layouts, I have a big project to work on and having to many classes and layouts in 1 folder makes it messy, is there a video explaining it? because when I am trying to make folders it wont let the app run | android-studio|directory|project-organization | 0 | 2022-05-13T10:09:27.807Z | 2,022 | 5 | 10 | 4 | 17 | 1 | 281 | 34 | 3 | 0 | false | false | false | false | false | false | zero |
72,227,943 | How to add a project from android studio to Gitlab in an existing project? | <p>I did a project on my personal desktop on android studio. Now I want to add that project to Gitlab in a branch that is already created in a repository. How can I do it?</p> | I did a project on my personal desktop on android studio. Now I want to add that project to Gitlab in a branch that is already created in a repository. How can I do it? | flutter|android-studio|dart|mobile-application | 0 | 2022-05-13T10:16:55.167Z | 2,022 | 5 | 10 | 4 | 40 | 0 | 168 | 74 | 4 | 0 | false | true | false | false | false | false | zero |
72,228,000 | How to make kotlin operator a Composable with parameters having default value | <p>I'm trying to make Kotlin's <code>invoke</code> operator a <code>@Composable</code>, everything works fine, until I add a parameter to it, which should have a default value. See the code below:</p>
<pre><code>class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
... | I'm trying to make Kotlin's invoke operator a @Composable , everything works fine, until I add a parameter to it, which should have a default value. See the code below: [CODE] When the operator is not annotated as @Composable the output is SomeText , as it should be. Is this some error in Jetpack Compose, or am I missi... | android|kotlin|android-jetpack-compose | 0 | 2022-05-13T10:21:01.290Z | 2,022 | 5 | 10 | 4 | 126 | 2 | 430 | 77 | 3 | 1 | true | false | false | false | false | false | zero |
72,228,035 | Change colour of date picker in Android with possibility to have custom Splash screen as well | <p>I am working on a project where I would like to have custom splash screen, however I would also like to have dark styled Android dialogs, that are corresponding to my Android theme selection.</p>
<p>Currently everything seems to be fine, except that my Date picker has background of my splash screen. How to leave Spl... | I am working on a project where I would like to have custom splash screen, however I would also like to have dark styled Android dialogs, that are corresponding to my Android theme selection. Currently everything seems to be fine, except that my Date picker has background of my splash screen. How to leave Splash screen... | c#|xamarin|xamarin.forms|xamarin.android | 0 | 2022-05-13T10:23:27.753Z | 2,022 | 5 | 10 | 4 | 44 | 1 | 986 | 93 | 4 | 1 | true | false | false | false | false | false | zero |
72,228,118 | Behavior OnDetachingFrom not called on close of popup | <p>On close of popup behavior dettach method is not called.
while OnDisappering the page if binding context is assigned with null OnDetachingFrom will be called.</p>
<p>But in my case i cant set BindingContext = null;</p>
<p>is there another solution</p> | On close of popup behavior dettach method is not called. while OnDisappering the page if binding context is assigned with null OnDetachingFrom will be called. But in my case i cant set BindingContext = null; is there another solution | xaml|xamarin.forms|xamarin.android | 0 | 2022-05-13T10:29:44.950Z | 2,022 | 5 | 10 | 4 | 23 | 0 | 233 | 53 | 3 | 0 | false | true | false | false | false | false | zero |
72,228,262 | Is there a way to drag and drop only when a specific button is clicked on recyclerview item? | <p>I'm using the ItemTouchHelper for drag and drop.
As I see, ItemTouchHelper only provides the ability to drag over any part of the item.
But I need to implement drag and drop only on a specific button.</p>
<p><a href="https://i.stack.imgur.com/dGzc6.png" rel="nofollow noreferrer">button to drag an item</a></p> | I'm using the ItemTouchHelper for drag and drop. As I see, ItemTouchHelper only provides the ability to drag over any part of the item. But I need to implement drag and drop only on a specific button. button to drag an item | android-recyclerview|drag-and-drop | 0 | 2022-05-13T10:40:12.707Z | 2,022 | 5 | 10 | 4 | 39 | 0 | 223 | 92 | 2 | 0 | false | true | false | false | false | false | zero |
72,228,573 | Firebase authentication - refreshToken automatic refresh | <p>I am developing a react-native application which will use firebase authentication, and I have some doubts about how refresh tokens should work.
I am using the react native package <a href="https://rnfirebase.io/" rel="nofollow noreferrer">https://rnfirebase.io/</a> <code>"@react-native-firebase/auth": &quo... | I am developing a react-native application which will use firebase authentication, and I have some doubts about how refresh tokens should work. I am using the react native package https://rnfirebase.io/ "@react-native-firebase/auth": "^14.9.0" and so far everything works great (login/account-creatio... | android|ios|react-native|firebase-authentication|react-native-firebase | 0 | 2022-05-13T11:05:30.687Z | 2,022 | 5 | 11 | 4 | 273 | 0 | 1,856 | 56 | 5 | 2 | true | true | false | false | false | false | zero |
72,228,581 | How to start the same action multiple times from the same startingDestination using navigation graph? | <p>I started recently using the navigation graph and i have a problem that i havent solved yet. I want to open the same fragment multiple times that they are stacked on each other. I already figured out that i need Dialogfragment because otherwise the graph is doing a replace instead of add.</p>
<p>The problem is that ... | I started recently using the navigation graph and i have a problem that i havent solved yet. I want to open the same fragment multiple times that they are stacked on each other. I already figured out that i need Dialogfragment because otherwise the graph is doing a replace instead of add. The problem is that i can call... | android|kotlin|android-jetpack|android-jetpack-navigation|android-navigation-graph | 1 | 2022-05-13T11:06:56.497Z | 2,022 | 5 | 11 | 4 | 156 | 1 | 842 | 101 | 5 | 3 | true | false | false | false | false | false | low |
72,228,617 | Get current location to find the nearest places | <p>I want to when I log in to the app I will get current location user then I will pass it to main activity.</p>
<pre><code>private LocationRequest locationRequest;
private FirebaseAuth mAuth = FirebaseAuth.getInstance();
String state = "";
@Override
protected void onCreate(Bundle savedInstanceState) {
s... | I want to when I log in to the app I will get current location user then I will pass it to main activity. [CODE] I want to get location before startActivity. How can I do that? If I copy code get current location to if(currentUser != null) then when I login new user. I can't get current location | java|android|location | 0 | 2022-05-13T11:09:38.443Z | 2,022 | 5 | 11 | 4 | 25 | 0 | 296 | 47 | 3 | 1 | true | true | false | false | false | false | zero |
72,228,681 | Error in reading the Firebase: from firebase value to child | <p>I have created an event handler for the onClick button. When I click on the button, I want to transfer a pre-recorded number in the database to the price section.</p>
<p>My problem is that: when I click on the button and want to pass the value "pricecode" recorded in the database to "price". But ... | I have created an event handler for the onClick button. When I click on the button, I want to transfer a pre-recorded number in the database to the price section. My problem is that: when I click on the button and want to pass the value "pricecode" recorded in the database to "price". But it is mand... | java|android|firebase|firebase-realtime-database | 0 | 2022-05-13T11:15:49.463Z | 2,022 | 5 | 11 | 4 | 35 | 2 | 537 | 59 | 4 | 2 | true | false | false | false | false | false | zero |
72,228,709 | App crashes when I try to use a progressBar Widget | <p>I have a ConsentForm Activity. Upon pressing the consent Btn (Yes) a dialog where the user has 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 progress bar appears and then the next activity never ope... | I have a ConsentForm Activity. Upon pressing the consent Btn (Yes) a dialog where the user has 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 progress bar appears and then the next activity never opens.... | java|android-studio|progress-bar | 0 | 2022-05-13T11:18:22.667Z | 2,022 | 5 | 11 | 4 | 23 | 0 | 429 | 50 | 3 | 2 | true | true | false | false | false | false | zero |
72,228,747 | How can i show previous 30 days in my list calendar? | <p>I have a calendar, that works correct but shows only current day and future. How can i set previous days? I'd like to highliht a current day but also give an opportunity to scroll it to right and left. Maybe have your already faced to this problem. Help me please.</p>
<p>This is a whole class, you can try it</p>
<pr... | I have a calendar, that works correct but shows only current day and future. How can i set previous days? I'd like to highliht a current day but also give an opportunity to scroll it to right and left. Maybe have your already faced to this problem. Help me please. This is a whole class, you can try it [CODE] i used dep... | android|ios|flutter|dart | 0 | 2022-05-13T11:21:38.127Z | 2,022 | 5 | 11 | 4 | 37 | 1 | 374 | 52 | 4 | 1 | true | false | false | false | false | false | zero |
72,228,760 | Error when running app on virtual machine in Android Studio | <p>I am fairly new to android studio so please excuse my incompetence. Two days ago I deleted android studio and re-downloaded it and now the emulator refuses to work. This is the error message that I am receiving:</p>
<p><a href="https://controlc.com/105d979d" rel="nofollow noreferrer">https://controlc.com/105d979d</a... | I am fairly new to android studio so please excuse my incompetence. Two days ago I deleted android studio and re-downloaded it and now the emulator refuses to work. This is the error message that I am receiving: https://controlc.com/105d979d I have tried completely uninstalling android studio including the .gradle and ... | android|android-studio | 0 | 2022-05-13T11:22:13.297Z | 2,022 | 5 | 11 | 4 | 39 | 1 | 514 | 59 | 2 | 0 | false | false | false | false | false | false | zero |
72,228,927 | Retrieving a plain text error message from a call response | <p>I am building out the login form for a client, and their backend, upon successfully authenticating the user, returns the user validation data in a JSONObject as you can see below. Upon failure, however (i.e. 404 username not found), they return a plain text with the error message. I cannot figure out how to retrieve... | I am building out the login form for a client, and their backend, upon successfully authenticating the user, returns the user validation data in a JSONObject as you can see below. Upon failure, however (i.e. 404 username not found), they return a plain text with the error message. I cannot figure out how to retrieve th... | android|kotlin|retrofit2 | 0 | 2022-05-13T11:35:54.107Z | 2,022 | 5 | 11 | 4 | 23 | 0 | 481 | 58 | 3 | 2 | true | true | false | false | false | false | zero |
72,228,978 | How to center spinner items using styles.xml? | <p>How to center spinner items through styles without creating custom item view? Without extra work in code, just using styles.</p>
<p><a href="https://i.stack.imgur.com/gy6Dp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gy6Dp.png" alt="enter image description here" /></a></p> | How to center spinner items through styles without creating custom item view? Without extra work in code, just using styles. | android|android-spinner|android-theme|android-styles | 0 | 2022-05-13T11:39:07.053Z | 2,022 | 5 | 11 | 4 | 31 | 1 | 124 | 45 | 4 | 0 | false | false | false | false | false | false | zero |
72,228,992 | Saving an AnimationDrawable object to a file | <p>I am very new to android development and trying to make an application that will convert a video to GIf using MediaMetadataRetriever and AnimationDrawable. I am able to display the GIF but I am not able to save the file. I want to know how I can save this GIF as a file or essentially an AnimationDrawable object to a... | I am very new to android development and trying to make an application that will convert a video to GIf using MediaMetadataRetriever and AnimationDrawable. I am able to display the GIF but I am not able to save the file. I want to know how I can save this GIF as a file or essentially an AnimationDrawable object to a fi... | java|android|android-studio|animationdrawable|mediametadataretriever | 0 | 2022-05-13T11:40:20.957Z | 2,022 | 5 | 11 | 4 | 18 | 0 | 345 | 44 | 5 | 1 | true | true | false | false | false | false | zero |
72,229,042 | How long is the delay when refactoring the targetClass name in android application shortcuts.xml | <p>I am investigating the use of Google App actions with the Google assistant in my current Android project.</p>
<p>I have published my app to the google play store as an internal test deployment and can trigger the actions by employing the Google Assistant App Action Test tool.</p>
<p>my issues have started following ... | I am investigating the use of Google App actions with the Google assistant in my current Android project. I have published my app to the google play store as an internal test deployment and can trigger the actions by employing the Google Assistant App Action Test tool. my issues have started following my latest refacto... | android|actions-on-google | 0 | 2022-05-13T11:43:46.610Z | 2,022 | 5 | 11 | 4 | 6 | 0 | 871 | 96 | 2 | 0 | false | true | false | false | false | false | zero |
72,229,057 | Firestore Query Default Order | <p>The following is stated in the official <a href="https://firebase.google.com/docs/firestore/query-data/order-limit-data" rel="nofollow noreferrer">documentation</a>:</p>
<blockquote>
<p>By default, a query retrieves all documents that satisfy the query in ascending order by document ID. You can specify the sort orde... | The following is stated in the official documentation : By default, a query retrieves all documents that satisfy the query in ascending order by document ID. You can specify the sort order for your data using orderBy(), and you can limit the number of documents retrieved using the limit(). But I found the above stateme... | java|android|firebase|google-cloud-platform|google-cloud-firestore | 1 | 2022-05-13T11:45:55.613Z | 2,022 | 5 | 11 | 4 | 142 | 1 | 592 | 29 | 5 | 1 | true | false | false | false | false | false | low |
72,229,063 | Android studio can not recognize manifest file | <p>My Android Studio Chipmunk can not recognize AndroidManifest.xml files in all projects.
Other .xml files are correctly recognized. AndroidManifest is recognized as "plain-text".
I tried to update android studio (got bumblebee before) do completely clean install and also delete and reimport projects.
Any id... | My Android Studio Chipmunk can not recognize AndroidManifest.xml files in all projects. Other .xml files are correctly recognized. AndroidManifest is recognized as "plain-text". I tried to update android studio (got bumblebee before) do completely clean install and also delete and reimport projects. Any idea ... | android|xml|android-studio|manifest | 1 | 2022-05-13T11:46:36.073Z | 2,022 | 5 | 11 | 4 | 238 | 1 | 337 | 46 | 4 | 0 | false | false | false | false | false | false | low |
72,229,118 | SharePrefs not working for Android Spinner - behaviour very erratic | <p>I have a spinner inside of a dialog box, which you can use to select a currency for my app. When you select a currency, it connects to an api from a currency site and displays the parsed info using Json to display the chosen currency's info in my app's mainactivity.</p>
<p>I have used shared preferences to save the ... | I have a spinner inside of a dialog box, which you can use to select a currency for my app. When you select a currency, it connects to an api from a currency site and displays the parsed info using Json to display the chosen currency's info in my app's mainactivity. I have used shared preferences to save the index no o... | android|sharedpreferences|android-spinner|android-dialog | 0 | 2022-05-13T11:49:50.327Z | 2,022 | 5 | 11 | 4 | 21 | 0 | 1,104 | 67 | 4 | 2 | true | true | false | false | false | false | zero |
72,229,147 | Is there any method in react native to generate android and ios folders again? | <p>I messed up in my react-native android and ios folder while doing some changes in internal files, now project is not starting with lots of errors which is from gradle and pod file , can i clean this project to default stage or can i delete these folders and regenerate again for clean folders again in same project?.<... | I messed up in my react-native android and ios folder while doing some changes in internal files, now project is not starting with lots of errors which is from gradle and pod file , can i clean this project to default stage or can i delete these folders and regenerate again for clean folders again in same project?. | android|ios|react-native | 0 | 2022-05-13T11:52:22.493Z | 2,022 | 5 | 11 | 4 | 95 | 1 | 316 | 78 | 3 | 0 | false | false | false | false | false | false | zero |
72,229,207 | Android: How to make Google Map Polyline smoother? | <p>I'm using the latest Google Maps Android SDK:</p>
<pre><code>implementation 'com.google.android.gms:play-services-maps:18.0.2'
</code></pre>
<p>This is my method for adding a Polyline to the map</p>
<pre><code>return mMap.addPolyline(new PolylineOptions()
.addAll(latLngs)
.width(Globa... | I'm using the latest Google Maps Android SDK: [CODE] This is my method for adding a Polyline to the map [CODE] The polylines seem to be very rugged and I'd like them smooth. Is this even possible? I found a reference to Polyline Quality in the docs but I don't see this property available on Android. https://developers.... | android|google-maps|polyline|google-polyline | 1 | 2022-05-13T11:56:53.907Z | 2,022 | 5 | 11 | 4 | 111 | 0 | 432 | 50 | 4 | 2 | true | true | false | false | false | false | low |
72,229,222 | how insert loading animation during a function in python kivy? | <p>I'm a beginner and would like to insert an MDSpinner while executing a loop, or a mysql query, or some process that takes time. I made this example below to illustrate my problem:</p>
<pre><code>from kivy.lang import Builder
from kivymd.app import MDApp
from kivy.clock import Clock
import threading
KV = '''
MDScre... | I'm a beginner and would like to insert an MDSpinner while executing a loop, or a mysql query, or some process that takes time. I made this example below to illustrate my problem: [CODE] however, when I change the screen, the following error appears and all the elements of the two screens overlap... [CODE] | python|android|mobile|kivy|python-for-android | 0 | 2022-05-13T11:57:53.077Z | 2,022 | 5 | 11 | 4 | 106 | 1 | 307 | 62 | 5 | 2 | true | false | false | false | false | false | zero |
72,229,339 | How to display .svg Image URL in JetPack Compose? | <p>I have svg image Url, I want to display the image in Jetpack Compose.</p> | I have svg image Url, I want to display the image in Jetpack Compose. | android-studio|android-jetpack-compose|coil | 1 | 2022-05-13T12:05:56.990Z | 2,022 | 5 | 12 | 4 | 534 | 1 | 69 | 49 | 3 | 0 | false | false | false | false | false | false | low |
72,229,419 | noticed a Strange thing in previous pages on chrome history | <p>I saw this com.google.android.trichromelibrary_495106133
suddenly on my phon in the history in menu on Chrome.
What is it?</p> | I saw this com.google.android.trichromelibrary_495106133 suddenly on my phon in the history in menu on Chrome. What is it? | android | 0 | 2022-05-13T12:12:27.470Z | 2,022 | 5 | 12 | 4 | 43 | 1 | 122 | 59 | 1 | 0 | false | false | false | false | false | false | zero |
72,229,468 | publishing to Application play store from Delphi community edition 10.4 | <p>I am a retired disabled programmer who is battling to publish a simple but fun game to the application store.
I am using the Delphi community edition version 10.4 and if I compile to release it works perfectly on all devices that I have tested but if I follow all the instructions to create an aab file to upload to t... | I am a retired disabled programmer who is battling to publish a simple but fun game to the application store. I am using the Delphi community edition version 10.4 and if I compile to release it works perfectly on all devices that I have tested but if I follow all the instructions to create an aab file to upload to the ... | android|delphi|google-play | 0 | 2022-05-13T12:16:18.933Z | 2,022 | 5 | 12 | 4 | 147 | 1 | 641 | 71 | 3 | 0 | false | false | false | false | false | false | zero |
72,229,478 | Compose's "AndroidView"'s factory method doesn't recall when "remember" value change | <p>I've an <code>AndroidView</code> on my UI and I'm creating a custom view class using factory scope. And I've <code>remember</code> value above my android view which is changing by user actions.</p>
<pre><code> val isActive = remember { mutableStateOf(true) }
AndroidView(
modifier = Modifier
... | I've an AndroidView on my UI and I'm creating a custom view class using factory scope. And I've remember value above my android view which is changing by user actions. [CODE] In factory scope, I'm trying to use isActive value for configuring the AndroidView but it doesn't trigger when isActive value changes. Outside fr... | android|kotlin|android-jetpack-compose|android-jetpack | -1 | 2022-05-13T12:16:42.077Z | 2,022 | 5 | 12 | 4 | 154 | 1 | 431 | 84 | 4 | 2 | true | false | false | false | false | true | negative |
72,229,585 | How to draw x-axis labels between 2 Bars from 1 group of BarChart Android Studio | <p>I'm using BarCharts for a project in Android Studio
I created a Barchart with 2 vertical bars for each group. I also changed the x axis by adding a list of names (Strings), but it doesn't look well. I want the x axis to always be between the 2 vertical bars from 1 group (because those 2 bars are correspondent for 1 ... | I'm using BarCharts for a project in Android Studio I created a Barchart with 2 vertical bars for each group. I also changed the x axis by adding a list of names (Strings), but it doesn't look well. I want the x axis to always be between the 2 vertical bars from 1 group (because those 2 bars are correspondent for 1 nam... | android|charts|bar-chart|mpandroidchart|x-axis | 0 | 2022-05-13T12:26:00.970Z | 2,022 | 5 | 12 | 4 | 38 | 0 | 573 | 80 | 5 | 1 | true | true | false | false | false | false | zero |
72,229,622 | How to open an activity on the lock screen after FCM notification | <p>How can I open an activity on the lock screen without the user having to click on it? Like for example an alarm or a call.
In my code I can get the FCM notification and if the user clicks on the notification it is possible to open an activity, but I wanted the user not to have to click on it.</p>
<p>FirebaseService.... | How can I open an activity on the lock screen without the user having to click on it? Like for example an alarm or a call. In my code I can get the FCM notification and if the user clicks on the notification it is possible to open an activity, but I wanted the user not to have to click on it. FirebaseService.java [CODE... | java|android | 0 | 2022-05-13T12:29:23.103Z | 2,022 | 5 | 12 | 4 | 20 | 1 | 347 | 65 | 2 | 2 | true | false | false | false | false | false | zero |
72,229,676 | when scroll end multiple request retrofit send when user two time bottom hit how to control it | <p>I am using retrofit in my app to get data from server 15 results each request all working is fine but when I hit bottom retrofit send a request for new data it's fine but sometimes when progress is showing I scroll again retrofit send again request how to fix it</p>
<pre><code> nestedScrollView.setOnScrollChangeList... | I am using retrofit in my app to get data from server 15 results each request all working is fine but when I hit bottom retrofit send a request for new data it's fine but sometimes when progress is showing I scroll again retrofit send again request how to fix it [CODE] all jobs functions call two times when I hit again... | java|android|retrofit | 0 | 2022-05-13T12:33:18.227Z | 2,022 | 5 | 12 | 4 | 17 | 0 | 327 | 94 | 3 | 1 | true | true | false | false | false | false | zero |
72,229,693 | Notify data change on spinner select | <p>I can't seem to get my driver to update through my app. I have tried but with no luck. I have a possible solution but don't know what the adapter is that needs to be used. This data all happens in my <code>MainActivity</code>. When the new spinner item is selected. I pass the driver through to do new calculations wi... | I can't seem to get my driver to update through my app. I have tried but with no luck. I have a possible solution but don't know what the adapter is that needs to be used. This data all happens in my MainActivity . When the new spinner item is selected. I pass the driver through to do new calculations with the correct ... | android|kotlin|spinner | 0 | 2022-05-13T12:34:35.487Z | 2,022 | 5 | 12 | 4 | 40 | 0 | 411 | 36 | 3 | 2 | true | true | false | false | false | false | zero |
72,229,698 | Is it possible to request change of the AdMob app ID? | <p>I have developed an android application and integrated AdMob using Flutter framework and deployed it. Suppose someone revealed my app ID and does malicious traffic which will lead my account banned. Is it possible to request changing or change the AdMob app ID? Or does AdMob take care for that possible cases? <br></... | I have developed an android application and integrated AdMob using Flutter framework and deployed it. Suppose someone revealed my app ID and does malicious traffic which will lead my account banned. Is it possible to request changing or change the AdMob app ID? Or does AdMob take care for that possible cases? Note : I'... | android|ios|admob | 0 | 2022-05-13T12:34:58.207Z | 2,022 | 5 | 12 | 4 | 36 | 0 | 464 | 53 | 3 | 0 | false | true | false | false | false | false | zero |
72,229,904 | How to handle Navigation Graph in Nested Fragment of Android | <p>I'm using <code>BottomNavigationView</code> in a fragment and want to show different fragments on tap of each option og that. I'm able to see <code>BottomNavigationView</code> but I'm unable to load any fragment. I'm using below code for that.</p>
<p><code>res/layout/fragment_main_tab.xml</code></p>
<pre><code><?... | I'm using BottomNavigationView in a fragment and want to show different fragments on tap of each option og that. I'm able to see BottomNavigationView but I'm unable to load any fragment. I'm using below code for that. res/layout/fragment_main_tab.xml [CODE] res/navigation/main_menu_nav_graph.xml [CODE] MainTabFragment.... | android|bottomnavigationview|android-navigation-graph | 0 | 2022-05-13T12:51:26.560Z | 2,022 | 5 | 12 | 4 | 134 | 1 | 529 | 60 | 3 | 4 | true | false | false | false | false | false | zero |
72,229,912 | How do parental control apps lock the screen? | <p>I am developing an app that locks the screen for some time, just like parental control apps do when the screen time runs out. However, I do not really know how they work. I suppose they don't use <code>lockNow</code> because there is that message that shows up telling you that the time has run out. I also don't thin... | I am developing an app that locks the screen for some time, just like parental control apps do when the screen time runs out. However, I do not really know how they work. I suppose they don't use lockNow because there is that message that shows up telling you that the time has run out. I also don't think they use overl... | android | 0 | 2022-05-13T12:51:49.513Z | 2,022 | 5 | 12 | 4 | 28 | 0 | 555 | 45 | 1 | 0 | false | true | false | false | false | false | zero |
72,229,967 | How to change the textColor for all widgets in the App when the theme is Material3 | <p>I want to change the default textColor of all text in my App. e.g. for all buttons, textViews, EditText's etc. in my App. Before moving to Material3, this was done using:</p>
<p><strong>themes.xml</strong></p>
<pre><code><style name="MyThemeName" parent="Theme.AppCompat.Light.DarkActionBar">... | I want to change the default textColor of all text in my App. e.g. for all buttons, textViews, EditText's etc. in my App. Before moving to Material3, this was done using: themes.xml [CODE] Now it doesn't work anymore. How do I do it now? The project is a default Android project: [CODE] I can do it like this, but that i... | android|material-design|android-jetpack-compose-material3 | 2 | 2022-05-13T12:57:09.473Z | 2,022 | 5 | 12 | 4 | 186 | 2 | 463 | 82 | 3 | 3 | true | false | false | false | false | false | low |
72,230,016 | How to trigger other CardView element in recyclerview than clicked? | <p>I have a method in adapter using recyclerview I basically display some elements of <code>cardViews</code>.</p>
<p>How to trigger method on other element where usually I use</p>
<pre><code>cardView.setOnClickListener {
// MY action on specific} cardView element
</code></pre>
<p>for example when I click third element,... | I have a method in adapter using recyclerview I basically display some elements of cardViews . How to trigger method on other element where usually I use [CODE] for example when I click third element, <MY ACTION> happens in second element? Inside cardView I can i.e use: [CODE] but it will only work when I trigger actua... | android|kotlin|android-recyclerview|adapter | 0 | 2022-05-13T13:00:50.907Z | 2,022 | 5 | 13 | 4 | 73 | 2 | 559 | 67 | 4 | 4 | true | false | false | false | false | false | zero |
72,230,110 | Firebase chat adds message in other conversation when online | <p>We have implemented a chat application both in iOS and Android which is 1:1 chat, and the structure is also well designed. Recently we figured out a bug which sends message to another user when they are online. Refer the eg</p>
<p>Suppose there are 3 People, User - A, User - B and User - C</p>
<p>User - B sends a me... | We have implemented a chat application both in iOS and Android which is 1:1 chat, and the structure is also well designed. Recently we figured out a bug which sends message to another user when they are online. Refer the eg Suppose there are 3 People, User - A, User - B and User - C User - B sends a message to User - A... | android|ios|swift|firebase|firebase-realtime-database | 0 | 2022-05-13T13:07:02.957Z | 2,022 | 5 | 13 | 4 | 107 | 1 | 899 | 60 | 5 | 2 | true | false | false | false | false | false | zero |
72,230,240 | Kotlin read from room database in fragment | <p>I write an application with room database and I have a problem with reading data and use it in the mine thread.</p>
<p>consider tables as those:</p>
<p><strong>Table1</strong></p>
<pre><code>| ID | Name |
| -- | ------ |
| 1 | first |
| 2 | second |
</code></pre>
<p><strong>Table2</strong></p>
<pre><code>| ID |... | I write an application with room database and I have a problem with reading data and use it in the mine thread. consider tables as those: Table1 [CODE] Table2 [CODE] I have no problem to display information about object from table2 since it is passed to the fragment, but when I try to get Name by ID from table1 I am un... | kotlin|thread-safety|android-room | 0 | 2022-05-13T13:18:36.280Z | 2,022 | 5 | 13 | 4 | 210 | 1 | 516 | 42 | 3 | 3 | true | false | false | false | false | false | zero |
72,230,264 | How to update the recyclerview when opening the app? | <p>I'm looking for a list of movies in an API, the project is in MVVM and the search is being done perfectly. However, when opening the app, the user has to exit and open it again for the list to display the results. How to solve this?</p>
<p>In onStart I use Observe</p>
<pre><code> override fun onStart() {
super... | I'm looking for a list of movies in an API, the project is in MVVM and the search is being done perfectly. However, when opening the app, the user has to exit and open it again for the list to display the results. How to solve this? In onStart I use Observe [CODE] In onResume [CODE] | java|android|kotlin | 0 | 2022-05-13T13:20:11.137Z | 2,022 | 5 | 13 | 4 | 38 | 1 | 283 | 52 | 3 | 2 | true | false | false | false | false | false | zero |
72,230,275 | Samsung Music Controls Widget not working properly | <p>I have a working app with notification media controls. I am properly using <code>Notification.MediaStyle()</code>. Everything works well on Google Pixel 4a. However Samsung devices are showing their own system/default controls on <strong>lock screen</strong>. Buttons are wrong, metadata is missing and they are not u... | I have a working app with notification media controls. I am properly using Notification.MediaStyle() . Everything works well on Google Pixel 4a. However Samsung devices are showing their own system/default controls on lock screen . Buttons are wrong, metadata is missing and they are not usable. So the question is how d... | android|android-notification.mediastyle|samsung | 0 | 2022-05-13T13:20:55.410Z | 2,022 | 5 | 13 | 4 | 66 | 0 | 414 | 50 | 3 | 0 | false | true | false | false | false | false | zero |
72,230,629 | java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/core/view/MenuHost; | <p>I'm making a google sign in process in my app.</p>
<p>Whenever I open my app it crashes and gives <code>NoClassDefFoundError</code></p>
<p>I checked the logcat and found this:-</p>
<pre><code> --------- beginning of crash
2022-05-13 18:59:08.881 3810-3810/com.java.whatsapp E/AndroidRuntime: FATAL EXCEPTION: main
... | I'm making a google sign in process in my app. Whenever I open my app it crashes and gives NoClassDefFoundError I checked the logcat and found this:- [CODE] This is build.gradle(module) :- [CODE] Why this error is occurring? Please help me! | java|android|build.gradle|classnotfoundexception|noclassdeffounderror | 0 | 2022-05-13T13:47:28.887Z | 2,022 | 5 | 13 | 4 | 946 | 1 | 240 | 83 | 5 | 2 | true | false | false | false | false | false | zero |
72,230,630 | android camera2 Api autoflash not working properly, the first picture is taken before the flash fires | <p>I'm using camera 2 API, my project is heavily based on the archived project from google:
<a href="https://github.com/googlearchive/android-Camera2Basic/" rel="nofollow noreferrer">https://github.com/googlearchive/android-Camera2Basic/</a></p>
<p>I'm starting the preview in the same way:</p>
<pre><code> private fun c... | I'm using camera 2 API, my project is heavily based on the archived project from google: https://github.com/googlearchive/android-Camera2Basic/ I'm starting the preview in the same way: [CODE] I'm capturing the image, running pre-capture, capturing still image, changing the states in the same way as in the project abov... | java|android|kotlin|android-camera2 | 0 | 2022-05-13T13:47:34.747Z | 2,022 | 5 | 13 | 4 | 33 | 1 | 624 | 101 | 4 | 1 | true | false | false | false | false | false | zero |
72,230,801 | Set background color in flutter chart | <p>I am using charts_flutter to build a bar chart, but having a hard time setting the background color. The char is working fine, but I cannot seem to find the option to set the background color, which now for some reason is black (nowhere in the code the word "black" appears) Here's what I have so far:</p>
<... | I am using charts_flutter to build a bar chart, but having a hard time setting the background color. The char is working fine, but I cannot seem to find the option to set the background color, which now for some reason is black (nowhere in the code the word "black" appears) Here's what I have so far: [CODE] A... | android|flutter|charts | 1 | 2022-05-13T13:59:12.553Z | 2,022 | 5 | 13 | 4 | 311 | 1 | 330 | 37 | 3 | 1 | true | false | false | false | false | false | low |
72,230,803 | getUUIDS returns null when device isn't paired | <p>For some strange reason i can't get the uuids of a device i'm getting after a discovery.
But if I paire both device before the discovery, then the method getUUIDS doesn't return null.</p>
<p>Am I Missing something</p>
<pre><code> device.fetchUuidsWithSdp();
ParcelUuid[] uuids = device.... | For some strange reason i can't get the uuids of a device i'm getting after a discovery. But if I paire both device before the discovery, then the method getUUIDS doesn't return null. Am I Missing something [CODE] | java|android|bluetooth|bluetoothadapter | 0 | 2022-05-13T13:59:30.360Z | 2,022 | 5 | 13 | 4 | 20 | 0 | 213 | 46 | 4 | 1 | true | true | false | false | false | false | zero |
72,230,907 | How to increase capture default camera image quality | <p>I am using default camera and capturing image. we have converted Base64 image after converting image quality is blur and image size getting very low below 50kb. Can you please help how to increase image better quality with Base64 format. I have attached my code please edit and give solution.</p>
<pre><code> private ... | I am using default camera and capturing image. we have converted Base64 image after converting image quality is blur and image size getting very low below 50kb. Can you please help how to increase image better quality with Base64 format. I have attached my code please edit and give solution. [CODE] | java|android|kotlin|camera | 0 | 2022-05-13T14:05:44.503Z | 2,022 | 5 | 14 | 4 | 16 | 0 | 299 | 52 | 4 | 1 | true | true | false | false | false | false | zero |
72,230,952 | is it recommended to use Android WorkManager for long tasks? | <p>I have to create an application that activates the proximity alert at certain times of the day (this period of time can be several hours long).
The proximity alert must be started automatically, even if the application has never been opened.</p>
<p>My question is: can I use the <code>WorkManager</code> in this situa... | I have to create an application that activates the proximity alert at certain times of the day (this period of time can be several hours long). The proximity alert must be started automatically, even if the application has never been opened. My question is: can I use the WorkManager in this situation? or should I fall ... | android|android-service|android-workmanager|android-geofence | 1 | 2022-05-13T14:09:42.503Z | 2,022 | 5 | 14 | 4 | 476 | 1 | 352 | 60 | 4 | 0 | false | false | false | false | false | false | low |
72,231,036 | How to use AMediaExtractor_seekTo with ndk | <p>I am writing a mp3 player for android with ndk. Im using AMediaExtractor and AMediaCodec as in ndk example NativeCodec. Now would reposition the stream and I would use AMediaExtractor_seekTo
but nothing happens. Can you help me? Thanks Lino</p> | I am writing a mp3 player for android with ndk. Im using AMediaExtractor and AMediaCodec as in ndk example NativeCodec. Now would reposition the stream and I would use AMediaExtractor_seekTo but nothing happens. Can you help me? Thanks Lino | android|android-ndk|mp3|audio-streaming | 0 | 2022-05-13T14:16:01.133Z | 2,022 | 5 | 14 | 4 | 17 | 0 | 240 | 42 | 4 | 0 | false | true | false | false | false | false | zero |
72,231,219 | kotlin.UninitializedPropertyAccessException: lateinit property postFragment has not been initialized on FragmentStateAdapter Dagger Hilt | <p>i tried to implement viewpager2 with tabLayout with dagger-hilt. then i got error when implementing viewpager2 on dagger hilt <em>"kotlin.UninitializedPropertyAccessException: lateinit property postFragment has not been initialized"</em>. Here's my code</p>
<p><strong>ProfilePagerAdapter</strong></p>
<pre>... | i tried to implement viewpager2 with tabLayout with dagger-hilt. then i got error when implementing viewpager2 on dagger hilt "kotlin.UninitializedPropertyAccessException: lateinit property postFragment has not been initialized" . Here's my code ProfilePagerAdapter [CODE] ProfileActivity [CODE] A tutorial or ... | android|kotlin|dagger-hilt|android-viewpager2 | 0 | 2022-05-13T14:29:49.263Z | 2,022 | 5 | 14 | 4 | 632 | 0 | 392 | 136 | 4 | 2 | true | true | false | false | false | false | zero |
72,231,349 | Expo Image Picker -- not returning image from Android Emulator in Android Studio | <p>I am running the Pixel 5 API 30 avd in Android Studio with react native client coding.</p>
<p>I am using the expo image picker to pick the image and return to the application.</p>
<p>The code is :</p>
<pre><code> const handleUpload = async () => {
//application needs to ask for permission
let permissionR... | I am running the Pixel 5 API 30 avd in Android Studio with react native client coding. I am using the expo image picker to pick the image and return to the application. The code is : [CODE] It is all good -- I give permission and then have taken pictures with the android simulator to create an image bank on the emulato... | android|react-native|image|android-studio|expo | 0 | 2022-05-13T14:38:45.377Z | 2,022 | 5 | 14 | 4 | 197 | 1 | 672 | 80 | 5 | 1 | true | false | false | false | false | false | zero |
72,231,389 | Android app crashes when activity is initialised from fragment | <p>I am currently trying to create a calendar app in android studio. The app contains a calendar with different "Views" e.g. monthly view, weekly view, and daily view.</p>
<p>The app uses fragments as pages and each view is an activity.</p>
<p>This is the code for the fragment and buttons to initialise each v... | I am currently trying to create a calendar app in android studio. The app contains a calendar with different "Views" e.g. monthly view, weekly view, and daily view. The app uses fragments as pages and each view is an activity. This is the code for the fragment and buttons to initialise each view [CODE] The fi... | java|android|android-studio|android-fragments|android-activity | -1 | 2022-05-13T14:41:30.637Z | 2,022 | 5 | 14 | 4 | 145 | 2 | 833 | 62 | 5 | 4 | true | false | false | false | false | true | negative |
72,231,402 | how to configure one or more invocation names for my android app actions application | <p>Im investigating adding App Actions to my existing Android application</p>
<p>I have a number of actions working ok using the Google Assistant App Actions test tool and some voice commands work ok when i try using the actual device app actions feature</p>
<p>my problem is my application name seems to confuse android... | Im investigating adding App Actions to my existing Android application I have a number of actions working ok using the Google Assistant App Actions test tool and some voice commands work ok when i try using the actual device app actions feature my problem is my application name seems to confuse android actions assistan... | android|actions-on-google | 0 | 2022-05-13T14:42:42.300Z | 2,022 | 5 | 14 | 4 | 14 | 0 | 479 | 84 | 2 | 0 | false | true | false | false | false | false | zero |
72,231,438 | How do I wait until data from Preferences DataStore is loaded? | <p>I'm trying to make a LibGDX Live Wallpaper. But I think that is unrelated to the problem I'm having at the moment. Basically, I'm storing the wallpaper's settings inside a Preferences DataStore. Now, if you need to retrieve data from the DataStore, you need to retrieve a Kotlin <code>Flow</code> and use it to get th... | I'm trying to make a LibGDX Live Wallpaper. But I think that is unrelated to the problem I'm having at the moment. Basically, I'm storing the wallpaper's settings inside a Preferences DataStore. Now, if you need to retrieve data from the DataStore, you need to retrieve a Kotlin Flow and use it to get the preferences. I... | android|kotlin|libgdx|datastore|kotlin-flow | 0 | 2022-05-13T14:44:52.023Z | 2,022 | 5 | 14 | 4 | 428 | 1 | 946 | 62 | 5 | 0 | false | false | false | false | false | false | zero |
72,231,469 | Failed to resolve: com.android.support:appcompat-v7:31.0.0 | <p>I'm trying to add Jitsi meet sdk to my android project.</p>
<p>i've implementation('org.jitsi.react:jitsi-meet-sdk:5.0.2') { transitive = true }
and</p>
<p>maven { url 'https://github.com/jitsi/jitsi-maven-repository/raw/master/releases' }</p>
<p>but it gives error:
Failed to resolve: com.github.MatrixFrog:android-s... | I'm trying to add Jitsi meet sdk to my android project. i've implementation('org.jitsi.react:jitsi-meet-sdk:5.0.2') { transitive = true } and maven { url 'https://github.com/jitsi/jitsi-maven-repository/raw/master/releases' } but it gives error: Failed to resolve: com.github.MatrixFrog:android-scalablevideoview:v1.0.4-... | android|android-support-library|jitsi | 1 | 2022-05-13T14:47:20.470Z | 2,022 | 5 | 14 | 4 | 465 | 3 | 682 | 58 | 3 | 5 | true | false | false | false | false | false | low |
72,231,472 | How to update jetpack compose slider state outside of the slider | <p>So, I'm using the Jetpack compose for my app and I have a state with a float value in the viewModel. This value can be updated outside of the slider; but also from the slider when the finger is lifted (I'd rather not update it while the user is still sliding the finger).
I'd like the slider to reflect the value when... | So, I'm using the Jetpack compose for my app and I have a state with a float value in the viewModel. This value can be updated outside of the slider; but also from the slider when the finger is lifted (I'd rather not update it while the user is still sliding the finger). I'd like the slider to reflect the value when it... | android|kotlin|android-jetpack-compose | -1 | 2022-05-13T14:47:26.750Z | 2,022 | 5 | 14 | 4 | 350 | 2 | 535 | 64 | 3 | 1 | true | false | false | false | false | true | negative |
72,231,568 | How to add a drawable image in a map marker | <p>I want to add an image into my map marker, I don't know why this code is not working. The marker is not displaying in my current location.
Here is the code.</p>
<pre><code> @Override
public void onLocationChanged(Location location) {
BitmapDescriptor imageDrawable = BitmapDescriptorFactory.fromResource(R... | I want to add an image into my map marker, I don't know why this code is not working. The marker is not displaying in my current location. Here is the code. [CODE] | android|image|location|drawable|marker | 0 | 2022-05-13T14:54:21.407Z | 2,022 | 5 | 14 | 4 | 12 | 0 | 163 | 43 | 5 | 1 | true | true | false | false | false | false | zero |
72,231,679 | Xamarin.Forms: Reload a contentpage contained in a tabbedpage to update the data | <p>The default language of my Xamarin.Forms app for Android is French. I would like the user to be able to change the language and choose English or Spanish. To do this, I added 3 resource files: AppResources.resx, AppResources.en.resx, and AppResources.es.resx to a Resx folder. In these files, I filled in the keywor... | The default language of my Xamarin.Forms app for Android is French. I would like the user to be able to change the language and choose English or Spanish. To do this, I added 3 resource files: AppResources.resx, AppResources.en.resx, and AppResources.es.resx to a Resx folder. In these files, I filled in the keywords to... | c#|android|xamarin.forms | 0 | 2022-05-13T15:03:03.500Z | 2,022 | 5 | 15 | 4 | 78 | 0 | 906 | 80 | 3 | 4 | true | true | false | false | false | false | zero |
72,231,681 | Why not firebase fields not getting updated? | <p>I am trying to update my firebase database based on "aadhar" field but I am failing to do it so. I don't know where it is going wrong.</p>
<p>Here is my activity code</p>
<pre><code> protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.... | I am trying to update my firebase database based on "aadhar" field but I am failing to do it so. I don't know where it is going wrong. Here is my activity code [CODE] I am getting the fields from Firebase and updating the field which using "aadhar" field. Here is my firebase db [CODE] Data is not ge... | java|android|firebase|google-cloud-firestore | 0 | 2022-05-13T15:03:08.720Z | 2,022 | 5 | 15 | 4 | 16 | 0 | 416 | 44 | 4 | 2 | true | true | false | false | false | false | zero |
72,231,871 | Animation yoyo keep run when typing Edittext | <p><strong>when typing edit text yoyo animation keep run how to keep typing show animation Once ?</strong></p>
<pre><code>text_send.addTextChangedListener(new TextWatcher() {
@Override
public void afterTextChanged(Editable s) {}
@Override
public void ... | when typing edit text yoyo animation keep run how to keep typing show animation Once ? [CODE] when typing edit text yoyo animation keep run how to keep typing show animation Once ? | java|android|android-studio|android-edittext|android-animation | 0 | 2022-05-13T15:16:15.350Z | 2,022 | 5 | 15 | 4 | 18 | 1 | 180 | 44 | 5 | 1 | true | false | false | false | false | false | zero |
72,231,882 | Screen recorder app not detecting my screen size (width and height) | <p>Source: <a href="https://github.com/titooo7/MediaProjectionSample/blob/11a03524384616a161fc15e226dc40e9b2c77c06/app/src/main/java/com/crakac/mediaprojectionsample/ScreenRecordService.kt" rel="nofollow noreferrer">here</a></p>
<p>With the following segment of code all my Android devices record with a maximum width of... | Source: here With the following segment of code all my Android devices record with a maximum width of 960 rather than the device width. [CODE] My phone has a 1080x2400 screen and above code just records video with resolution 432x960. In order to fix it, I modified the code as it follows hoping that now it would record ... | java|android|android-studio|kotlin|screen-recording | 0 | 2022-05-13T15:17:15.363Z | 2,022 | 5 | 15 | 4 | 32 | 0 | 682 | 67 | 5 | 2 | true | true | false | false | false | false | zero |
72,232,096 | Azimuth mirrored after remapping axis coordinate system | <p>I am trying to remap a device that has an alternate coordinate system.</p>
<p><a href="https://i.stack.imgur.com/BqNWi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BqNWi.png" alt="Device Axis Oreintation" /></a></p>
<p>The sensor is reporting values that are rotated 90Β° around the X axis. The f... | I am trying to remap a device that has an alternate coordinate system. The sensor is reporting values that are rotated 90Β° around the X axis. The format is a Quaternion in standard Android Rotation Vector notation. If I use the data unmodified I can hold the device 90Β° offset and successfully call getOrientation via: [... | android|rotation|axis|android-sensors|quaternions | 0 | 2022-05-13T15:34:12.387Z | 2,022 | 5 | 15 | 4 | 53 | 1 | 2,328 | 55 | 5 | 4 | true | false | false | false | false | false | zero |
72,232,153 | Flutter Exception caught by gesture: a ticker was started twice | <p>I have a Flutter application that communicates with the android native code through EventChannel and MethodChannel in order to start or stop an SDK and listen and display in the Flutter Ui the event generated by the SDK.</p>
<p>Everything work fine until I decide to stop and re-start the SDK through a floatingAction... | I have a Flutter application that communicates with the android native code through EventChannel and MethodChannel in order to start or stop an SDK and listen and display in the Flutter Ui the event generated by the SDK. Everything work fine until I decide to stop and re-start the SDK through a floatingActionButton. Af... | android|flutter|ticker|flutter-method-channel|event-channel | 2 | 2022-05-13T15:38:45.330Z | 2,022 | 5 | 15 | 4 | 129 | 0 | 598 | 63 | 5 | 3 | true | true | false | false | false | false | low |
72,232,169 | How to add a marker in my location in a map | <p>I want to add an image into my map marker, I don't know why this code is not working. The marker is not displaying in my current location.If I move the marker to the onMap ready and assign the location to the LatLng one or two, it will work but when i move it to the OnLocationChanged, it will not work. I want to use... | I want to add an image into my map marker, I don't know why this code is not working. The marker is not displaying in my current location.If I move the marker to the onMap ready and assign the location to the LatLng one or two, it will work but when i move it to the OnLocationChanged, it will not work. I want to use it... | android|image|location|drawable|marker | 0 | 2022-05-13T15:40:08.943Z | 2,022 | 5 | 15 | 4 | 10 | 0 | 370 | 43 | 5 | 1 | true | true | false | false | false | false | zero |
72,232,202 | Issue centering a QR square | <p>I am writing an Android test app to see how to handle QR codes.
This is the code for the main activity (MainActivity.kt) and a question is following.</p>
<pre><code>package me.software.myTestApp
import android.graphics.Bitmap
import android.graphics.Color
import android.graphics.drawable.BitmapDrawable
import andro... | I am writing an Android test app to see how to handle QR codes. This is the code for the main activity (MainActivity.kt) and a question is following. [CODE] By using this code I was expecting to see a perfectly square QR code centered both horizontally and vertically. But what I see is a rather well centered QR code, b... | android|kotlin|android-layout|android-constraintlayout | 0 | 2022-05-13T15:43:03.907Z | 2,022 | 5 | 15 | 4 | 30 | 1 | 437 | 27 | 4 | 1 | true | false | false | false | false | false | zero |
72,232,221 | Why Android Studio shows obsolete HAXM RAM setting dialog during installation | <p>According to the HAXM Installation Instructions:</p>
<blockquote>
<p>RAM setting is obsolete since Intel HAXM 6.2.0</p>
</blockquote>
<p>Why Android Studio shows HAXM RAM setting dialog during HAXM installation via SDK Manager?</p>
<p>My environment: Windows 10, Android Studio 2021.2.1, HAXM 7.6.5
Docs: <a href="htt... | According to the HAXM Installation Instructions: RAM setting is obsolete since Intel HAXM 6.2.0 Why Android Studio shows HAXM RAM setting dialog during HAXM installation via SDK Manager? My environment: Windows 10, Android Studio 2021.2.1, HAXM 7.6.5 Docs: https://github.com/intel/haxm/wiki/Installation-Instructions-on... | android|android-studio|haxm | 0 | 2022-05-13T15:44:13.033Z | 2,022 | 5 | 15 | 4 | 69 | 1 | 328 | 77 | 3 | 0 | false | false | false | false | false | false | zero |
72,232,259 | Google revision does not accept my app because of login error | <p>I designed an app and the login is with Google (gmail) and I can access normally but when I send the app to for revision through Google play console they send me a creenshot with login error. Sometimes it happens to me but the second tome I try to login it enters well. Is it a Firebase problem or is anything else? H... | I designed an app and the login is with Google (gmail) and I can access normally but when I send the app to for revision through Google play console they send me a creenshot with login error. Sometimes it happens to me but the second tome I try to login it enters well. Is it a Firebase problem or is anything else? Here... | android|firebase|kotlin|firebase-authentication | 0 | 2022-05-13T15:47:14.463Z | 2,022 | 5 | 15 | 4 | 13 | 0 | 410 | 61 | 4 | 2 | true | true | false | false | false | false | zero |
72,232,346 | Why the app doesn't change to the language I already saved after close | <p>I have some issues with changing the language in the app. I do not know why it is not working, there is no error, checked the log all clear.</p>
<p>I used the following code in the splash screen. It worked well in the beginning, but after I added admob ads, it no longer works,. Only the first page is translated and ... | I have some issues with changing the language in the app. I do not know why it is not working, there is no error, checked the log all clear. I used the following code in the splash screen. It worked well in the beginning, but after I added admob ads, it no longer works,. Only the first page is translated and then it's ... | java|android|localization|locale | 0 | 2022-05-13T15:55:50.197Z | 2,022 | 5 | 15 | 4 | 26 | 0 | 386 | 70 | 4 | 1 | true | true | false | false | false | false | zero |
72,232,366 | react-native-notifications Notification opened when app is opened from app tray (Android only) | <p>I am using react-native-notifications version 4.2.4 on React Native 0.64.1. I have also tried on react-native-notifications version 4.3.1 on React Native 0.67.</p>
<p><strong>Steps</strong></p>
<ul>
<li>Hard close the app.</li>
<li>Open a notification. <code>getInitialNotification()</code> is
populated. The app will... | I am using react-native-notifications version 4.2.4 on React Native 0.64.1. I have also tried on react-native-notifications version 4.3.1 on React Native 0.67. Steps Hard close the app. Open a notification. getInitialNotification() is populated. The app will open the first screen, then navigate to a screen with the not... | java|android|react-native|push-notification | 0 | 2022-05-13T15:57:34.077Z | 2,022 | 5 | 15 | 4 | 378 | 0 | 1,060 | 94 | 4 | 1 | true | true | false | false | false | false | zero |
72,232,584 | Android - Is there a way to set padding to a webview content? | <p>I've a BottomNavigationView with radius borders, and I need to see the content of the pages passing between the borders.</p>
<p>But, one of the BottomNavigationView's children is a WebView, with a thousand pages that I cant change every single one just to add a paddingBottom.</p>
<p>This is what I got now, as you ca... | I've a BottomNavigationView with radius borders, and I need to see the content of the pages passing between the borders. But, one of the BottomNavigationView's children is a WebView, with a thousand pages that I cant change every single one just to add a paddingBottom. This is what I got now, as you can see there's a b... | android|cordova|webview|android-webview | 0 | 2022-05-13T16:16:03.397Z | 2,022 | 5 | 16 | 4 | 54 | 0 | 692 | 61 | 4 | 1 | true | true | false | false | false | false | zero |
72,232,759 | How to change main scope to another in recyclerview, adapter? | <p>This is my code in <code>adapter</code> using <code>recyclerView</code>. How to improve this code to not use Main Scope, but to use scope that could be disposal?
I need to have access to get the <code>item.id</code>, that's why I use it in adapter not in viewmodel/fragment.</p>
<pre><code> _stateFlow.value = item.id... | This is my code in adapter using recyclerView . How to improve this code to not use Main Scope, but to use scope that could be disposal? I need to have access to get the item.id , that's why I use it in adapter not in viewmodel/fragment. [CODE] my code in adapter [CODE] EDIT1 answer for comment: Without coroutine I can... | android|android-recyclerview|adapter|kotlin-coroutines | 0 | 2022-05-13T16:31:43.450Z | 2,022 | 5 | 16 | 4 | 41 | 0 | 463 | 61 | 4 | 2 | true | true | false | false | false | false | zero |
72,232,853 | How to generate RenderScript ScriptC* files with Android.bp? | <p>I want to compile my renderscript project with a <code>.rs</code> file on AOSP.</p>
<p>My AOSP SDK is 29 (Android Q).</p>
<p>My build directory for <code>mm</code> is</p>
<pre><code>βββ Android.bp
βββ AndroidManifest.xml
βββ java
βββ lib
βββ lib64
βββ libs
βββ res
βββ rs
βββ histEq.rs
</code></pre>
<p>I have fol... | I want to compile my renderscript project with a .rs file on AOSP. My AOSP SDK is 29 (Android Q). My build directory for mm is [CODE] I have followed How to generate RenderScript ScriptC* files with Android.mk? and tried this corresponding change: [CODE] However, I am still getting this build error. [CODE] Renaming .rs... | android|android-source|android-10.0|android-soong | 0 | 2022-05-13T16:39:21.957Z | 2,022 | 5 | 16 | 4 | 43 | 1 | 405 | 60 | 4 | 3 | true | false | false | false | false | false | zero |
72,232,892 | Cant run JavaDoc in Android Studio | <p>When I try to run JavaDoc in android studio I am getting several similar errors. 18 in total. One of these I have pasted below. Can someone please help me fix this?</p>
<p><em>3: error: package android does not exist
import android.Manifest;</em></p> | When I try to run JavaDoc in android studio I am getting several similar errors. 18 in total. One of these I have pasted below. Can someone please help me fix this? 3: error: package android does not exist import android.Manifest; | android-studio|javadoc | 0 | 2022-05-13T16:43:12.233Z | 2,022 | 5 | 16 | 4 | 19 | 0 | 230 | 34 | 2 | 0 | false | true | false | false | false | false | zero |
72,233,149 | Modify textview of parent layout from adapter xamarin android | <p>Sorry, I'm using google translate.
Hello, I am developing an application in xamarin android with visual studio 2017 to take requests where I send information from a fragment to a List<EN_WishDetail> to store the selection of items and this is dumped to an adapter to display it in another fragment.
my problem i... | Sorry, I'm using google translate. Hello, I am developing an application in xamarin android with visual studio 2017 to take requests where I send information from a fragment to a List<EN_WishDetail> to store the selection of items and this is dumped to an adapter to display it in another fragment. my problem is that th... | android|listview|xamarin|layout|adapter | 0 | 2022-05-13T17:05:47.243Z | 2,022 | 5 | 17 | 4 | 68 | 1 | 983 | 61 | 5 | 4 | true | false | false | false | false | false | zero |
72,233,218 | How to get openweathermap icon from OneCall API nested-list? | <p>I'm adding weather forecast data to my app. The info displays in a RecyclerView after it is received by an API call using Retrofit 2. I'm having trouble getting the icon string id.</p>
<p>Here is the JSON <a href="https://openweathermap.org/api/one-call-api" rel="nofollow noreferrer">response</a>.</p>
<blockquote>
<... | I'm adding weather forecast data to my app. The info displays in a RecyclerView after it is received by an API call using Retrofit 2. I'm having trouble getting the icon string id. Here is the JSON response . {"lat": 33.44, "lon": -94.04, "timezone": "America/Chicago", "time... | json|android-recyclerview|retrofit2|nested-lists|openweathermap | 0 | 2022-05-13T17:11:34.877Z | 2,022 | 5 | 17 | 4 | 77 | 0 | 2,235 | 60 | 5 | 8 | true | true | false | false | false | false | zero |
72,233,318 | How reverse data in model class | <p>I use firebase ui realtime database to fetch data in RecyclerView and i use</p>
<p>model class and i need to show the latest item firest i try to use</p>
<p>Collections.reverse(list) but i dont know where this list or where i use</p>
<blockquote>
<p>MainActivity.java</p>
</blockquote>
<pre><code>package com.ahmed612... | I use firebase ui realtime database to fetch data in RecyclerView and i use model class and i need to show the latest item firest i try to use Collections.reverse(list) but i dont know where this list or where i use MainActivity.java [CODE] videomodel.java [CODE] What i do to show the latest item is the first? | java|android|firebaseui | 0 | 2022-05-13T17:19:36.900Z | 2,022 | 5 | 17 | 4 | 20 | 0 | 311 | 31 | 3 | 2 | true | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.