id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73,194,164 | when I update an item in my recuclerlistview it put the changes in the previous item of recyclerlistview | <p>I have recyclerlistView that retreives data from firebase and in each item there is a button that lets me choose and change a date with datePickerDialogue but when I change date it put the changes in the previous item of recyclerlistview .</p>
<p>For example when I click btnEnable at item of position 1 in my list t... | I have recyclerlistView that retreives data from firebase and in each item there is a button that lets me choose and change a date with datePickerDialogue but when I change date it put the changes in the previous item of recyclerlistview . For example when I click btnEnable at item of position 1 in my list to change da... | java|android|firebase-realtime-database|android-recyclerview | 0 | 2022-08-01T13:07:39.723Z | 2,022 | 8 | 13 | 0 | 40 | 0 | 374 | 104 | 4 | 1 | true | true | false | false | false | false | zero |
73,194,167 | How to set right the file path for reading, after selecting the file with file picker in android? | <p>In the below attached code , I am able to select file from internal storage using file picker, but unable to open the file for reading the file. code for reading the file is written, looks like its not picking the right path for opening the file, so throwing exception. Can anyone help me diagnose the issue.</p>
<pre... | In the below attached code , I am able to select file from internal storage using file picker, but unable to open the file for reading the file. code for reading the file is written, looks like its not picking the right path for opening the file, so throwing exception. Can anyone help me diagnose the issue. [CODE] | android-studio | 0 | 2022-08-01T13:07:48.110Z | 2,022 | 8 | 13 | 0 | 17 | 0 | 315 | 97 | 1 | 1 | true | true | false | false | false | false | zero |
73,194,275 | How to get the ID of a Firestore document into a RecyclerView - Java in Android Studio | <p>I would like to create an application able to receive the id of a document on Firestore with all its fields and put them in a RecyclerView Adapter. For now, I can only get the fields, but I don't understand how to get the document ID. This is the code:</p>
<p>Class TestPage:</p>
<pre><code>public class TestPage exte... | I would like to create an application able to receive the id of a document on Firestore with all its fields and put them in a RecyclerView Adapter. For now, I can only get the fields, but I don't understand how to get the document ID. This is the code: Class TestPage: [CODE] Class User: [CODE] Class MyAdapter: [CODE] T... | java|android|firebase|google-cloud-platform|google-cloud-firestore | 0 | 2022-08-01T13:17:31.830Z | 2,022 | 8 | 13 | 0 | 59 | 1 | 452 | 86 | 5 | 3 | true | false | false | false | false | false | zero |
73,194,420 | use Page Curl/Flip animation in React Native for android | <p>How are you?
I am developing React Native project and I need page flip animation in this project but I can't find proper module.
So I tried to use WebView but It is not working smoothly...
Now, I am trying to make react-native library to use android page curl projects in react-native.
Is it the best solution? or Do ... | How are you? I am developing React Native project and I need page flip animation in this project but I can't find proper module. So I tried to use WebView but It is not working smoothly... Now, I am trying to make react-native library to use android page curl projects in react-native. Is it the best solution? or Do you... | android|react-native|curl | 0 | 2022-08-01T13:26:16.907Z | 2,022 | 8 | 13 | 0 | 34 | 0 | 355 | 56 | 3 | 0 | false | true | false | false | false | false | zero |
73,194,488 | Android jetpack compose naming dimen in a separate val | <p>In a current project, sometimes we create properties for dimens. But is it correct to assign dimen to val when we are going to use it only once? Or maybe in this times it doesn't matter?</p>
<pre><code>val paddingSmall = dimensionResource(id = R.dimen.padding_small)
val paddingDefault = dimensionResource(id = R.dime... | In a current project, sometimes we create properties for dimens. But is it correct to assign dimen to val when we are going to use it only once? Or maybe in this times it doesn't matter? [CODE] | android|android-jetpack-compose | 0 | 2022-08-01T13:31:15.770Z | 2,022 | 8 | 13 | 0 | 55 | 1 | 193 | 54 | 2 | 1 | true | false | false | false | false | false | zero |
73,194,675 | How to check if the user entered a valid email address in an android app (Firebase)? | <p>I'm creating a simple app for Android, and the authentication system is powered by Firebase.</p>
<p>When a user registers for a new account, the Firebase system only checks if the email is correctly formatted, and if it is, it creates a new user with that email address. But this causes the problem that the user can ... | I'm creating a simple app for Android, and the authentication system is powered by Firebase. When a user registers for a new account, the Firebase system only checks if the email is correctly formatted, and if it is, it creates a new user with that email address. But this causes the problem that the user can use an inv... | android|firebase|firebase-authentication|email-verification | 0 | 2022-08-01T13:43:44.587Z | 2,022 | 8 | 13 | 0 | 36 | 1 | 717 | 84 | 4 | 0 | false | false | false | false | false | false | zero |
73,194,720 | Firebase React Native: TypeError: Cannot call a class as a function | <p>I have this error: <code>[TypeError: Cannot call a class as a function]</code>.
I'm trying to update my user information in firestore and show an alert when done. When I click the button "save" it updates the information inside the firestore but it shows an error in the console.</p>
<p><code>OnPress Activi... | I have this error: [TypeError: Cannot call a class as a function] . I'm trying to update my user information in firestore and show an alert when done. When I click the button "save" it updates the information inside the firestore but it shows an error in the console. OnPress Activity on TouchableOpacity: [COD... | android|firebase|react-native|google-cloud-firestore | 0 | 2022-08-01T13:47:25.053Z | 2,022 | 8 | 13 | 0 | 24 | 1 | 492 | 67 | 4 | 1 | true | false | false | false | false | false | zero |
73,194,859 | How to avoid Android "No apps can perform this action" message when using Intents for the configuration of other app (barcode scanner)? | <p>I have Android device (Android 8) with the advanced lasers for scanning barcodes (e.g. <a href="https://www.newland-id.com/en/products/mobile-computers/mt65-beluga-lite" rel="nofollow noreferrer">https://www.newland-id.com/en/products/mobile-computers/mt65-beluga-lite</a> whose additional Knowledge Base documentatio... | I have Android device (Android 8) with the advanced lasers for scanning barcodes (e.g. https://www.newland-id.com/en/products/mobile-computers/mt65-beluga-lite whose additional Knowledge Base documentation is available at http://kb.newland-id.com/index.php?n=Barcode.Barcode and links around it). This device has 3 addit... | android|android-intent|barcode-scanner|android-broadcast | 0 | 2022-08-01T13:58:21.223Z | 2,022 | 8 | 13 | 0 | 16 | 0 | 1,616 | 135 | 4 | 2 | true | true | false | false | false | false | zero |
73,194,875 | Storing personal details of users in Android Studio using Firebase | <p>I'm trying to store details of user like name, email,age etc using Firebase in Android Studio, but it seems only the email and pasword is getting stored. Here's my code, where have I done mistakes? Only the real time database part of Firebase isn't somehow working here. Also, I couldn't post full code here because o... | I'm trying to store details of user like name, email,age etc using Firebase in Android Studio, but it seems only the email and pasword is getting stored. Here's my code, where have I done mistakes? Only the real time database part of Firebase isn't somehow working here. Also, I couldn't post full code here because of &... | java|android|firebase|firebase-realtime-database | 0 | 2022-08-01T13:59:30.453Z | 2,022 | 8 | 13 | 0 | 22 | 0 | 385 | 66 | 4 | 1 | true | true | false | false | false | false | zero |
73,194,876 | Unable to run flutter app on android emulator as java as Android Gradle plugin requires Java 11 to run | <p>I've tried to install newest version of java but it doesn't seem to work for android emulator (works fine with ios emulator as problem lies with <code>java</code> version). <em>Also there is no updates for java tab in system preferences</em></p>
<ul>
<li>here is the error message :</li>
</ul>
<pre><code>Build file '... | I've tried to install newest version of java but it doesn't seem to work for android emulator (works fine with ios emulator as problem lies with java version). Also there is no updates for java tab in system preferences here is the error message : [CODE] here is the outputs of command java --version [CODE] here is the ... | java|android|flutter|gradle | 0 | 2022-08-01T13:59:31.903Z | 2,022 | 8 | 13 | 0 | 117 | 1 | 462 | 102 | 4 | 3 | true | false | false | false | false | false | zero |
73,194,936 | Kotlinx Serialization | <p>i am trying to migrate to Kotlinx Serialization and i am running into an issue</p>
<p>here's the structure of the data class in question</p>
<pre><code>@Serializable
sealed class X {
abstract val type: String
@Serializable
@SerialName("X")
data class Y(
@SerialName("a") val a: String,
@SerialNam... | i am trying to migrate to Kotlinx Serialization and i am running into an issue here's the structure of the data class in question [CODE] the issue i'm having is that since i am overriding the type i had to use [CODE] and doing that now results in sending the request with the below Json [CODE] when it should be just [CO... | android|kotlin|serialization | 1 | 2022-08-01T14:04:21.670Z | 2,022 | 8 | 14 | 0 | 37 | 0 | 323 | 21 | 3 | 4 | true | true | false | false | false | false | low |
73,195,085 | How to supress ununder warning for Lamda param in Android Studio? | <p>Error: <code>Parameter 'buttonView' is never used, could be renamed to _</code></p>
<p>Code:</p>
<pre><code>checkImage.setOnCheckedChangeListener { buttonView, isChecked ->
......
}
</code></pre>
<p>But I don't want to rename to "_" because I want it to be readbale and also I don't w... | Error: Parameter 'buttonView' is never used, could be renamed to _ Code: [CODE] But I don't want to rename to "_" because I want it to be readbale and also I don't want to disable warning option from Android Studio as well, I just want to supress it, I tried with ununder but suggestion is still not going! | android-studio | 0 | 2022-08-01T14:16:21.547Z | 2,022 | 8 | 14 | 0 | 13 | 0 | 316 | 65 | 1 | 1 | true | true | false | false | false | false | zero |
73,195,177 | Jetpack Compose Accompanist Navigation: Blank screen after splash screen | <p>I have a splash screen that I show when the app launch. I'm using <a href="https://developer.android.com/develop/ui/views/launch/splash-screen" rel="nofollow noreferrer">SplashScreenAPI</a> for the splash screen. I'm also using <a href="https://google.github.io/accompanist/navigation-animation/" rel="nofollow norefe... | I have a splash screen that I show when the app launch. I'm using SplashScreenAPI for the splash screen. I'm also using accompanist navigation library to navigate with animations. After I updated the accompanist version from 0.24.7-alpha to 0.24.8-beta I've encountered an issue. The issue is : As you can see after the ... | android|kotlin|android-jetpack-compose|android-architecture-navigation|jetpack-compose-accompanist | 1 | 2022-08-01T14:22:43.317Z | 2,022 | 8 | 14 | 0 | 314 | 0 | 916 | 72 | 5 | 5 | true | true | false | false | false | false | low |
73,195,213 | Can I set which days the alarm turns on with alarm manager? | <p>Alarm manager can save which days to trigger the alarm, case like in AlarmClock with</p>
<pre><code>android.intent.extra.alarm.DAYS
Alarm.set(message, hour, min,daysOfweek[])
//////Alarm CLock Display/////
Walk 8:55 M W F S
</code></pre>
<p>How do I get alarm manager to do that so it fires on specific days?</p> | Alarm manager can save which days to trigger the alarm, case like in AlarmClock with [CODE] How do I get alarm manager to do that so it fires on specific days? | android-studio | 0 | 2022-08-01T14:25:47.373Z | 2,022 | 8 | 14 | 0 | 18 | 0 | 159 | 59 | 1 | 1 | true | true | false | false | false | false | zero |
73,195,280 | Rotate LazyColumn Item based on Position | <p>I have a LazyColumn which is clipped by a circleShape. Each item has a color bar on the right side
<img src="https://i.ibb.co/Fgbh3YK/Unbenannt.png" alt="Like this" /></p>
<p>The orange color bar should be rotated so it lines up with the curve of the circle.</p>
<p>I know the math to get the angle. I tried to use &q... | I have a LazyColumn which is clipped by a circleShape. Each item has a color bar on the right side The orange color bar should be rotated so it lines up with the curve of the circle. I know the math to get the angle. I tried to use "onGloballyPositioned" but that does not give me the Positions on the clipped ... | android|android-jetpack-compose | 0 | 2022-08-01T14:30:56.130Z | 2,022 | 8 | 14 | 0 | 31 | 0 | 581 | 40 | 2 | 0 | false | true | false | false | false | false | zero |
73,195,354 | Android. How to correct launch coroutine without blocking UI? | <p>I'm new in coroutines. And I'm trying add it to my project. Also I'm using MVVM.
In the documentation I read <code>viewModelScope.launch { }</code>:</p>
<blockquote>
<p>Launches a new coroutine without blocking the current thread</p>
</blockquote>
<p>But at the same time, I often see code constructs like this:</p>
<... | I'm new in coroutines. And I'm trying add it to my project. Also I'm using MVVM. In the documentation I read viewModelScope.launch { } : Launches a new coroutine without blocking the current thread But at the same time, I often see code constructs like this: [CODE] Why is another launch{} here if the documentation says... | android|kotlin-coroutines|android-viewmodel|android-mvvm|coroutinescope | 0 | 2022-08-01T14:36:04.007Z | 2,022 | 8 | 14 | 0 | 82 | 1 | 603 | 61 | 5 | 2 | true | false | false | false | false | false | zero |
73,195,372 | How does Jetpack Glance widget works without XML? How does it convert to RemoteViews? | <p>Jetpack released a tool called "Glance" that we can replace RemoteViews XML widgets.</p>
<p>I wonder how it converts compose layouts to RemoteViews.</p>
<p>Thanks.</p> | Jetpack released a tool called "Glance" that we can replace RemoteViews XML widgets. I wonder how it converts compose layouts to RemoteViews. Thanks. | android-layout|android-jetpack-compose|android-appwidget|android-remoteview|glance-appwidget | 1 | 2022-08-01T14:37:24.630Z | 2,022 | 8 | 14 | 0 | 54 | 1 | 159 | 85 | 5 | 0 | false | false | false | false | false | false | low |
73,195,394 | Unit Testing state flow in viewmodel - stateflow only have the initial value, the values assigned later are not returned in unit test | <p>I have two stateflow in my viewmodel</p>
<pre><code>private val _peopleList = MutableStateFlow(emptyList<People>())
val peopleList: StateFlow<List<People>> = _peopleList
val _peopleListLoader = MutableStateFlow(false)
val peopleListLoader: StateFlow<Boolean> = _peopleListLoader
</code></pre>... | I have two stateflow in my viewmodel [CODE] peopleList is used to display list and peopleListLoader is used to display progress indicator in UI. All of these are working fine in app as expected. But in my Unit test when I check the peopleListLoader using peopleListLoader.toList(values) functionality its dosent have the... | android|unit-testing|kotlin-coroutines|kotlin-flow | 0 | 2022-08-01T14:38:40.460Z | 2,022 | 8 | 14 | 0 | 91 | 0 | 540 | 133 | 4 | 3 | true | true | false | false | false | false | zero |
73,195,628 | What should I do to send digital data over voice? | <p>Context to understand my need: <em>I moved to an area <strong>without</strong> good cellular <strong>data</strong> coverage but <strong>with</strong> good cellular <strong>voice</strong> coverage.</em></p>
<p>I want to send small amounts of digital data over voice. Preferably over Android phones.</p>
<p>I was trying... | Context to understand my need: I moved to an area without good cellular data coverage but with good cellular voice coverage. I want to send small amounts of digital data over voice. Preferably over Android phones. I was trying a way to connect my phone acting as a dial-up modem, but actually I don't think that is possi... | android|encryption|modem|dial-up | 0 | 2022-08-01T14:54:47.930Z | 2,022 | 8 | 14 | 0 | 32 | 0 | 1,234 | 49 | 4 | 0 | false | true | false | false | false | false | zero |
73,195,698 | Expecting an index element kotlin | <p>Can anyone tell me how can I solve "expecting an index element kotlin" this problem?.............................................................................................................................................................................................</p>
<pre><code>package com.exampl... | Can anyone tell me how can I solve "expecting an index element kotlin" this problem?............................................................................................................................................................................................. [CODE] | android-studio|kotlin | 0 | 2022-08-01T14:59:32.123Z | 2,022 | 8 | 14 | 0 | 31 | 0 | 290 | 33 | 2 | 1 | true | true | false | false | false | false | zero |
73,195,880 | USB permission error after version 30 - Flutter | <p>I have an app where I can connect an external biometric reader to the tablet. Everything works fine, but only on API 28.</p>
<p>When I switch to api 30, required by the play store, the app stops working when it should ask for permission. the application is then closed. How can I grant permission correctly?</p>
<p>Th... | I have an app where I can connect an external biometric reader to the tablet. Everything works fine, but only on API 28. When I switch to api 30, required by the play store, the app stops working when it should ask for permission. the application is then closed. How can I grant permission correctly? This is the error d... | java|android|flutter|dart | 0 | 2022-08-01T15:12:22.213Z | 2,022 | 8 | 15 | 0 | 28 | 0 | 738 | 47 | 4 | 2 | true | true | false | false | false | false | zero |
73,195,890 | How can a Xamarin app send data to Desmos app? | <p>I'm making a math app with xamarin.forms. I have an option called "show graph" and since I found it too hard to plot the graph using libraries, I want to use the app Desmos(very popular). So when the user presses "show graph", if Desmos is installed on the device, the app will open with the equat... | I'm making a math app with xamarin.forms. I have an option called "show graph" and since I found it too hard to plot the graph using libraries, I want to use the app Desmos(very popular). So when the user presses "show graph", if Desmos is installed on the device, the app will open with the equation... | c#|android|xamarin | 0 | 2022-08-01T15:13:10.557Z | 2,022 | 8 | 15 | 0 | 29 | 0 | 556 | 46 | 3 | 0 | false | true | false | false | false | false | zero |
73,195,950 | How to change realm equalTo extension to list methods? | <p>I would like to change equalTo realm method to list kotlin methods.</p>
<p>This is my extension of realm:</p>
<pre><code>fun <E : RealmObject> RealmQuery<E>.equalTo(
property: KProperty1<E, Int?>,
value: Int?
): RealmQuery<E> {
return equalTo(property.name, value)
</code></pre>
<p... | I would like to change equalTo realm method to list kotlin methods. This is my extension of realm: [CODE] [CODE] method in usage: [CODE] I have created parameter as List<Item>(emptyList()) and tried use it like this: [CODE] but then error occurs [CODE] Parameter parentItemId it is just an Int? in Room database entity I... | android|list|kotlin|realm | 0 | 2022-08-01T15:17:42.207Z | 2,022 | 8 | 15 | 0 | 23 | 0 | 462 | 54 | 4 | 5 | true | true | false | false | false | false | zero |
73,196,032 | How do I open links in a window? | <p>I recently implemented a button in an Android application to open links externally, but I realized I can't find a way to open the link in a window.</p>
<p>I need it to open <a href="https://i.imgur.com/NMxJGHC.jpeg" rel="nofollow noreferrer">like this</a>, not <a href="https://i.imgur.com/E7rof96.jpg" rel="nofollow ... | I recently implemented a button in an Android application to open links externally, but I realized I can't find a way to open the link in a window. I need it to open like this , not like this (look at the url bar). Here's the piece of code I currently use: [CODE] Is there any simple way to do this? | java|android|android-studio | 3 | 2022-08-01T15:22:35.900Z | 2,022 | 8 | 15 | 0 | 35 | 1 | 299 | 32 | 3 | 1 | true | false | false | false | false | false | low |
73,196,149 | Android element to stay on top of app when changing activities | <p>I'm trying to look for any Android Element or Window which will stay on top of the app and will not be removed when changing activities.</p>
<p>Android's banner seems to be per activity.
PopupWindow as well.
I can't change the app's activities - cannot change them into fragments.</p>
<p>Is this possible?</p> | I'm trying to look for any Android Element or Window which will stay on top of the app and will not be removed when changing activities. Android's banner seems to be per activity. PopupWindow as well. I can't change the app's activities - cannot change them into fragments. Is this possible? | android | 0 | 2022-08-01T15:30:35.387Z | 2,022 | 8 | 15 | 0 | 11 | 0 | 291 | 62 | 1 | 0 | false | true | false | false | false | false | zero |
73,196,323 | Reusing the RecyclerView adapter so as to avoid unnecessary API call | <p>I have a recycler view that uses paging 3 inside a fragment. When an item on it is clicked, I need to show a bottom sheet with the exact same recycler view in a more elaborate way.
I want to try and reuse the same recycler view adapter so that more API calls are not invoked unnecessarily (I already have all the requ... | I have a recycler view that uses paging 3 inside a fragment. When an item on it is clicked, I need to show a bottom sheet with the exact same recycler view in a more elaborate way. I want to try and reuse the same recycler view adapter so that more API calls are not invoked unnecessarily (I already have all the require... | android|android-recyclerview|android-adapter|android-paging-3 | 2 | 2022-08-01T15:44:26.543Z | 2,022 | 8 | 15 | 0 | 50 | 1 | 749 | 68 | 4 | 3 | true | false | false | false | false | false | low |
73,196,413 | Error while Launching the application. Error while executing command 'c:\(...)node_modules\.bin\react-native.cmd run-android --no-packager' | <p>This is the problem I'm getting while trying to launch an android app (android studio) on visual studio code.</p>
<p>I dont know if it is a connection problem between VS Code and Android Studio.</p>
<blockquote>
<p>An error occurred while launching the application. Error while executing command 'c:\Users\dmdpl\OneDr... | This is the problem I'm getting while trying to launch an android app (android studio) on visual studio code. I dont know if it is a connection problem between VS Code and Android Studio. An error occurred while launching the application. Error while executing command 'c:\Users\dmdpl\OneDrive\Desktop\citas3\node_module... | android|android-studio|visual-studio-code | 1 | 2022-08-01T15:52:44.673Z | 2,022 | 8 | 15 | 0 | 67 | 0 | 459 | 139 | 3 | 1 | true | true | false | false | false | false | low |
73,196,431 | how to transform from string to Color android | <p>I need to convert an string to Color my api response is this <code>"mainColor": "#8439FF"</code>, i need to transformit to Color</p>
<p>i have tried the next solutions</p>
<pre><code> int color = Color.parseColor(mainColor);
val string = mainColor
val ColorPrimario = string.replaceFirst("... | I need to convert an string to Color my api response is this "mainColor": "#8439FF" , i need to transformit to Color i have tried the next solutions [CODE] the problem whit this solutions is that the result its an int not Color, and it marks error for that reason. any help would be appreciated -----... | android|kotlin|android-jetpack-compose | 1 | 2022-08-01T15:54:25.437Z | 2,022 | 8 | 15 | 0 | 94 | 1 | 396 | 45 | 3 | 2 | true | false | false | false | false | false | low |
73,196,491 | Webview Url content occupies a small portion of the screen in Portrait mode | <p>Webview url content does not fill the webview screen on Portrait mode. Attached below is the screenshot of my viewbounds. When I use zoom controls, I get my desired layout but I need it to show properly on first load. The layouts are seem fine. Using the same logic in tablet variant but with a different UI look, sho... | Webview url content does not fill the webview screen on Portrait mode. Attached below is the screenshot of my viewbounds. When I use zoom controls, I get my desired layout but I need it to show properly on first load. The layouts are seem fine. Using the same logic in tablet variant but with a different UI look, shows ... | android|kotlin|webview | 0 | 2022-08-01T15:59:22.943Z | 2,022 | 8 | 15 | 0 | 28 | 0 | 362 | 75 | 3 | 2 | true | true | false | false | false | false | zero |
73,196,545 | Can I disable @file:Suppress("NAME_SHADOWING") from entire Android project? | <p>I don't want this suggestion. I can do by top of file, but there are more than 200 file, is there any way to disable this particular warning from entire project?</p>
<p>Warning: <code>Name shadowed</code></p>
<p>Code:</p>
<pre><code>@file:Suppress("NAME_SHADOWING")
</code></pre> | I don't want this suggestion. I can do by top of file, but there are more than 200 file, is there any way to disable this particular warning from entire project? Warning: Name shadowed Code: [CODE] | android-studio | 0 | 2022-08-01T16:03:31.047Z | 2,022 | 8 | 16 | 0 | 23 | 0 | 197 | 75 | 1 | 1 | true | true | false | false | false | false | zero |
73,196,551 | Android Studio Emulator won't open apk - error message "fail to start ADB" | <p>I tried to drag and drop an Apk file into android studio emulator and this error message popped up -
"failed to start adb. Check settings to verify your chosen ADB path is valid."
<a href="https://i.stack.imgur.com/nfUJg.jpg" rel="nofollow noreferrer">failed to start adb error</a></p>
<p>I've tried copying... | I tried to drag and drop an Apk file into android studio emulator and this error message popped up - "failed to start adb. Check settings to verify your chosen ADB path is valid." failed to start adb error I've tried copying the apk and android studio, but the run button is greyed out. wondering if the proble... | android|android-studio | 0 | 2022-08-01T16:03:49.850Z | 2,022 | 8 | 16 | 0 | 44 | 0 | 484 | 74 | 2 | 0 | false | true | false | false | false | false | zero |
73,196,571 | The RSSI_CHANGED_ACTION intent filter does not trigger an event when the Wifi signal is lost | <p>The <a href="https://developer.android.com/reference/android/net/wifi/WifiManager#RSSI_CHANGED_ACTION" rel="nofollow noreferrer">RSSI_CHANGED_ACTION</a> intent filter works really well :</p>
<pre><code>this.broadcastReceiver = object : BroadcastReceiver() {
override fun onReceive(context: Context?, intent: Inten... | The RSSI_CHANGED_ACTION intent filter works really well : [CODE] However, no event is triggered when the Wifi signal is lost. How could I know if the signal drops to zero? | java|android|kotlin|intentfilter|wifimanager | 0 | 2022-08-01T16:05:15.750Z | 2,022 | 8 | 16 | 0 | 23 | 0 | 171 | 92 | 5 | 1 | true | true | false | false | false | false | zero |
73,196,669 | Android Dynamic Module Error -2 (MODULE_UNAVAILABLE) | <p>on last Saturday I already fix the issue in my Dynamic module app.</p>
<p>At first I already make an application file that extend <code>SplitCompatApplication</code>. But right now in this afternoon, the error back again, I can't download or install my dynamic module in my Internal App Sharing. But it run perfectly ... | on last Saturday I already fix the issue in my Dynamic module app. At first I already make an application file that extend SplitCompatApplication . But right now in this afternoon, the error back again, I can't download or install my dynamic module in my Internal App Sharing. But it run perfectly fine in debug with who... | android|kotlin|dynamic-feature-module|dfm | 0 | 2022-08-01T16:13:33.597Z | 2,022 | 8 | 16 | 0 | 42 | 1 | 557 | 52 | 4 | 0 | false | false | false | false | false | false | zero |
73,196,718 | Mapbox Andriod SDK - PieChart like cluster drawing | <p>This question is related to Mapbox (<a href="https://www.mapbox.com/" rel="nofollow noreferrer">https://www.mapbox.com/</a>).</p>
<p>I'm looking for a way to represent mapbox clustered points as PieChart using Android SDK.
There is an example for Mapbox GL JS for it: <a href="https://docs.mapbox.com/mapbox-gl-js/exa... | This question is related to Mapbox ( https://www.mapbox.com/ ). I'm looking for a way to represent mapbox clustered points as PieChart using Android SDK. There is an example for Mapbox GL JS for it: https://docs.mapbox.com/mapbox-gl-js/example/cluster-html/ I was wondering if this is possible (and how) with Android/iOS... | android|mapbox|mapbox-android | 0 | 2022-08-01T16:18:20.267Z | 2,022 | 8 | 16 | 0 | 24 | 0 | 393 | 50 | 3 | 0 | false | true | false | false | false | false | zero |
73,196,756 | Internal testing release for android Wear App | <p>I'm facing an issue while trying to upload an internal testing release for an Android Wear App on Google Play Console</p>
<p>I get the following error: <strong>You can't rollout this release because it doesn't allow any existing users to upgrade to the newly added app bundles.</strong></p>
<p><a href="https://i.stac... | I'm facing an issue while trying to upload an internal testing release for an Android Wear App on Google Play Console I get the following error: You can't rollout this release because it doesn't allow any existing users to upgrade to the newly added app bundles. Error Image I've tried uploading both modules (app and we... | android|wear-os|google-play-console|android-wear-2.0|google-play-internal-testing | 0 | 2022-08-01T16:21:55.397Z | 2,022 | 8 | 16 | 0 | 48 | 0 | 728 | 45 | 5 | 2 | true | true | false | false | false | false | zero |
73,196,771 | Reading public files from internal storage into the app | <p>I want the user to be able to put certain files (for example config.txt and background.jpg) into a specific folder on his tablet, which are then read and used by the app (without any direct user input in the app itself).</p>
<p>For now i have some testfiles in the assets-folder, but i have a hard time converting thi... | I want the user to be able to put certain files (for example config.txt and background.jpg) into a specific folder on his tablet, which are then read and used by the app (without any direct user input in the app itself). For now i have some testfiles in the assets-folder, but i have a hard time converting this to what ... | java|android|android-studio|readfile | 0 | 2022-08-01T16:23:04.247Z | 2,022 | 8 | 16 | 0 | 38 | 0 | 480 | 55 | 4 | 0 | false | true | false | false | false | false | zero |
73,196,774 | Espresso Testing Navigation with arguments Error | <p>well I've been having problems when I want to test navigation components in UI testing with espresso. look at my test:</p>
<pre><code> @Test
fun detailsButton_clicked_navigateToDetailsFragment(){
val scenario = launchFragmentInContainer<ResistorCalcFragment>(Bundle(), R.style.Theme_ResistorCalc... | well I've been having problems when I want to test navigation components in UI testing with espresso. look at my test: [CODE] Basically, the test fills a fragment with info, then checks if a button is enabled. Here is the point where my test crashes: Error performing 'single click - At Coordinates: 531, 1778 and precis... | android|android-espresso|android-testing|android-navigation|android-safe-args | 0 | 2022-08-01T16:23:15.757Z | 2,022 | 8 | 16 | 0 | 11 | 0 | 997 | 48 | 5 | 3 | true | true | false | false | false | false | zero |
73,196,827 | RecyclerView onclick listener is not responsive | <p>I'm currently working on a <strong>Wordle</strong> clone with Kotlin. So far I've finished building the keyboard with RecyclerView, but there are some issues with the onClick event listener, it's not very responsive. I have to click the key multiple times to make it work, sometimes it just doesn't respond to click a... | I'm currently working on a Wordle clone with Kotlin. So far I've finished building the keyboard with RecyclerView, but there are some issues with the onClick event listener, it's not very responsive. I have to click the key multiple times to make it work, sometimes it just doesn't respond to click at all. I wonder what... | android|android-studio|kotlin|android-recyclerview|wordle-game | 0 | 2022-08-01T16:28:08.007Z | 2,022 | 8 | 16 | 0 | 77 | 3 | 558 | 47 | 5 | 4 | true | false | false | false | false | false | zero |
73,196,924 | git pull causes Unknown bits set in runtime_flags: 0x8000 | <p>I was developing an app on Java (Android) that uses the Tuya Smart Life SDK. All was fine until i have made an error and I decided to delete that project and download from github the last version that I push (that version was working). After that when I run the project it throws this error:</p>
<pre><code>08/01 10:3... | I was developing an app on Java (Android) that uses the Tuya Smart Life SDK. All was fine until i have made an error and I decided to delete that project and download from github the last version that I push (that version was working). After that when I run the project it throws this error: [CODE] The app crashes at th... | java|android|github|sdk|tuya | 0 | 2022-08-01T16:37:54.200Z | 2,022 | 8 | 16 | 0 | 37 | 0 | 347 | 57 | 5 | 1 | true | true | false | false | false | false | zero |
73,196,979 | Enable Compose Compiler in KMM Module | <p>I'm working on a KMM project and ran into this article while working on improving performance <a href="https://www.jetpackcompose.app/articles/how-can-I-debug-recompositions-in-jetpack-compose" rel="nofollow noreferrer">https://www.jetpackcompose.app/articles/how-can-I-debug-recompositions-in-jetpack-compose</a></p>... | I'm working on a KMM project and ran into this article while working on improving performance https://www.jetpackcompose.app/articles/how-can-I-debug-recompositions-in-jetpack-compose My shared KMM module has a lot of data classes that are used in the UI and the section at the end of the article caught my attention. If... | android|gradle|android-gradle-plugin|android-jetpack-compose|kmm | 0 | 2022-08-01T16:43:17.257Z | 2,022 | 8 | 16 | 0 | 192 | 1 | 1,419 | 37 | 5 | 2 | true | false | false | false | false | false | zero |
73,197,051 | BillingClient threading promise not honored? | <p><a href="https://developer.android.com/reference/com/android/billingclient/api/BillingClient" rel="nofollow noreferrer">https://developer.android.com/reference/com/android/billingclient/api/BillingClient</a></p>
<p>The link above is what I'm referencing. Particularly the paragraph that says:</p>
<blockquote>
<p>All ... | https://developer.android.com/reference/com/android/billingclient/api/BillingClient The link above is what I'm referencing. Particularly the paragraph that says: All methods annotated with AnyThread can be called from any thread and all the asynchronous callbacks will be returned on the same thread. Methods annotated w... | android|android-billing|play-billing-library | 0 | 2022-08-01T16:50:48.253Z | 2,022 | 8 | 16 | 0 | 41 | 0 | 810 | 44 | 3 | 1 | true | true | false | false | false | false | zero |
73,197,056 | kotlinx.coroutines not found | <p>I'm writing React Native and implemented a custom UI component for Android. One of the props I send to the component is a large array of objects. The deserialization in Android (Kotlin) tooks some time (>200ms) and I'm trying to use <code>async</code> to prevent blocking the UI.</p>
<pre class="lang-kotlin pretty... | I'm writing React Native and implemented a custom UI component for Android. One of the props I send to the component is a large array of objects. The deserialization in Android (Kotlin) tooks some time (>200ms) and I'm trying to use async to prevent blocking the UI. [CODE] but Android Studio says: Unresolved reference:... | android|react-native|kotlin|kotlin-coroutines | 1 | 2022-08-01T16:51:02.630Z | 2,022 | 8 | 16 | 0 | 118 | 1 | 510 | 28 | 4 | 2 | true | false | false | false | false | false | low |
73,197,098 | Android: Recyclerview with ItemTouchHelper.Callback flickering on lower items in list | <p>I am currently trying to implement a RecyclerView list with drag and drop reordering. For this I use the ItemTouchHelper.SimpleCallback</p>
<pre><code>class SoftkeyScreenListReorderHelperCallback(
private val adapter: SoftkeyScreenListAdapter
) : ItemTouchHelper.SimpleCallback(ItemTouchHelper.UP or ItemTouchHelp... | I am currently trying to implement a RecyclerView list with drag and drop reordering. For this I use the ItemTouchHelper.SimpleCallback [CODE] My Adapter got the itemMoved() method, which is called in the onMove() method in the callback. Here I just swap the items and notify the adapter about the change. [CODE] For my ... | java|android|kotlin|android-recyclerview | 1 | 2022-08-01T16:54:53.907Z | 2,022 | 8 | 16 | 0 | 68 | 2 | 746 | 85 | 4 | 3 | true | false | false | false | false | false | low |
73,197,105 | How to export Room database as a .db to Download file so I can use It later? | <p>How can I export a Room database to a .db file so I can use it later?
I would like to export it to Download folder in Android device storage. I already have setup export to .CSV but now i need to .db.</p>
<p>This is so I can reimport it if the user is switching devices and needs his data on the other device.</p>
<p>... | How can I export a Room database to a .db file so I can use it later? I would like to export it to Download folder in Android device storage. I already have setup export to .CSV but now i need to .db. This is so I can reimport it if the user is switching devices and needs his data on the other device. Is there a way ju... | android|database|kotlin|export|android-room | 0 | 2022-08-01T16:55:22.880Z | 2,022 | 8 | 16 | 0 | 169 | 2 | 364 | 76 | 5 | 0 | false | false | false | false | false | false | zero |
73,197,137 | Play a file in a given time period | <p>Is it possible to create a functionality in the mediaplayer on the Android mobile application with which you can set the beginning and end of the track being played? Something like in Audacity. When a replay is triggered, this selected section will play over and over again.</p> | Is it possible to create a functionality in the mediaplayer on the Android mobile application with which you can set the beginning and end of the track being played? Something like in Audacity. When a replay is triggered, this selected section will play over and over again. | java|android|audio|android-mediaplayer | 0 | 2022-08-01T16:57:55.667Z | 2,022 | 8 | 16 | 0 | 30 | 0 | 274 | 34 | 4 | 0 | false | true | false | false | false | false | zero |
73,197,279 | Is there any way to fetch a specific field from the JSON without defining it inside the class? I'm using GSON | <p><strong>This is the JSON that I get it from the server</strong></p>
<pre><code>{
"REQUEST_STATUS": 100,
"ID": 1,
"NAME": "..."
}
</code></pre>
<p><strong>CountryModel.java</strong></p>
<pre><code>public class CountryModel {
@SerializedName("ID")
privat... | This is the JSON that I get it from the server [CODE] CountryModel.java [CODE] RetrofitInterface.java [CODE] onSuccess body [CODE] I can do that using ResponseBody but I'll lose the feature of the GSON and I will force to add the values to variables manually. Is there any way to fetch the REQUEST_STATUS field without d... | android|gson|retrofit|retrofit2 | 0 | 2022-08-01T17:10:22.980Z | 2,022 | 8 | 17 | 0 | 33 | 0 | 361 | 109 | 4 | 4 | true | true | false | false | false | false | zero |
73,197,327 | On Android - How can I keep a direct to access to Disables Apps? | <p>On my Android phone I used to disable Play Store Apps for performance and batery consumption reasons. But I have noticed the Direct Access Icons is also removed..
Is there a way I can keep the direct access even thought the App is disabled ?
Thanks for your help
<a href="https://i.stack.imgur.com/h9Nh8.png" rel="nof... | On my Android phone I used to disable Play Store Apps for performance and batery consumption reasons. But I have noticed the Direct Access Icons is also removed.. Is there a way I can keep the direct access even thought the App is disabled ? Thanks for your help | android | 0 | 2022-08-01T17:14:38.613Z | 2,022 | 8 | 17 | 0 | 12 | 0 | 262 | 64 | 1 | 0 | false | true | false | false | false | false | zero |
73,197,345 | Kivy not support all cameras on android | <p><strong>Software Versions</strong></p>
<ul>
<li>Python: 3</li>
<li>OS: android</li>
<li>Kivy: 1.10.1</li>
<li>Build with buildozer</li>
</ul>
<p><strong>Describe the bug</strong>
Kivy can only access to 2 camera on android (\dev\video0, \dev\video1) but device has multiple cameras (result from ls /dev/ | grep "... | Software Versions Python: 3 OS: android Kivy: 1.10.1 Build with buildozer Describe the bug Kivy can only access to 2 camera on android (\dev\video0, \dev\video1) but device has multiple cameras (result from ls /dev/ | grep "video*") ["b'video0\\nvideo1\\nvideo2\\nvideo32\\nvideo33\\nvideo34\\n'"] . ... | android|python-3.x|kivy|android-camera|buildozer | 1 | 2022-08-01T17:16:00.633Z | 2,022 | 8 | 17 | 0 | 48 | 0 | 952 | 39 | 5 | 3 | true | true | false | false | false | false | low |
73,197,378 | DateTime.Now is an hour out when viewing .Net5.0 web app on Tablet/Mobile (IOS/Android) any browser but not desktop | <p>I have written a web app in .net5.0 and DateTime.Now is capturing the correct BST on a desktop but not on a mobile or tablet Device through which it capture GMT 00:00.</p>
<p>All devices are set to the correct timezone.</p>
<p>I have tried using</p>
<pre><code>DateTime.UtcNow;
DateTimeOffset.Now;
</code></pre>
<p>Ne... | I have written a web app in .net5.0 and DateTime.Now is capturing the correct BST on a desktop but not on a mobile or tablet Device through which it capture GMT 00:00. All devices are set to the correct timezone. I have tried using [CODE] Neither give the desired outcome. This code is ran server side which is why I am ... | c#|android|ios|asp.net|datetime | 0 | 2022-08-01T17:18:28.433Z | 2,022 | 8 | 17 | 0 | 92 | 0 | 691 | 115 | 5 | 3 | true | true | false | false | false | false | zero |
73,197,487 | How to Fill Height with middle Column in Kotlin Compose | <p>I have 3 Columns in a parent Column:</p>
<pre><code>Box(
modifier = Modifier
.fillMaxSize()
) {
Column(
verticalArrangement = Arrangement.Top,
modifier = Modifier.fillMaxSize()
) {
MenuHeader()
Column(
verticalAr... | I have 3 Columns in a parent Column: [CODE] And I want the middle column to be the full middle height, between the MenuHeader() and the MenuTabBar(). I've tried to set the Arrangement to .Top , and .SpaceBetween , but neither work? When I do .Top , the bottom bar disappears, I'm assuming the middle column is pushing it... | android|kotlin|android-jetpack-compose | 1 | 2022-08-01T17:29:49.163Z | 2,022 | 8 | 17 | 0 | 30 | 1 | 504 | 55 | 3 | 2 | true | false | false | false | false | false | low |
73,197,833 | Getting a list of active alarm Clocks - Android Studio | <p>Searching for a bit and didn't found any answer yet..
Any chance to get a list of active alarm clocks via android app ?</p>
<p>Tried this code, but all I get is error msg "cannot find a provider with such name"</p>
<pre><code>final String tag_alarm = "tag_alarm";
Uri uri = Uri.parse("con... | Searching for a bit and didn't found any answer yet.. Any chance to get a list of active alarm clocks via android app ? Tried this code, but all I get is error msg "cannot find a provider with such name" [CODE] | android|android-studio | 0 | 2022-08-01T18:03:34.080Z | 2,022 | 8 | 18 | 0 | 15 | 0 | 220 | 54 | 2 | 1 | true | true | false | false | false | false | zero |
73,197,909 | Manage External Storage on Android 11 and check permission for Every Activity | <p><strong>How can I check permission for every activity ???</strong></p>
<p>I am trying to make a video player app. I am trying to get External Storage on Android 11 and the lower version. When I am clicking on the button it is asking for permission for both android 11 and the lower version (ex: Kitkat). But the probl... | How can I check permission for every activity ??? I am trying to make a video player app. I am trying to get External Storage on Android 11 and the lower version. When I am clicking on the button it is asking for permission for both android 11 and the lower version (ex: Kitkat). But the problem is when I am going to th... | java|android|permissions|external | 0 | 2022-08-01T18:12:01.330Z | 2,022 | 8 | 18 | 0 | 36 | 0 | 732 | 77 | 4 | 2 | true | true | false | false | false | false | zero |
73,197,925 | How to remove underbar in EditText without cancel background - android | <p>How can I remove the EditText under bar, if I want to use background file for rounded corners, and because that, I can't cancel all background style like <code>android:background="@null"</code>.</p>
<p>I thought to write it into my 'background file', but I couldn't do it.</p>
<p>This is my file I use for b... | How can I remove the EditText under bar, if I want to use background file for rounded corners, and because that, I can't cancel all background style like android:background="@null" . I thought to write it into my 'background file', but I couldn't do it. This is my file I use for background of EditText: [CODE]... | android|android-edittext | 0 | 2022-08-01T18:13:48.170Z | 2,022 | 8 | 18 | 0 | 20 | 0 | 332 | 70 | 2 | 1 | true | true | false | false | false | false | zero |
73,198,087 | Can you use Chrome Custom Tabs in Xamarin? | <p>In this documentation <strong><a href="https://developer.chrome.com/docs/android/custom-tabs/integration-guide/" rel="nofollow noreferrer">https://developer.chrome.com/docs/android/custom-tabs/integration-guide/</a></strong> it says you have to add the AndroidX Browser Library in your project.</p>
<blockquote>
<p>Op... | In this documentation https://developer.chrome.com/docs/android/custom-tabs/integration-guide/ it says you have to add the AndroidX Browser Library in your project. Open the app/build.gradle file and add the browser library to the dependencies section" But I think that's some Android Studio thing.Then I tried to f... | android|xamarin|nuget | 0 | 2022-08-01T18:29:09.973Z | 2,022 | 8 | 18 | 0 | 60 | 1 | 804 | 42 | 3 | 0 | false | false | false | false | false | false | zero |
73,198,099 | Duplicating menu items via different Fragments | <p>After OnCreateOptionsMenu() marked as deprecated, I've managed to use new API from release notes <a href="https://developer.android.com/jetpack/androidx/releases/activity#1.4.0-alpha01" rel="nofollow noreferrer">https://developer.android.com/jetpack/androidx/releases/activity#1.4.0-alpha01</a>
In my app user can swi... | After OnCreateOptionsMenu() marked as deprecated, I've managed to use new API from release notes https://developer.android.com/jetpack/androidx/releases/activity#1.4.0-alpha01 In my app user can switch Fragments via bottomNavigation. As I understand docs, in each Fragment I've implemented MenuProvider(with or without L... | android|android-fragments | 1 | 2022-08-01T18:30:28.003Z | 2,022 | 8 | 18 | 0 | 112 | 1 | 641 | 46 | 2 | 3 | true | false | false | false | false | false | low |
73,198,101 | How can I get the dead or killed Appstate for an Android app in React Native? | <p>I implemented android app to push scheduled notification & detect the incoming call state. I have done both things. Now how can I get the dead or killed state to set these things for the state when the app is killed.</p>
<p>The AppState only gives the <strong>active, inactive & background</strong> stages of ... | I implemented android app to push scheduled notification & detect the incoming call state. I have done both things. Now how can I get the dead or killed state to set these things for the state when the app is killed. The AppState only gives the active, inactive & background stages of an the app. How can I get the can t... | android|react-native|lifecycle | 0 | 2022-08-01T18:30:39.853Z | 2,022 | 8 | 18 | 0 | 68 | 0 | 414 | 77 | 3 | 1 | true | true | false | false | false | false | zero |
73,198,144 | Google Play Console move testers from closed to open testing | <p>I am currently testing my app on Android with the help of the google play console. I started with closed testing on the Alpha Track and switched recently to the open Beta track for simpler distribution. I do not want to release new updates for the Alpha track due to ci limitations. Unfortunately I cant find any way ... | I am currently testing my app on Android with the help of the google play console. I started with closed testing on the Alpha Track and switched recently to the open Beta track for simpler distribution. I do not want to release new updates for the Alpha track due to ci limitations. Unfortunately I cant find any way to ... | android|google-play-console | 0 | 2022-08-01T18:34:43.127Z | 2,022 | 8 | 18 | 0 | 78 | 0 | 700 | 60 | 2 | 0 | false | true | false | false | false | false | zero |
73,198,194 | Change Play Button Icon on MediaPlayer State In Recyclerview | <p>I have chat app where user can share audio files. In recyclerview adapter i need to change icon of play button in following case:</p>
<ol>
<li>Normally click on single item play button change into pause then into play again by clicking and on complete (Working fine)</li>
<li>Playing second audio file in recyclerview... | I have chat app where user can share audio files. In recyclerview adapter i need to change icon of play button in following case: Normally click on single item play button change into pause then into play again by clicking and on complete (Working fine) Playing second audio file in recyclerview. Playing/Pause working o... | java|android|audio|android-recyclerview|android-mediaplayer | 0 | 2022-08-01T18:39:26.347Z | 2,022 | 8 | 18 | 0 | 38 | 0 | 732 | 60 | 5 | 1 | true | true | false | false | false | false | zero |
73,198,236 | Flutter Material Icons is not showing correctly | <p>Flutter material icons is not showing correctly as per the below photo, however other packages icons like awesomefonts and cupertinoicons shows without any issues
Screenshot_1659378460</p>
<p><img src="https://i.stack.imgur.com/0zF69.png" alt="enter image description here" /></p>
<p>also in pubspec.yaml this is set ... | Flutter material icons is not showing correctly as per the below photo, however other packages icons like awesomefonts and cupertinoicons shows without any issues Screenshot_1659378460 also in pubspec.yaml this is set to true uses-material-design: true and tried to make flutter clean and pub get with no effect at all. ... | android|ios|flutter|icons | 0 | 2022-08-01T18:45:08.883Z | 2,022 | 8 | 18 | 0 | 62 | 0 | 359 | 47 | 4 | 0 | false | true | false | false | false | false | zero |
73,198,293 | java.lang.RuntimeException: Firebase Database encountered an OutOfMemoryError. - Kotlin / Android | <p>I am getting some data from the Realtime Database for Android. Sometimes I got a crash with this message:</p>
<blockquote>
<p>java.lang.RuntimeException: Firebase Database encountered an OutOfMemoryError. You may need to reduce the amount of data you are syncing to the client (e.g. by using queries or syncing a deep... | I am getting some data from the Realtime Database for Android. Sometimes I got a crash with this message: java.lang.RuntimeException: Firebase Database encountered an OutOfMemoryError. You may need to reduce the amount of data you are syncing to the client (e.g. by using queries or syncing a deeper path). ` The problem... | android|firebase|kotlin|google-cloud-platform|firebase-realtime-database | 0 | 2022-08-01T18:51:03.957Z | 2,022 | 8 | 18 | 0 | 47 | 1 | 626 | 97 | 5 | 0 | false | false | false | false | false | false | zero |
73,198,344 | HorizontalScrollView with AutoSize textView in Android | <p>I want to create a layout where textview will automatically resize the text inside it but after getting to minimum size it should start scrolling like in google calculator. <a href="https://imgur.com/a/TTHUYmw" rel="nofollow noreferrer">Something like this</a>.</p>
<p>By simply putting TextView in HorizontalScrollVi... | I want to create a layout where textview will automatically resize the text inside it but after getting to minimum size it should start scrolling like in google calculator. Something like this . By simply putting TextView in HorizontalScrollView after whole width is filled it doesn't decrease the size of the text. uppe... | android|android-layout | 1 | 2022-08-01T18:56:01.783Z | 2,022 | 8 | 18 | 0 | 37 | 1 | 352 | 54 | 2 | 1 | true | false | false | false | false | false | low |
73,198,492 | Data stored inside JSON object in Android is not available in the variable outside of it | <p>I am trying to store the data I receive from the API call in the variable "data". However, the value of data is only updated inside the jsonObjectRequest and it is empty outside of it. How can I make it so that the value of data is available outside the jsonObjectRequest as well?(So I don't have to use the... | I am trying to store the data I receive from the API call in the variable "data". However, the value of data is only updated inside the jsonObjectRequest and it is empty outside of it. How can I make it so that the value of data is available outside the jsonObjectRequest as well?(So I don't have to use the if... | android|kotlin | 0 | 2022-08-01T19:10:56.897Z | 2,022 | 8 | 19 | 0 | 32 | 1 | 564 | 88 | 2 | 1 | true | false | false | false | false | false | zero |
73,198,552 | Call the api to get new data in background (flutter) | <p>I try to implement a way to call an api the publish new data every day at 00:00 +</p>
<ul>
<li>why i need to check every day at 00:00 +? (because i use the new data to make a local notification)</li>
</ul>
<p>so the result from api call like this:</p>
<pre><code> "data": {
"Day": "Monda... | I try to implement a way to call an api the publish new data every day at 00:00 + why i need to check every day at 00:00 +? (because i use the new data to make a local notification) so the result from api call like this: [CODE] and when the time is 00:00 it will come the new timings for the next day. i tried android_al... | android|flutter|dart | 0 | 2022-08-01T19:16:28.620Z | 2,022 | 8 | 19 | 0 | 103 | 0 | 1,100 | 52 | 3 | 1 | true | true | false | false | false | false | zero |
73,198,642 | How do I prevent the background image from shrinking when a value is entered from the phone keyboard in Flutter? | <p><a href="https://i.stack.imgur.com/vXzaa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vXzaa.png" alt="enter image description here" /></a></p>
<p><strong>View before the keyboard is seen</strong></p>
<p><a href="https://i.stack.imgur.com/a9hun.png" rel="nofollow noreferrer"><img src="https://i.... | View before the keyboard is seen The view after the keyboard is seen I want the background image to always stay at the size before the keyboard is seen. [CODE] | android|flutter|dart | 0 | 2022-08-01T19:25:13.220Z | 2,022 | 8 | 19 | 0 | 28 | 1 | 159 | 112 | 3 | 1 | true | false | false | false | false | false | zero |
73,198,664 | Cannot run tests in androidTest module in kotlin multiplatform from android studio chipmunk | <p>Since upgrading Android Studio to Chipmunk, I seem to be unable to run tests from <code>androidTest</code> module.</p>
<p>It appears as if the classes that exist within <code>commonMain</code> are not accessible in <code>androidTest</code> yet they previously were in other versions.</p>
<p>I've also noticed that the... | Since upgrading Android Studio to Chipmunk, I seem to be unable to run tests from androidTest module. It appears as if the classes that exist within commonMain are not accessible in androidTest yet they previously were in other versions. I've also noticed that the kotlin directory is not green, which it would have been... | android-studio|kotlin-multiplatform|kotlin-multiplatform-mobile|android-studio-chipmunk | 0 | 2022-08-01T19:28:08.157Z | 2,022 | 8 | 19 | 0 | 75 | 0 | 570 | 91 | 4 | 0 | false | true | false | false | false | false | zero |
73,198,791 | Convert baseadapter to recyclerview adapter | <p>Convert baseadapter to recyclerview adapter i have a code of baseadapterview but i need recyclerview adapter my view is showing vertical scrollview and i need horizontal ...................................................................................................................................................... | Convert baseadapter to recyclerview adapter i have a code of baseadapterview but i need recyclerview adapter my view is showing vertical scrollview and i need horizontal ......................................................................................................................................................... | android|android-recyclerview|baseadapter | 0 | 2022-08-01T19:39:51.943Z | 2,022 | 8 | 19 | 0 | 22 | 2 | 402 | 43 | 3 | 1 | true | false | false | false | false | false | zero |
73,198,848 | Draw arc with inner text in middle of arc | <p>Drawing an arc in compose:</p>
<pre><code>val sizeInPx = with(LocalDensity.current) { 100.dp.toPx() }
Canvas(modifier = Modifier.fillMaxSize()) {
drawArc(
Color.Green,
200f,
40f,
topLeft = Offset(0f, 0f),
useCenter = true,
size = Size(sizeInPx, sizeInPx)
)
}
</code></pre>
<p... | Drawing an arc in compose: [CODE] And I would like to draw text inside that arc in the middle. Example: Trying: [CODE] However this is not drawing the text in the right place, nor the desired orientation. | android|android-jetpack-compose | 1 | 2022-08-01T19:46:43.163Z | 2,022 | 8 | 19 | 0 | 58 | 1 | 204 | 41 | 2 | 2 | true | false | false | false | false | false | low |
73,198,860 | BottomNavigationView: Disable animation for adding/inflating menu runtime | <p>I have a problem with BottomNavigationView. I have to inflate menu runtime and I have a problem with default animation. It looks like tabs slide from right.
Do you know how to disable this animation/behavior?</p>
<p><a href="https://i.stack.imgur.com/LhgaE.gif" rel="nofollow noreferrer"><img src="https://i.stack.img... | I have a problem with BottomNavigationView. I have to inflate menu runtime and I have a problem with default animation. It looks like tabs slide from right. Do you know how to disable this animation/behavior? XML: [CODE] Replacing menu runtime: [CODE] | android|animation|bottomnavigationview | 0 | 2022-08-01T19:48:36.740Z | 2,022 | 8 | 19 | 0 | 39 | 1 | 251 | 73 | 3 | 2 | true | false | false | false | false | false | zero |
73,199,006 | Should the onTouchListener call the same method multiple times when Tapped? | <p>This is my first game app. I've built a card game, players can tap or drag a card. I've noticed that when a player taps a card, it appears tha the onTouch method fires multiple times. My basic code is as such:</p>
<pre><code>cardView.setOnTouchListener(new View.OnTouchListener() {
Log.d(TAG, "Card is Touche... | This is my first game app. I've built a card game, players can tap or drag a card. I've noticed that when a player taps a card, it appears tha the onTouch method fires multiple times. My basic code is as such: [CODE] The method: [CODE] Results: Card is Touched Card Move method has started. Action down has started. Card... | android|touch-event|ontouchlistener|ontouch | 0 | 2022-08-01T20:04:10.390Z | 2,022 | 8 | 20 | 0 | 21 | 1 | 1,203 | 75 | 4 | 2 | true | false | false | false | false | false | zero |
73,199,012 | How do we make Launcher/Home android app for AndroidTV device? | <p>I did in Manifest.xml file</p>
<pre><code><!-- Start For Android Tv Box-->
<uses-feature
android:name="android.software.leanback"
android:required="true" />
<uses-feature
android:name="android.software.live_tv"
android:required=&... | I did in Manifest.xml file [CODE] MainActivity is my first activity which is the firest screen of my app. [CODE] When user tapped on Home button of AndroidTv remote Home/Launcher popup should come up and choose a launcher app for AndroidTv device, then whenever user power on device my app should be come as a launcher a... | android-tv|android-launcher|app-launcher|android-device-manager | 0 | 2022-08-01T20:04:35.717Z | 2,022 | 8 | 20 | 0 | 96 | 1 | 323 | 62 | 4 | 2 | true | false | false | false | false | false | zero |
73,199,183 | NDK Android path setup issue for version 19.0.5232133 on Mac OS | <p>I'm trying to run a flutter project on Mac OS, which uses specific NDK version 19.0.5232133. This NDK version is manually downloaded in the path "/Users/user_name/Library/Android/sdk/ndk/19.0.5232133".</p>
<p>Issue 1 - Unable to clear cache of previously downloaded NDK version on Android Studio</p>
<p><a h... | I'm trying to run a flutter project on Mac OS, which uses specific NDK version 19.0.5232133. This NDK version is manually downloaded in the path "/Users/user_name/Library/Android/sdk/ndk/19.0.5232133". Issue 1 - Unable to clear cache of previously downloaded NDK version on Android Studio Issue 2 - Execution f... | flutter|android-ndk | 0 | 2022-08-01T20:19:38.767Z | 2,022 | 8 | 20 | 0 | 48 | 0 | 324 | 63 | 2 | 0 | false | true | false | false | false | false | zero |
73,199,198 | Android kotlin update TextView every second | <p>I want the text view to be updated every second or less in a dynamic random way and at the end of the loop the text view show the last random number.
I tried to add a sleep method but it did not work every time I click the button the text view show the last random number directly.</p>
<pre><code>class MainActivity :... | I want the text view to be updated every second or less in a dynamic random way and at the end of the loop the text view show the last random number. I tried to add a sleep method but it did not work every time I click the button the text view show the last random number directly. [CODE] | android|kotlin | 0 | 2022-08-01T20:21:24.033Z | 2,022 | 8 | 20 | 0 | 64 | 2 | 288 | 43 | 2 | 1 | true | false | false | false | false | false | zero |
73,199,211 | Android Cloud Firestore task's return successfully when there is no internet connection. How? | <p>I'm messing around with <strong>Cloud Firestore</strong>.</p>
<p><strong>I would like to simply get a callback when reading from DB fails</strong>, so I can show a dialog to the user about he has <strong>no internet connection</strong>. Of course, this would need sophisticated exception handling, but first things fi... | I'm messing around with Cloud Firestore . I would like to simply get a callback when reading from DB fails , so I can show a dialog to the user about he has no internet connection . Of course, this would need sophisticated exception handling, but first things first, I would like to just simply get a callback when the a... | java|android|firebase|google-cloud-platform|google-cloud-firestore | 1 | 2022-08-01T20:22:31.497Z | 2,022 | 8 | 20 | 0 | 67 | 2 | 963 | 93 | 5 | 2 | true | false | false | false | false | false | low |
73,199,228 | Invisible mode in Android studio (kotlin) | <p>I'm working on a news app and I want my layout to become invisible when a user saves an article. Can anyone please tell me the right way to write this code?
2 things to note:
-when I run the app,the layout is visible in the "saved fragment"</p>
<ul>
<li>but then when I add "hideSavedMessage" righ... | I'm working on a news app and I want my layout to become invisible when a user saves an article. Can anyone please tell me the right way to write this code? 2 things to note: -when I run the app,the layout is visible in the "saved fragment" but then when I add "hideSavedMessage" right next to the co... | android-studio|kotlin | 0 | 2022-08-01T20:23:49.673Z | 2,022 | 8 | 20 | 0 | 55 | 1 | 765 | 41 | 2 | 1 | true | false | false | false | false | false | zero |
73,199,237 | The Activity does not update the content of a ViewPager2 | <p>I implemented an Android application that must display the content of a list in an Activity, using ViewPager2.
See an extract of the code below:</p>
<pre><code>public class MainActivity extends AppCompatActivity {
ViewPager2 viewPager2;
DataPageViewAdapter dataPageViewAdapter;
private Button btnFind;
... | I implemented an Android application that must display the content of a list in an Activity, using ViewPager2. See an extract of the code below: [CODE] There is a Movie class with the data stored and a Control class that returns a list of Movies. The application fulfills its purpose, but I have to press the menu action... | android|android-activity|notifydatasetchanged|viewpage | 0 | 2022-08-01T20:24:09.047Z | 2,022 | 8 | 20 | 0 | 32 | 2 | 466 | 56 | 4 | 1 | true | false | false | false | false | false | zero |
73,199,404 | Adding Chips into ChipGroup dynamically: border is not visible? | <p>This is how I make a static ChipGroup</p>
<pre><code> <com.google.android.material.chip.ChipGroup
android:id="@+id/chip_group_filter"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/searchPromo&qu... | This is how I make a static ChipGroup [CODE] Then, instead having hardcoded Chips, I want to fetch the fitch list from API, like this: [CODE] And here's the result. The chip list is fetched correctly, except the rounded rectangle border isn't drawn. Yes, the border only appears after it's clicked, though How to make th... | android-layout|android-chips | 0 | 2022-08-01T20:44:23.933Z | 2,022 | 8 | 20 | 0 | 26 | 1 | 362 | 63 | 2 | 2 | true | false | false | false | false | false | zero |
73,199,499 | How could I add or substract Two EditTex Values currency formatted with a TextWatcher? | <p>I want to calculate user repayment capacity by subtracting users input from two formatted and text-watched editTexts. However, I'm getting this error:</p>
<p><strong>java.lang.NumberFormatException: For input string: "100,000.0"</strong></p>
<p>I used <a href="https://github.com/BlacKCaT27/CurrencyEditText... | I want to calculate user repayment capacity by subtracting users input from two formatted and text-watched editTexts. However, I'm getting this error: java.lang.NumberFormatException: For input string: "100,000.0" I used https://github.com/BlacKCaT27/CurrencyEditText and https://github.com/zihadrizkyef/TextWa... | android|kotlin | 0 | 2022-08-01T20:53:58.603Z | 2,022 | 8 | 20 | 0 | 39 | 1 | 412 | 86 | 2 | 1 | true | false | false | false | false | false | zero |
73,199,511 | Android 12 Upgrade - TextToSpeech setPitch() and setSpeechRate() not working | <p>My Java app uses TextToSpeech, with setPitch() and setSpeechRate(). Since the recent upgrade to Android 12 API 32, these set methods no longer work. This is on some Samsung devices, and Google Pixel 5a. They worked before the upgrade, and have no effect now (although still return a "0" result).</p>
<p>I'm ... | My Java app uses TextToSpeech, with setPitch() and setSpeechRate(). Since the recent upgrade to Android 12 API 32, these set methods no longer work. This is on some Samsung devices, and Google Pixel 5a. They worked before the upgrade, and have no effect now (although still return a "0" result). I'm using the ... | android | 0 | 2022-08-01T20:55:20.167Z | 2,022 | 8 | 20 | 0 | 107 | 1 | 1,460 | 76 | 1 | 1 | true | false | false | false | false | false | zero |
73,199,549 | I don't understand this error message, any help would be helpful | <p>I tried to build my app, and this error message was produced.</p>
<p>Unexpected character '=' (code 61) (expected a name start character)
at [row,col {unknown-source}]: [41,21]</p>
<p>I have cleaned my code and tried to clean my code and inspected my code and i can't find anything wrong my code, and help would be gr... | I tried to build my app, and this error message was produced. Unexpected character '=' (code 61) (expected a name start character) at [row,col {unknown-source}]: [41,21] I have cleaned my code and tried to clean my code and inspected my code and i can't find anything wrong my code, and help would be gratefully recieved... | java|android|error-handling | 0 | 2022-08-01T20:58:31.673Z | 2,022 | 8 | 20 | 0 | 59 | 0 | 355 | 64 | 3 | 1 | true | true | false | false | false | false | zero |
73,199,576 | spaceAround command does not work in flutter | <pre><code>Column(
children: [
Center(
child: TextFormWidget(
form: name,
hint: 'Name',
),
),
const SizedBox(
height: 15,
),
TextFormWidget(form: surname, hint: 'Surname'),
const Spacer(
... | [CODE] I want to show the CircleAvatar seen in the image in the middle of the page. When I give the spaceAraound command to the Column that contains the button and CircleAvatar I created, there is no change. | android|flutter|dart | 1 | 2022-08-01T21:01:26.323Z | 2,022 | 8 | 21 | 0 | 18 | 2 | 207 | 44 | 3 | 1 | true | false | false | false | false | false | low |
73,199,637 | NativeScript Background Service JavaScript | <p>I've been trying to get Background Services working with NativeScript. I've tried to get a basic example following this tutorial.</p>
<p><a href="https://ozymandiasthegreat.medium.com/android-continuous-background-services-with-nativescript-a0840fc1eceb" rel="nofollow noreferrer">https://ozymandiasthegreat.medium.co... | I've been trying to get Background Services working with NativeScript. I've tried to get a basic example following this tutorial. https://ozymandiasthegreat.medium.com/android-continuous-background-services-with-nativescript-a0840fc1eceb But to make it work with javascript. However the issues I am finding are that ther... | android|background|nativescript | 0 | 2022-08-01T21:07:59.277Z | 2,022 | 8 | 21 | 0 | 26 | 1 | 540 | 42 | 3 | 0 | false | false | false | false | false | false | zero |
73,199,682 | ImageView inside recyclerView width and height layout | <p>I have a chat application like whatsapp. I want to show several images that i have in the internal storage. So the only thing that i know for that image is the path that i can find it.
However, in the xml layout of the image_item i must set the width and height of the imageView.</p>
<pre><code><ImageView
... | I have a chat application like whatsapp. I want to show several images that i have in the internal storage. So the only thing that i know for that image is the path that i can find it. However, in the xml layout of the image_item i must set the width and height of the imageView. [CODE] How can i set the values so i can... | android|android-recyclerview|imageview | 0 | 2022-08-01T21:13:12.187Z | 2,022 | 8 | 21 | 0 | 45 | 1 | 410 | 53 | 3 | 1 | true | false | false | false | false | false | zero |
73,199,761 | Holding a button down to show a dialog works on emulator but not on my phone device | <p>I want to open a dialog whenever a button is getting held down.</p>
<p>This is what I have tried:</p>
<pre class="lang-java prettyprint-override"><code>// An alter box for a long pressed action
final Handler handler = new Handler();
Runnable mLongPressed = () -> {
AlertDialog.Builder builder = new AlertDialog... | I want to open a dialog whenever a button is getting held down. This is what I have tried: [CODE] This works fine on my emulator, but not on my actual phone device. Why? | java|android | 0 | 2022-08-01T21:22:21.303Z | 2,022 | 8 | 21 | 0 | 44 | 0 | 169 | 83 | 2 | 1 | true | true | false | false | false | false | zero |
73,199,781 | How to handle error in paging3 using Remote mediator with viewPager2 | <p>I am using <a href="https://developer.android.com/topic/libraries/architecture/paging/v3-network-db" rel="nofollow noreferrer"><code>RemoteMediator</code></a> to populate my <code>Viewpager2</code>. The view pager contains weekly data and it is in RTL format because i have to show data in descending order. current w... | I am using RemoteMediator to populate my Viewpager2 . The view pager contains weekly data and it is in RTL format because i have to show data in descending order. current week, last week.... Please refer below pictures. So i am able to fetch data and populate the DB properly. The problem i am facing is in Error Handlin... | android|android-viewpager2 | 3 | 2022-08-01T21:26:31.873Z | 2,022 | 8 | 21 | 0 | 71 | 1 | 872 | 68 | 2 | 0 | false | false | false | false | false | false | low |
73,199,865 | How to pass image picker file from one page to another in flutter dart? | <p>I'm trying to select image either from gallery or camera using imagepicker plugin and pass this image to another page and make post request using this passed image as I'm very beginner to flutter I'm not able to achieve this idea, my implementation is as below
I referred this [solution][1] to implement this</p>
<p>... | I'm trying to select image either from gallery or camera using imagepicker plugin and pass this image to another page and make post request using this passed image as I'm very beginner to flutter I'm not able to achieve this idea, my implementation is as below I referred this [solution][1] to implement this First page ... | android|ios|flutter|dart | 1 | 2022-08-01T21:36:38.867Z | 2,022 | 8 | 21 | 0 | 135 | 3 | 975 | 71 | 4 | 2 | true | false | false | false | false | false | low |
73,199,900 | Send data from BroadcastReceiver to ViewModel | <p>My first question is where should I put my BroadcastReceiver class in a clean architecture project ? (Right now I put it inside data layer)</p>
<p>My project packages defined as below</p>
<pre><code>├──data
└──repositories
├──di
├──domain
└── repository
└── use_cases
├──presentation
├──utils
</code></pre>
<... | My first question is where should I put my BroadcastReceiver class in a clean architecture project ? (Right now I put it inside data layer) My project packages defined as below [CODE] My second question is how to send/get data received in the BroadcastReceiver class to ViewModel following the clean architecture ? [CODE... | android|kotlin|broadcastreceiver|kotlin-coroutines|clean-architecture | 0 | 2022-08-01T21:43:02.860Z | 2,022 | 8 | 21 | 0 | 81 | 1 | 377 | 45 | 5 | 3 | true | false | false | false | false | false | zero |
73,200,039 | Is there a view layout which overflows child views to a new line? | <p>I'm looking for a layout in android where I can programatically throw it a bunch of buttons, and it would take them all and display them in a row until no more buttons fit, then it'll put them on a new row.</p>
<p>For example, I'd do something like this:</p>
<pre class="lang-kotlin prettyprint-override"><code>for(i ... | I'm looking for a layout in android where I can programatically throw it a bunch of buttons, and it would take them all and display them in a row until no more buttons fit, then it'll put them on a new row. For example, I'd do something like this: [CODE] And the view would look something like Clearly I'm no artist, but... | android|android-studio|android-layout | 0 | 2022-08-01T22:04:46.297Z | 2,022 | 8 | 22 | 0 | 21 | 0 | 405 | 65 | 3 | 1 | true | true | false | false | false | false | zero |
73,200,099 | Firebase send to complex object with an array with complex type with Dart | <p>I'm learning Dart (from a Java developer history), I'm working in a simple message application on Flutter.</p>
<p>The unique problem that I have is when I try to include a new Message in the chat's history. I am updating de array of messages in the app (Dart) and sending the entire object (Complex object with the me... | I'm learning Dart (from a Java developer history), I'm working in a simple message application on Flutter. The unique problem that I have is when I try to include a new Message in the chat's history. I am updating de array of messages in the app (Dart) and sending the entire object (Complex object with the messages arr... | android|flutter|firebase|dart | 0 | 2022-08-01T22:14:46.820Z | 2,022 | 8 | 22 | 0 | 20 | 0 | 1,150 | 73 | 4 | 6 | true | true | false | false | false | false | zero |
73,200,121 | Resolution disparity when emulating device on chrome | <p>According to Chiptrolls, these are specifications of Galaxy M31:<br />
6.40-inch display( 1080x2340 pixels) with an aspect ratio of 19.5:9</p>
<p>If I add this device using the specifications to my chrome device emulator (1080x2340), it doesn't match with my real device screen, actually the resolution that I found w... | According to Chiptrolls, these are specifications of Galaxy M31: 6.40-inch display( 1080x2340 pixels) with an aspect ratio of 19.5:9 If I add this device using the specifications to my chrome device emulator (1080x2340), it doesn't match with my real device screen, actually the resolution that I found was (420x860). Is... | android | 0 | 2022-08-01T22:17:59.047Z | 2,022 | 8 | 22 | 0 | 9 | 0 | 487 | 52 | 1 | 0 | false | true | false | false | false | false | zero |
73,200,226 | Android Studio emulator Firebase (login/register) not working but works on device | <p>I am trying to figure out why suddenly the emulator doesn't recognize the Firebase of the application but it works perfectly fine when I install it on my phone.</p>
<p>I am certain that this is not a code issue cause I just did and reverted the changes BEFORE I had this problem and it still does the same. I think th... | I am trying to figure out why suddenly the emulator doesn't recognize the Firebase of the application but it works perfectly fine when I install it on my phone. I am certain that this is not a code issue cause I just did and reverted the changes BEFORE I had this problem and it still does the same. I think that this is... | android|firebase | 0 | 2022-08-01T22:33:35.137Z | 2,022 | 8 | 22 | 0 | 194 | 1 | 1,641 | 81 | 2 | 1 | true | false | false | false | false | false | zero |
73,200,296 | Android App actions issues when English Articles are used as a part of speech | <p>We have implemented android shortcuts. Testing of App actions on physical devices was fine, except for an issue with English Articles.</p>
<p>When English Articles appear as a part of a statement, the statement is not recognized as an action, and Assistant does not redirected to the app. For example, 'add note to Ex... | We have implemented android shortcuts. Testing of App actions on physical devices was fine, except for an issue with English Articles. When English Articles appear as a part of a statement, the statement is not recognized as an action, and Assistant does not redirected to the app. For example, 'add note to Express Sche... | android|actions-on-google|app-actions | 1 | 2022-08-01T22:46:23.823Z | 2,022 | 8 | 22 | 0 | 58 | 1 | 738 | 77 | 3 | 1 | true | false | false | false | false | false | low |
73,200,340 | React-Native-Reanimated: error: node_modules\react-native-reanimated\src\index.ts: | <p>I was making new project and I can't run the android emulator with this error.</p>
<p><a href="https://i.stack.imgur.com/tggnR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tggnR.png" alt="enter image description here" /></a></p>
<p><a href="https://i.stack.imgur.com/TLReX.png" rel="nofollow nor... | I was making new project and I can't run the android emulator with this error. It is located at 'node_modules\react-native-reanimated\src\index.ts' and this is just the code there: [CODE] Im not sure what to do, please help. Thank you in advance! | android|react-native|node-modules|react-native-reanimated | 0 | 2022-08-01T22:54:03.667Z | 2,022 | 8 | 22 | 0 | 1,236 | 1 | 246 | 82 | 4 | 1 | true | false | false | false | false | false | zero |
73,200,739 | How to upgrade Android Gradle Plugin on MacOS? | <p>I try build AAB Android Package for Flutter app using Android Studio on Mac. But when I try do it, I get error like this:
<a href="https://i.stack.imgur.com/TXI8E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TXI8E.png" alt="enter image description here" /></a>
I see a lot of solutions, but it w... | I try build AAB Android Package for Flutter app using Android Studio on Mac. But when I try do it, I get error like this: I see a lot of solutions, but it works or Windows, or on pure java/kotlin solution (not Flutter) How to update Android Gradle Plugin? My Gradle settings looks like this: | flutter|android-studio|gradle|android-gradle-plugin|gradle-plugin | 0 | 2022-08-02T00:14:19.863Z | 2,022 | 8 | 0 | 1 | 71 | 2 | 291 | 46 | 5 | 0 | false | false | false | false | false | false | zero |
73,200,853 | Jetpack Compose - Convert classic TextApperance into compose TextStyle | <p>My app read some <code>TextAppearance</code> object through attributes such as <code>R.attr.textAppearanceHeadline1</code>) from an app with Material design and I wanted to use them to as the <code>Typography</code> create a Compose <code>MateiralTheme</code>.</p>
<p><code>Typography</code> works with Compose specif... | My app read some TextAppearance object through attributes such as R.attr.textAppearanceHeadline1 ) from an app with Material design and I wanted to use them to as the Typography create a Compose MateiralTheme . Typography works with Compose specific TextStyle s, are there any conversion utils to convert TextAppearance ... | android|android-jetpack-compose | 0 | 2022-08-02T00:35:25.603Z | 2,022 | 8 | 0 | 1 | 23 | 0 | 336 | 70 | 2 | 0 | false | true | false | false | false | false | zero |
73,200,966 | How to deal with android Collection errors? | <p>While developing Android, I wrote <code>Adapter</code> code for <code>RecyclerView</code>. But intermittently, the app closes abnormally. As a result of checking through <code>Crashlytics</code> of <code>Firebase</code>, the error contents were as follows.</p>
<p><a href="https://i.stack.imgur.com/HIMJr.png" rel="no... | While developing Android, I wrote Adapter code for RecyclerView . But intermittently, the app closes abnormally. As a result of checking through Crashlytics of Firebase , the error contents were as follows. It's an intermittent bug, so I don't know how to fix it. | android|android-recyclerview|android-arrayadapter|nosuchelementexception | 0 | 2022-08-02T01:00:03.897Z | 2,022 | 8 | 1 | 1 | 34 | 1 | 263 | 43 | 4 | 0 | false | false | false | false | false | false | zero |
73,201,025 | Can't read downloaded files to actual android phone (Android 10) and crashes on a third party emulator. But working in Android Studio | <p>I am new to android development and I need help please.</p>
<p>I have a working/running project in Android Studio. But after installing it to my phone, the next activity is not showing or nothing happens when I click on the button. And on a third party emulator, the app doesn't open at all.</p>
<p>AndroidManifest.xm... | I am new to android development and I need help please. I have a working/running project in Android Studio. But after installing it to my phone, the next activity is not showing or nothing happens when I click on the button. And on a third party emulator, the app doesn't open at all. AndroidManifest.xml [CODE] login.ja... | android | 1 | 2022-08-02T01:11:31.690Z | 2,022 | 8 | 1 | 1 | 71 | 0 | 789 | 133 | 1 | 5 | true | true | false | false | false | false | low |
73,201,237 | animation o a lazycolumn android | <p>I have a list with 10 items one of them have this elements <code>"rankingCurrentPlace"</code>, <code>"rankingPastPlace"</code> and <code>"isUser:true"</code>.</p>
<p>What i need to do its an animation on the lazycolumn if the api esponse is like this
<code>"isUser:true"</code>... | I have a list with 10 items one of them have this elements "rankingCurrentPlace" , "rankingPastPlace" and "isUser:true" . What i need to do its an animation on the lazycolumn if the api esponse is like this "isUser:true" , "rankingPastPlace:3" , "rankingCurrentPlac... | android|kotlin|android-jetpack-compose | 1 | 2022-08-02T01:55:59.280Z | 2,022 | 8 | 1 | 1 | 102 | 2 | 505 | 32 | 3 | 1 | true | false | false | false | false | false | low |
73,201,360 | how can I apply mockK when viewModel uses pref in init block? | <p>Here's my ViewModel class.</p>
<pre class="lang-kotlin prettyprint-override"><code>@HiltViewModel
class MainViewModel @Inject constructor(
private val serviceRepository: ServiceRepository,
private val userPrefRepository: UserPreferencesRepository,
override val preferencesRepository: PreferencesRepository... | Here's my ViewModel class. [CODE] FYI, I never have written test codes. And at the moment, I'd like to test fetchMenus() method. So, maybe I need to check menuListState is set after calling fetchMenus() . (I will use turbine library to check flow data) [CODE] I get error this error after running the test: [CODE] | android|unit-testing|junit4|kotlin-coroutines | 0 | 2022-08-02T02:22:37.247Z | 2,022 | 8 | 2 | 1 | 41 | 0 | 313 | 61 | 4 | 3 | true | true | false | false | false | false | zero |
73,201,455 | Multi Flows to one list , Kotlin Android | <p>I have two flows like this:
flow_a{List(a,b,c)}, flow_b(list(1,2,3))</p>
<p>when I merger{flow_a, flow_b}, it war returned [list1,list2]</p>
<p>How I can return one list like this: [a,b,c,1,2,3]</p>
<p>thanks a lot for your help</p> | I have two flows like this: flow_a{List(a,b,c)}, flow_b(list(1,2,3)) when I merger{flow_a, flow_b}, it war returned [list1,list2] How I can return one list like this: [a,b,c,1,2,3] thanks a lot for your help | android|kotlin | 1 | 2022-08-02T02:47:03.110Z | 2,022 | 8 | 2 | 1 | 41 | 2 | 207 | 40 | 2 | 0 | false | false | false | false | false | false | low |
73,201,515 | what's the difference between @Mockk and mockk<*>()? | <p>In <a href="https://stackoverflow.com/questions/65741072/mockk-or-mockk">this Q&A</a>, it says there's no difference. And some people says annotation is better or using constructor(mockk<*>()) is better.</p>
<p>For me, if they are equivalent, less line of code(not using annotation) is better.</p>
<p>Many s... | In this Q&A , it says there's no difference. And some people says annotation is better or using constructor(mockk<*>()) is better. For me, if they are equivalent, less line of code(not using annotation) is better. Many sample code shows @MockK is used for the values that pass to Class such as ViewModel/Activity or Frag... | android|unit-testing|kotlin|junit4|mockk | 0 | 2022-08-02T02:59:30.383Z | 2,022 | 8 | 2 | 1 | 31 | 0 | 642 | 52 | 5 | 0 | false | 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.