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,247,744 | how to turn on wifi programatically in flutter and android? | <p>I want to create app functionality to turn on WIFI programmatically.
In android wifi.setWifiEnabled method was deprecated.</p> | I want to create app functionality to turn on WIFI programmatically. In android wifi.setWifiEnabled method was deprecated. | android|flutter|android-wifi|wifimanager | 0 | 2022-08-05T09:43:07.160Z | 2,022 | 8 | 9 | 4 | 85 | 1 | 122 | 59 | 4 | 0 | false | false | false | false | false | false | zero |
73,247,790 | Im facing this error Failed to resolve: com.github.parse-community.Parse-SDK-Android:parse:4.0.0 | <p>Im trying to implement Parse in my android studio project.
I have followed this guide <a href="https://www.back4app.com/docs/android/parse-android-sdk" rel="nofollow noreferrer">https://www.back4app.com/docs/android/parse-android-sdk</a>
until step 4 :<br />
<code>implementation "com.github.parse-community.Pars... | Im trying to implement Parse in my android studio project. I have followed this guide https://www.back4app.com/docs/android/parse-android-sdk until step 4 : implementation "com.github.parse-community.Parse-SDK-Android:parse:4.0.0" Since this, i have this error message when i try to sync Failed to resolve: com... | android|gradle|parse-platform | 0 | 2022-08-05T09:46:37.907Z | 2,022 | 8 | 9 | 4 | 56 | 1 | 408 | 96 | 3 | 0 | false | false | false | false | false | false | zero |
73,247,935 | Android Studio showing error while creating a Jetpack Compose project | <p>I am trying to create a Compose Project using Android Studio IDE.
But after execution of gradle build it shows a error:-</p>
<p>Unable to load class 'org.jetbrains.kotlin.config.LanguageVersion'.</p>
<p>I am trying to solve this from two days but didn't find any solution.</p> | I am trying to create a Compose Project using Android Studio IDE. But after execution of gradle build it shows a error:- Unable to load class 'org.jetbrains.kotlin.config.LanguageVersion'. I am trying to solve this from two days but didn't find any solution. | android|android-studio|kotlin|gradle|android-jetpack-compose | 0 | 2022-08-05T09:56:48.090Z | 2,022 | 8 | 9 | 4 | 34 | 0 | 258 | 69 | 5 | 0 | false | true | false | false | false | false | zero |
73,248,029 | Notification PendingIntent.send() doesn't return back to my Application | <p>I have a kiosk app which intercepts system notification and i need to launch that notification app from my app and on back from that specific app, My application should be visible when that specific app closes.
I am able to open the specific application through</p>
<pre><code>// Intercepting notification
val pending... | I have a kiosk app which intercepts system notification and i need to launch that notification app from my app and on back from that specific app, My application should be visible when that specific app closes. I am able to open the specific application through [CODE] Problem All apps other than system pre-installed ap... | android|android-notifications|android-pendingintent|kiosk-mode | 0 | 2022-08-05T10:03:49.887Z | 2,022 | 8 | 10 | 4 | 17 | 0 | 572 | 71 | 4 | 1 | true | true | false | false | false | false | zero |
73,248,055 | How to filter list with another string list? | <p>Hello I would like to filter list with data only with type which is in anoter arrays.</p>
<pre><code> myList.filter { itemList->
typesArray.forEach { itemList.type == it }
withStatus.forEach { itemList.state.key == it}
}
</code></pre>
<p>error:</p>
<pre><code>Type mismatch.... | Hello I would like to filter list with data only with type which is in anoter arrays. [CODE] error: [CODE] How to achieve this properly? I have tried also like this: [CODE] | android|list|kotlin|collections | 0 | 2022-08-05T10:06:03.833Z | 2,022 | 8 | 10 | 4 | 37 | 2 | 172 | 44 | 4 | 3 | true | false | false | false | false | false | zero |
73,248,072 | How to get server time firebase Firestore kotlin? | <p>I searched the documentation, Googled, and similar questions, but could not find a clear solution on how to get the server time, I need it to record the time of sending messages to Firestore.</p> | I searched the documentation, Googled, and similar questions, but could not find a clear solution on how to get the server time, I need it to record the time of sending messages to Firestore. | android|firebase|kotlin|google-cloud-platform|google-cloud-firestore | -1 | 2022-08-05T10:07:50.627Z | 2,022 | 8 | 10 | 4 | 47 | 1 | 191 | 49 | 5 | 0 | false | false | false | false | false | true | negative |
73,248,243 | How to create a long polling in Android by using Retrofit2 and RxJs? | <p>I was trying to follow this <a href="https://stackoverflow.com/a/28398332/9945307">stackoverflow answer</a> for implementing long polling to an API.</p>
<p>The issue is that by trying to use <code>Observable.interval()</code> or <code>Observable.timer()</code> the call is made only once and the first call is casted ... | I was trying to follow this stackoverflow answer for implementing long polling to an API. The issue is that by trying to use Observable.interval() or Observable.timer() the call is made only once and the first call is casted only after the delay, while, i would that the first call is made immediatly and then other are ... | android|rxjs|retrofit2 | 0 | 2022-08-05T10:21:37.350Z | 2,022 | 8 | 10 | 4 | 37 | 1 | 671 | 68 | 3 | 1 | true | false | false | false | false | false | zero |
73,248,248 | Unexpected lock protocol found in lock file. this error started when i run on android device. it is fine while run on chrome | <p>FAILURE: Build failed with an exception.</p>
<ul>
<li>What went wrong:
A problem occurred configuring project ':file_picker'.</li>
</ul>
<blockquote>
<p>java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Unexpected lock protocol found
in lock file. Expected 1, found 0.
Failed to notify project... | FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring project ':file_picker'. java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Unexpected lock protocol found in lock file. Expected 1, found 0. Failed to notify project evaluation listener. Could not get unknown... | flutter|dart|flutter-android | 0 | 2022-08-05T10:22:15.717Z | 2,022 | 8 | 10 | 4 | 67 | 1 | 1,018 | 124 | 3 | 0 | false | false | false | false | false | false | zero |
73,248,517 | Xamarin - Render array of object in form with submit button | <p>I am new to Xamarin and I wanted to develop a screen which basically renders multiple sections like this screen <a href="https://i.stack.imgur.com/NqxZf.png" rel="nofollow noreferrer">UI Screen</a>, and on click of submit button, I want all entered object on server side.</p>
<p>class which is bind to form will be a ... | I am new to Xamarin and I wanted to develop a screen which basically renders multiple sections like this screen UI Screen , and on click of submit button, I want all entered object on server side. class which is bind to form will be a list of Products. [CODE] User will enter quantity for each of product line. On click ... | c#|xamarin|xamarin.forms|xamarin.android|xamarin.ios | 0 | 2022-08-05T10:44:22.847Z | 2,022 | 8 | 10 | 4 | 53 | 1 | 410 | 59 | 5 | 1 | true | false | false | false | false | false | zero |
73,248,530 | LaunchedEffect doesn't get executed the first time | <p>So I'm making an application using Jetpack compose, at a certain poit I open a new composable screen using a navigation graph inside a scope.launch{}.</p>
<p>In the destination composable function I have a LaunchedEffect(localContext.current){}, but it never gets executed even at the first launch the code inside the... | So I'm making an application using Jetpack compose, at a certain poit I open a new composable screen using a navigation graph inside a scope.launch{}. In the destination composable function I have a LaunchedEffect(localContext.current){}, but it never gets executed even at the first launch the code inside the brackets ... | android|kotlin | 1 | 2022-08-05T10:46:18.220Z | 2,022 | 8 | 10 | 4 | 33 | 1 | 368 | 50 | 2 | 0 | false | false | false | false | false | false | low |
73,248,551 | Animated Visibility expand and shrink behaviour | <p>Is there a way where I can make <code>AnimatedVisibility</code> to be scrollable without being part of <code>LazyColumn</code> as an <code>item</code>, so it can be visible from all of nav destination, so when I navigate to second screen, the <code>Dynamic part</code> to shrink and also when I scroll on first screen... | Is there a way where I can make AnimatedVisibility to be scrollable without being part of LazyColumn as an item , so it can be visible from all of nav destination, so when I navigate to second screen, the Dynamic part to shrink and also when I scroll on first screen, to shrink as it is item of LazyColumn [CODE] } | android-jetpack-compose | 2 | 2022-08-05T10:47:45.080Z | 2,022 | 8 | 10 | 4 | 72 | 0 | 314 | 47 | 1 | 1 | true | true | false | false | false | false | low |
73,248,554 | How to get value from Radio group in Jetpack Compose | <p>I'm beginner in Jetpack Compose, so I don't know how can I get value from Radio group that I created.</p>
<p>This is my Radio group composable function:</p>
<pre><code>@Composable
fun KindRadioGroup(
mItems: List<String>
) {
val mRememberObserver = remember { mutableStateOf("") }
Composit... | I'm beginner in Jetpack Compose, so I don't know how can I get value from Radio group that I created. This is my Radio group composable function: [CODE] Is that ok for creating a Radio group or you have better idea? This is the way that I use that composable function: [CODE] By the way if it's ok, how can I get value f... | android|kotlin|android-jetpack-compose|radio-group | 2 | 2022-08-05T10:48:07.403Z | 2,022 | 8 | 10 | 4 | 88 | 1 | 346 | 52 | 4 | 2 | true | false | false | false | false | false | low |
73,248,578 | OnItemClick in RecyclerView setting int and String (Image and text) | <p>in my application I have a gallery of sorts. It's horizontal scrolling RecyclerView. Here are populated cards and when one is clicked, it should be displayed in larger IV.
This works fine.
What I want to do now, is when the card is clicked and enlarged, the note for the card (short text) will appear under it in sepa... | in my application I have a gallery of sorts. It's horizontal scrolling RecyclerView. Here are populated cards and when one is clicked, it should be displayed in larger IV. This works fine. What I want to do now, is when the card is clicked and enlarged, the note for the card (short text) will appear under it in separat... | java|android|xml|android-recyclerview|onclick | 0 | 2022-08-05T10:50:13.600Z | 2,022 | 8 | 10 | 4 | 32 | 2 | 1,087 | 67 | 5 | 4 | true | false | false | false | false | false | zero |
73,248,684 | include layout not giving access to its class | <p>I want to add different layouts in one activity with its functionalities. When I use include to add layouts it just shows the layout, not the functionalities that I have written in that layouts activity</p> | I want to add different layouts in one activity with its functionalities. When I use include to add layouts it just shows the layout, not the functionalities that I have written in that layouts activity | android|android-studio|kotlin|include | 0 | 2022-08-05T10:59:12.087Z | 2,022 | 8 | 10 | 4 | 28 | 1 | 202 | 45 | 4 | 0 | false | false | false | false | false | false | zero |
73,248,717 | Custom Font weight in jetpack compose | <p>my designer give me</p>
<pre><code>Font(R.font.source_sans_variable_350)
</code></pre>
<p>which is 350. I am working on fonts through this <a href="https://developer.android.com/jetpack/compose/text#fonts" rel="nofollow noreferrer">doc</a>. To provide <strong>FontWeight</strong> in <strong>FontFamily</strong>. I che... | my designer give me [CODE] which is 350. I am working on fonts through this doc . To provide FontWeight in FontFamily . I checked FontWeight.Light and FontWeight.Normal which is 300 and 400 respectively. So is there any solution for 350 ? Thanks | android|kotlin|android-jetpack-compose|android-jetpack|material-components-android | 0 | 2022-08-05T11:02:13.083Z | 2,022 | 8 | 11 | 4 | 86 | 2 | 245 | 37 | 5 | 1 | true | false | false | false | false | false | zero |
73,248,727 | Why is exception handled by the handler of a non-root, non-supervisor coroutine? | <p>I was testing the exception handling mechanism of coroutines with this test function:</p>
<pre><code>suspend fun test(){
supervisorScope {launch(createExceptionHandler(1)) {
coroutineScope {launch(createExceptionHandler(2)) {
supervisorScope {launch { //SUPERVISOR WITH NO HANDLER
... | I was testing the exception handling mechanism of coroutines with this test function: [CODE] Result: [CODE] I was expecting handler #1 to catch the exception, and to my surprise, it was handler #2 who caught it! Reading the docs , I expect handler #2, #4, #5 to be completely ignored: ... In particular, all children cor... | android|kotlin|kotlin-coroutines|kotlin-multiplatform|kotlin-multiplatform-mobile | 1 | 2022-08-05T11:02:42.600Z | 2,022 | 8 | 11 | 4 | 75 | 0 | 988 | 80 | 5 | 4 | true | true | false | false | false | false | low |
73,248,751 | Do suspend functions suspend coroutines? | <p>I am confused actually. for example, I know suspendCoroutine function which is a suspend function that suspends a coroutine. but do all suspend functions suspend coroutines? in addition I know when a coroutine is suspended it remove from the corresponding thread for a while and other coroutines or tasks can resume a... | I am confused actually. for example, I know suspendCoroutine function which is a suspend function that suspends a coroutine. but do all suspend functions suspend coroutines? in addition I know when a coroutine is suspended it remove from the corresponding thread for a while and other coroutines or tasks can resume and ... | android|kotlin|kotlin-coroutines|coroutine|suspend | 0 | 2022-08-05T11:04:50.703Z | 2,022 | 8 | 11 | 4 | 85 | 1 | 546 | 40 | 5 | 0 | false | false | false | false | false | false | zero |
73,248,837 | Preventing Default Behaviour of certain keys in react native | <p><strong>Description</strong></p>
<blockquote>
<p>I want to prevent default behaviour of enter key in TextInput
multiline. I tried blurOnSubmit={true} but after I hit enter the
keyboard is dismissed but I don't want the keyboard to be dismissed.
So I started to check manually, if the entered key is '\n' then I am
not... | Description I want to prevent default behaviour of enter key in TextInput multiline. I tried blurOnSubmit={true} but after I hit enter the keyboard is dismissed but I don't want the keyboard to be dismissed. So I started to check manually, if the entered key is '\n' then I am not changing the value of TextInput. But if... | android|reactjs|react-native | 0 | 2022-08-05T11:11:06.490Z | 2,022 | 8 | 11 | 4 | 27 | 0 | 966 | 60 | 3 | 1 | true | true | false | false | false | false | zero |
73,248,884 | Determine required disk space size before downloading HLS with ExoPlayer | <p>I use HLS protocol and I need to determine the size of the video with the selected resolution, subtitles, and audio tracks. Unfortunately, I haven't found any examples in demo-app. I could define only the video track's size by multiplying the selected track's bitrate. But the size of multiple audio tracks and subtit... | I use HLS protocol and I need to determine the size of the video with the selected resolution, subtitles, and audio tracks. Unfortunately, I haven't found any examples in demo-app. I could define only the video track's size by multiplying the selected track's bitrate. But the size of multiple audio tracks and subtitles... | android|kotlin|http-live-streaming|exoplayer | 0 | 2022-08-05T11:14:14.677Z | 2,022 | 8 | 11 | 4 | 16 | 1 | 352 | 72 | 4 | 0 | false | false | false | false | false | false | zero |
73,248,955 | i want to call an api function continously 24*7 with the timer of 1 minute in background , it works fine in intial time ,after 15 minutes it stops | <p>please help i am new to Android , I want to call this API background continuously 24*7(all time),
but this code runs few minutes and then it stops working, is there any other solution to work this code continuously(non-stop) background with timer?. here I'm using foreground service but no use.</p>
<p>SmsForegroundS... | please help i am new to Android , I want to call this API background continuously 24*7(all time), but this code runs few minutes and then it stops working, is there any other solution to work this code continuously(non-stop) background with timer?. here I'm using foreground service but no use. SmsForegroundService.clas... | android|retrofit2|timertask|android-handler|foreground-service | 0 | 2022-08-05T11:20:09.283Z | 2,022 | 8 | 11 | 4 | 44 | 0 | 471 | 146 | 5 | 3 | true | true | false | false | false | false | zero |
73,249,052 | Call service opens the app automatically from background | <p>I have a call service which opens the call screen whenever a incoming call is received, the problem is if my app is in background and if there is a call and when the call is over, the app automatically opens from background activity. If the app is not in background and a call is received and when it is over the app ... | I have a call service which opens the call screen whenever a incoming call is received, the problem is if my app is in background and if there is a call and when the call is over, the app automatically opens from background activity. If the app is not in background and a call is received and when it is over the app doe... | java|android-studio|kotlin|android-jetpack-compose|sendbird | 0 | 2022-08-05T11:29:48.207Z | 2,022 | 8 | 11 | 4 | 42 | 1 | 666 | 56 | 5 | 1 | true | false | false | false | false | false | zero |
73,249,150 | Complete reset of the Android Service | <p>I have a Service that sends GPS coordinates in the background at a certain interval. It turns on by a switch on the screen. And if you turn it on and off, it's as if new instances of the Service are launched. But if you close the application and start it again, the Service is reset and works as it should.</p>
<p>Whe... | I have a Service that sends GPS coordinates in the background at a certain interval. It turns on by a switch on the screen. And if you turn it on and off, it's as if new instances of the Service are launched. But if you close the application and start it again, the Service is reset and works as it should. When developi... | android|kotlin|service|background|gps | 0 | 2022-08-05T11:36:59.853Z | 2,022 | 8 | 11 | 4 | 24 | 0 | 572 | 37 | 5 | 0 | false | true | false | false | false | false | zero |
73,249,218 | AS stuck on "gradle project sync in progress" unable to open due to failed sync/build project | <p>While I tried to update Gradle to version 7.3.3 the android studio stuck for over 10 mins on sync state so I invalid cache and restarted while it's in this state after that the IDEA couldn't open the project, I think the previous action caused damage in some Gradle files, I tried to delete these folders <code>.gradl... | While I tried to update Gradle to version 7.3.3 the android studio stuck for over 10 mins on sync state so I invalid cache and restarted while it's in this state after that the IDEA couldn't open the project, I think the previous action caused damage in some Gradle files, I tried to delete these folders .gradle and .id... | android|android-studio|gradle|android-gradle-plugin|build.gradle | 0 | 2022-08-05T11:42:26.553Z | 2,022 | 8 | 11 | 4 | 82 | 0 | 587 | 93 | 5 | 1 | true | true | false | false | false | false | zero |
73,249,221 | Send data MainActivity to FragmentStateAdapter to Fragment | <p>I am developing an application on android and I encounter a problem.</p>
<p>The existing topics on StackoverFlow do not answer my problem, they are not under kotlin and do not go through 3 class</p>
<p>I would like to display data from an object (<strong>Activity</strong>). The problem is that it's object is in my M... | I am developing an application on android and I encounter a problem. The existing topics on StackoverFlow do not answer my problem, they are not under kotlin and do not go through 3 class I would like to display data from an object ( Activity ). The problem is that it's object is in my MainActivity and I have to pass i... | android|kotlin|android-viewpager2 | 0 | 2022-08-05T11:42:44.920Z | 2,022 | 8 | 11 | 4 | 28 | 0 | 590 | 58 | 3 | 3 | true | true | false | false | false | false | zero |
73,249,248 | How to get ID of a row in SQLite? | <p>I have a notes app that is paired width a MySql server. When I want to load notes from the server I get JSONArray width serverId(sid), title, and description of the note. Then I check if serverId(sid) exists in the local SQLite database. If sid exists I want to just update the note width new title and description fr... | I have a notes app that is paired width a MySql server. When I want to load notes from the server I get JSONArray width serverId(sid), title, and description of the note. Then I check if serverId(sid) exists in the local SQLite database. If sid exists I want to just update the note width new title and description from ... | android|json|sqlite|row | 0 | 2022-08-05T11:45:01.813Z | 2,022 | 8 | 11 | 4 | 31 | 1 | 587 | 33 | 4 | 1 | true | false | false | false | false | false | zero |
73,249,251 | Azure AppCenter: Android build succeeds but no APKs found | <p>I've been setting up Azure App Center build pipelines and after some troubleshooting, I managed to make our debug build succeed. The issue is that, it seems to not be able to find any of the generated APKs in the expected directories. Any ideas on why that is?</p>
<p>Here's the specific part of the output log:</p>
<... | I've been setting up Azure App Center build pipelines and after some troubleshooting, I managed to make our debug build succeed. The issue is that, it seems to not be able to find any of the generated APKs in the expected directories. Any ideas on why that is? Here's the specific part of the output log: BUILD SUCCESSFU... | android|azure|visual-studio-app-center | 0 | 2022-08-05T11:45:15.713Z | 2,022 | 8 | 11 | 4 | 55 | 0 | 2,054 | 57 | 3 | 0 | false | true | false | false | false | false | zero |
73,249,252 | Kotlin Room repository calls to DAO 'unresolved reference' in Android studio | <p>I'm building my first Room project and need a fresh pair of eyes to see what I'm doing wrong.</p>
<p>Android studio keeps telling me the call to insertBopa or deleteBopa in the BopaRoomDao is an unresolved reference. My code seeme to match other examples I've looked at and tutorials but I just can't work out what I'... | I'm building my first Room project and need a fresh pair of eyes to see what I'm doing wrong. Android studio keeps telling me the call to insertBopa or deleteBopa in the BopaRoomDao is an unresolved reference. My code seeme to match other examples I've looked at and tutorials but I just can't work out what I'm doing wr... | kotlin|android-room | 0 | 2022-08-05T11:45:20.287Z | 2,022 | 8 | 11 | 4 | 60 | 1 | 530 | 76 | 2 | 4 | true | false | false | false | false | false | zero |
73,249,341 | How to disable Firebase in-app messaging browser redirection on android | <p>I want to open a specific activity on-click of buttons in firebase in-app messaging, by default it is redirecting to the browser.
I want to open relevant activity within my app itself if user clicks on action button. please suggest me how can I disable browser redirection.</p> | I want to open a specific activity on-click of buttons in firebase in-app messaging, by default it is redirecting to the browser. I want to open relevant activity within my app itself if user clicks on action button. please suggest me how can I disable browser redirection. | android|firebase|firebase-in-app-messaging | 0 | 2022-08-05T11:52:34.343Z | 2,022 | 8 | 11 | 4 | 37 | 1 | 273 | 71 | 3 | 0 | false | false | false | false | false | false | zero |
73,249,387 | Multiple re-executions of Jetpack Compose functions on read | <p>I've been checking out the <a href="https://www.youtube.com/watch?v=EOQB8PTLkpY&t=615s&ab_channel=AndroidDevelopers" rel="nofollow noreferrer">Performance best practices for Jetpack Compose</a> Google I/O, in there it's stated that this code should only re-execute the Text() function, since only this functio... | I've been checking out the Performance best practices for Jetpack Compose Google I/O, in there it's stated that this code should only re-execute the Text() function, since only this function reads a value that changes. [CODE] however when I run it I can see that for every change both prints execute as well. I also test... | android|kotlin|android-jetpack-compose | 0 | 2022-08-05T11:56:37.643Z | 2,022 | 8 | 11 | 4 | 35 | 1 | 545 | 59 | 3 | 3 | true | false | false | false | false | false | zero |
73,249,430 | Getting error "Default FirebaseApp is not initialized in this process com.example.ecom. Make sure to call FirebaseApp.initializeApp(Context) first"..p | <p>I have initialized firebase but still, I m getting this error. please, anyone, help?</p>
<p><strong>build.gradle(Module)</strong></p>
<pre><code>plugins {
id 'com.android.application'
}
android {
compileSdk 32
defaultConfig {
applicationId "com.example.ecom"
minSdk 23
t... | I have initialized firebase but still, I m getting this error. please, anyone, help? build.gradle(Module) [CODE] MainActivity.java [CODE] | android|firebase|firebase-realtime-database | 0 | 2022-08-05T12:00:24.273Z | 2,022 | 8 | 12 | 4 | 72 | 0 | 137 | 150 | 3 | 2 | true | true | false | false | false | false | zero |
73,249,531 | AnimateScrollTo with NestedScroll | <p>I'm trying to animate the fling of a LargeTopAppBar with nestedScroll.
Is it possible to animateScrollTo with NestedScroll like with ScrollState?
I'm using Compose and Material3.
Thanks in advance!</p> | I'm trying to animate the fling of a LargeTopAppBar with nestedScroll. Is it possible to animateScrollTo with NestedScroll like with ScrollState? I'm using Compose and Material3. Thanks in advance! | android|android-jetpack-compose|android-jetpack|android-jetpack-compose-material3|material3 | 0 | 2022-08-05T12:08:49.290Z | 2,022 | 8 | 12 | 4 | 23 | 0 | 197 | 33 | 5 | 0 | false | true | false | false | false | false | zero |
73,249,551 | How can I get this kind of layout of buttons by getting data from one api in flutter | <p>How can I get this kind of layout of buttons when getting data from an API in flutter,,As shown in the picture</p>
<p><img src="https://i.stack.imgur.com/uE7yO.jpg" alt="" /></p> | How can I get this kind of layout of buttons when getting data from an API in flutter,,As shown in the picture | android|flutter|api|user-interface|layout | 0 | 2022-08-05T12:10:28.273Z | 2,022 | 8 | 12 | 4 | 31 | 1 | 110 | 84 | 5 | 0 | false | false | false | false | false | false | zero |
73,249,572 | I am facing Manifest merger failed can any one tell.? | <p>Manifest merger failed: Attribute</p>
<pre><code>provider#com.google.firebase.provider.FirebaseInitProvider@authorities value=(fintnessathome.cardioexcercise.firebaseinitprovider) from AndroidManifest.xml:766:13-86
is also present at [com.google.firebase:firebase-common:19.3.0] AndroidManifest.xml:28:13-72 value... | Manifest merger failed: Attribute [CODE] I am facing this issue, I got the template from my friend and i want to make some changes in the android app, it's showing this error when I execute this program. | android | 0 | 2022-08-05T12:12:15.153Z | 2,022 | 8 | 12 | 4 | 49 | 2 | 203 | 53 | 1 | 1 | true | false | false | false | false | false | zero |
73,249,736 | Android camera issue | <p>I'm having camera issue. But my app getting crashed while user taking picture on camera on specific mobiles like Redmi Note 7 pro. Can anyone please help me out of this issue. I'm checking about this issue from last 2 days. I couldn't find any solution for this.</p> | I'm having camera issue. But my app getting crashed while user taking picture on camera on specific mobiles like Redmi Note 7 pro. Can anyone please help me out of this issue. I'm checking about this issue from last 2 days. I couldn't find any solution for this. | android | 0 | 2022-08-05T12:24:09.437Z | 2,022 | 8 | 12 | 4 | 36 | 1 | 262 | 20 | 1 | 0 | false | false | false | false | false | false | zero |
73,249,988 | Android 12 Spash Api | <p>Hi i implemented New Android Splash Api and it working fine but i want a show a dialog in that but it not showing</p>
<blockquote>
<p>@AndroidEntryPoint
class SplashActivity : AppCompatActivity() {</p>
</blockquote>
<pre><code>private lateinit var viewModel: SplashViewModel
override fun onCreate(savedInstanceState:... | Hi i implemented New Android Splash Api and it working fine but i want a show a dialog in that but it not showing @AndroidEntryPoint class SplashActivity : AppCompatActivity() { [CODE] | android|splash-screen|android-12 | 0 | 2022-08-05T12:44:37.633Z | 2,022 | 8 | 12 | 4 | 32 | 0 | 184 | 20 | 3 | 1 | true | true | false | false | false | false | zero |
73,250,020 | Libgdx : how to draw line using shape renderer? | <p>I am trying to make a matching game using Libgdx.
I am working on stage and want to draw a line e.g. if I touch "A" alphabet which will be the initial point then the line starts on that point from where I touch on "A" image and drag it to the "Apple" image and the line ends on "Ap... | I am trying to make a matching game using Libgdx. I am working on stage and want to draw a line e.g. if I touch "A" alphabet which will be the initial point then the line starts on that point from where I touch on "A" image and drag it to the "Apple" image and the line ends on "Apple&... | java|android|android-studio|libgdx|game-development | 0 | 2022-08-05T12:47:03.700Z | 2,022 | 8 | 12 | 4 | 40 | 1 | 528 | 47 | 5 | 0 | false | false | false | false | false | false | zero |
73,250,083 | Cheatsheets for Views in Android Studio | <p>Hi I am working for a week with android studio.
Is there any cheatsheet for the properties of views (buttons, editText, TextViews etc.)?</p>
<p>Something similar like these:
<a href="https://websitesetup.org/css3-cheat-sheet/" rel="nofollow noreferrer">https://websitesetup.org/css3-cheat-sheet/</a>
<a href="https://... | Hi I am working for a week with android studio. Is there any cheatsheet for the properties of views (buttons, editText, TextViews etc.)? Something similar like these: https://websitesetup.org/css3-cheat-sheet/ https://bootstrap-cheatsheet.themeselection.com/ | android|android-studio|kotlin|android-layout | 0 | 2022-08-05T12:51:29.083Z | 2,022 | 8 | 12 | 4 | 32 | 1 | 258 | 39 | 4 | 0 | false | false | false | false | false | false | zero |
73,250,176 | React Native Share back to wrong stack | <p>I have a react native app that use react-native-share and other lib/package that open native activity (react-native-photo-editor).</p>
<p>But I have a weird behavior when this flows happen.</p>
<p>Assume, I have an image in my galery app, and I want to share it to my friends via my app that build with react native, ... | I have a react native app that use react-native-share and other lib/package that open native activity (react-native-photo-editor). But I have a weird behavior when this flows happen. Assume, I have an image in my galery app, and I want to share it to my friends via my app that build with react native, but before send i... | android|react-native|react-native-share | 0 | 2022-08-05T12:58:25.047Z | 2,022 | 8 | 12 | 4 | 17 | 0 | 792 | 38 | 3 | 0 | false | true | false | false | false | false | zero |
73,250,191 | How to stop a Binder connection by Client? | <p>I'm building a Service which is running in XX app【A Process】
and building a Client which is runing in YY app【B Process】</p>
<p>The client calls <strong>context.bindService()</strong> to bind the remote service(across process),
and communicate each other by Binder in a center feature of YY app.</p>
<p>Now, when I ex... | I'm building a Service which is running in XX app【A Process】 and building a Client which is runing in YY app【B Process】 The client calls context.bindService() to bind the remote service(across process), and communicate each other by Binder in a center feature of YY app. Now, when I exited the feature of YY app(Not exit... | android-binder|unbindservice | 0 | 2022-08-05T12:59:22.653Z | 2,022 | 8 | 12 | 4 | 13 | 0 | 636 | 42 | 2 | 0 | false | true | false | false | false | false | zero |
73,250,219 | View not displaying in react native android? | <p>I am using an ads SDK and creating my container to attach the adview.
If the device orientation is portrait I am able to see the view.
And if change the orientation to landscape the view isn't visible. It's a blank screen.</p>
<p>This is my container code</p>
<pre><code>private void drawView(AdView.AD_TYPE mAdType){... | I am using an ads SDK and creating my container to attach the adview. If the device orientation is portrait I am able to see the view. And if change the orientation to landscape the view isn't visible. It's a blank screen. This is my container code [CODE] What is wrong here? | android|react-native|view | 2 | 2022-08-05T13:01:23.080Z | 2,022 | 8 | 13 | 4 | 32 | 0 | 275 | 44 | 3 | 1 | true | true | false | false | false | false | low |
73,250,365 | NativeFirebaseError: [storage/unknown] The server has terminated the upload session | <p>I am trying to upload my image to the firestore and getting this error</p>
<p>my file path is already there:</p>
<pre><code>file:///storage/emulated/0/Android/data/com.contact.smooth/files/Pictures/8835e5ad-fb47-
4f0d-ad47-97690f4fb41a.jpg
</code></pre>
<p>image uploading code:</p>
<pre><code>import storage from '@... | I am trying to upload my image to the firestore and getting this error my file path is already there: [CODE] image uploading code: [CODE] My storage rules [CODE] please help | javascript|android|firebase|react-native|firebase-storage | 0 | 2022-08-05T13:12:59.210Z | 2,022 | 8 | 13 | 4 | 77 | 0 | 173 | 83 | 5 | 3 | true | true | false | false | false | false | zero |
73,250,389 | build fingerprint that seems abnormal? Says Denver global product | <p>S2RES32.29-16-1-2 Denver global product. What is a Denver global product and should it be listed as the build fingerprint and what does it mean?</p> | S2RES32.29-16-1-2 Denver global product. What is a Denver global product and should it be listed as the build fingerprint and what does it mean? | build|android-fingerprint-api | 0 | 2022-08-05T13:14:35.910Z | 2,022 | 8 | 13 | 4 | 38 | 1 | 144 | 65 | 2 | 0 | false | false | false | false | false | false | zero |
73,250,524 | How can i fix that 'Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: Couldn't get post build model.' | <p>I get this error when i trying run app on my virtual device.
I tried deploy "Nothing" but it didnt help.
I tried change gradle version on newest, but didint.</p> | I get this error when i trying run app on my virtual device. I tried deploy "Nothing" but it didnt help. I tried change gradle version on newest, but didint. | android|android-studio|gradle | 0 | 2022-08-05T13:24:22.853Z | 2,022 | 8 | 13 | 4 | 61 | 0 | 167 | 137 | 3 | 0 | false | true | false | false | false | false | zero |
73,250,572 | how to display preview of fonts from server in android studio | <p>how to display a ttf file using link from server like as .png or .jpg etc</p>
<p>i Know how to download and load from file</p> | how to display a ttf file using link from server like as .png or .jpg etc i Know how to download and load from file | java|android | -1 | 2022-08-05T13:27:50.993Z | 2,022 | 8 | 13 | 4 | 28 | 1 | 115 | 61 | 2 | 0 | false | false | false | false | false | true | negative |
73,250,625 | Edit Text as OTP fields | <p><a href="https://stackoverflow.com/questions/38872546/edit-text-for-otp-with-each-letter-in-separate-positions/57337907#57337907">Edit text for OTP with Each letter in separate positions</a></p>
<p>In Android above mentioned link have already given the correct answer but <code>"android:inputType=numberPassword&... | Edit text for OTP with Each letter in separate positions In Android above mentioned link have already given the correct answer but "android:inputType=numberPassword" is not working and the cursor is not showing up. anyhow I managed to show start instead of numbers using the below code [CODE] But still cursor ... | android|android-edittext | 0 | 2022-08-05T13:32:06.817Z | 2,022 | 8 | 13 | 4 | 38 | 1 | 345 | 23 | 2 | 1 | true | false | false | false | false | false | zero |
73,250,773 | java.lang.RuntimeException: Unable to start activity and java.lang.NullPointerException: Attempt to invoke virtual method on a null object reference | <p>I am doing a project which includes: Splash screen >> onboarding fragment 1 >> onboarding fragment 2 >> onboarding fragment 3 >> Send OTP screen >> Verify OTP screen >> Dashboard</p>
<p>So, in onboarding fragment 3 screen I have added a button "Get Started" and in Send O... | I am doing a project which includes: Splash screen >> onboarding fragment 1 >> onboarding fragment 2 >> onboarding fragment 3 >> Send OTP screen >> Verify OTP screen >> Dashboard So, in onboarding fragment 3 screen I have added a button "Get Started" and in Send OTP screen i have added a button "Get OTP&... | java|android | -1 | 2022-08-05T13:44:15.567Z | 2,022 | 8 | 13 | 4 | 36 | 2 | 712 | 148 | 2 | 4 | true | false | false | false | false | true | negative |
73,250,857 | How can I make the progress bar animation run first after clicking on the "search" button? Android studio | <p>The problem is that the progress bar only starts when the data has been processed. And I want it to run before processing the data, right after pressing the search button. What am I doing wrong?</p>
<p>whole fragment code</p>
<pre class="lang-java prettyprint-override"><code>package com.app.comicslibrary.MenuFragmen... | The problem is that the progress bar only starts when the data has been processed. And I want it to run before processing the data, right after pressing the search button. What am I doing wrong? whole fragment code [CODE] The text of the log is displayed immediately, but the progress bar does not appear (function setLo... | java|android|multithreading|android-studio|progress-bar | 0 | 2022-08-05T13:51:25.127Z | 2,022 | 8 | 13 | 4 | 34 | 0 | 347 | 105 | 5 | 1 | true | true | false | false | false | false | zero |
73,250,921 | How to design optimal Google Play Billing flow? | <p>I started to implement Google Play Billing flow (Subscriptions only) for simple use cases but surprisingly there are quite limited articles showing how to do it in an optimal way. ClassyTaxi example (<a href="https://github.com/android/play-billing-samples/tree/3f34105c34e2ed2e88055ccf2b04088e8a5fd3a2/ClassyTaxiJava... | I started to implement Google Play Billing flow (Subscriptions only) for simple use cases but surprisingly there are quite limited articles showing how to do it in an optimal way. ClassyTaxi example ( https://github.com/android/play-billing-samples/tree/3f34105c34e2ed2e88055ccf2b04088e8a5fd3a2/ClassyTaxiJava ) is in my... | android|firebase|in-app-purchase|in-app-billing|in-app-subscription | 1 | 2022-08-05T13:56:11.673Z | 2,022 | 8 | 13 | 4 | 66 | 0 | 1,983 | 47 | 5 | 0 | false | true | false | false | false | false | low |
73,250,954 | mp4 from Android phone won't play as html video | <p>I'm trying to play a video taken with an Android phone. I want it to play in Chrome on a desktop or laptop. When I run the code, I get the video controls. When I play the video, I can hear the sound, but the video part is just empty background. I can get other videos to play just fine, but not the video from my p... | I'm trying to play a video taken with an Android phone. I want it to play in Chrome on a desktop or laptop. When I run the code, I get the video controls. When I play the video, I can hear the sound, but the video part is just empty background. I can get other videos to play just fine, but not the video from my phone. ... | android|html|video | 0 | 2022-08-05T13:58:47.707Z | 2,022 | 8 | 13 | 4 | 51 | 2 | 574 | 47 | 3 | 1 | true | false | false | false | false | false | zero |
73,250,986 | Different types of width in jetpack compose | <p>I am working in textfield in jetpack compose. I want to build something like this</p>
<p><a href="https://i.stack.imgur.com/7J4Eu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7J4Eu.png" alt="enter image description here" /></a></p>
<pre><code>TextField(
value = value,
on... | I am working in textfield in jetpack compose. I want to build something like this [CODE] Scenario 1 When I am trying this [CODE] or [CODE] It looks like this in the design Scenario 2 When I try this [CODE] It look like this Scenario 3 When I try this [CODE] It takes the whole screen width. So my question is which one i... | android|kotlin|android-jetpack-compose|android-jetpack | 1 | 2022-08-05T14:01:56.303Z | 2,022 | 8 | 14 | 4 | 444 | 3 | 387 | 43 | 4 | 5 | true | false | false | false | false | false | low |
73,251,111 | Changing Google Maps polyline color only changes a part of the polyline of alternative routes | <p>When a user selects two locations, I'm trying to show one main route and two alternative routes. The main one's in blue and the other two are in gray. It works as expected.</p>
<p>I want to change the color of an alternative route to blue when the user taps on it. But only a part of it changes and the parts that bel... | When a user selects two locations, I'm trying to show one main route and two alternative routes. The main one's in blue and the other two are in gray. It works as expected. I want to change the color of an alternative route to blue when the user taps on it. But only a part of it changes and the parts that belong to the... | android|google-maps|maps|polyline|google-directions-api | 0 | 2022-08-05T14:11:44.340Z | 2,022 | 8 | 14 | 4 | 35 | 1 | 1,067 | 93 | 5 | 4 | true | false | false | false | false | false | zero |
73,251,420 | Build android failed: invalid syntax | <p>Unable to build android wear.</p>
<p>Terminal:</p>
<pre><code>repo init -u https://android.googlesource.com/platform/manifest -b android-wear-9.0.0_r12 --partial-clone --clone-filter=blob:limit=10M
repo sync -c -j8
source build/envsetup.sh
lunch aosp_cf_x86_64_wear-userdebug
make -j32 sdk sdk_repo
</code></pre>
<p>E... | Unable to build android wear. Terminal: [CODE] Error: [CODE] No changes have been made. Do you know a solution to the problem? The files are all original, what causes the problem? | android|build|android-build | 0 | 2022-08-05T14:35:34.480Z | 2,022 | 8 | 14 | 4 | 26 | 0 | 179 | 36 | 3 | 2 | true | true | false | false | false | false | zero |
73,251,547 | Set border for view with an icon in the corner | <p>I would like to add a border to view which to have an icon in the corner like this:</p>
<p><a href="https://i.stack.imgur.com/0lov9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0lov9.jpg" alt="enter image description here" /></a></p>
<p>I write a drawable with border:</p>
<pre><code><shape x... | I would like to add a border to view which to have an icon in the corner like this: I write a drawable with border: [CODE] but I can't add icon in the corner. Thanks for every answers . | android|xml|view|border|drawable | 1 | 2022-08-05T14:45:44.490Z | 2,022 | 8 | 14 | 4 | 43 | 1 | 185 | 46 | 5 | 1 | true | false | false | false | false | false | low |
73,251,556 | android studio page intent eroor | <p>I'm trying to switch to another screen using intent, but the app stops working when the button works.The following error code appears:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.webtoon, PID: 27184
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.webtoo... | I'm trying to switch to another screen using intent, but the app stops working when the button works.The following error code appears: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.webtoon, PID: 27184 android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.webtoon/c... | java|android|android-intent | -2 | 2022-08-05T14:46:25.200Z | 2,022 | 8 | 14 | 4 | 45 | 3 | 1,966 | 32 | 3 | 2 | true | false | false | false | false | true | negative |
73,251,697 | Pull to refresh Webview in Xamarin Form | <p><strong>Edit:</strong> CustomWebView is a class that inherits WebView; pageWebView is an instance of CustomWebView, so <strong>pageWebView is a WebView instance.</strong></p>
<p>I realize that there are some similar questions on stackoverflow, but I don't see accepted/ working solutions, so here I am.</p>
<p>I'm wor... | Edit: CustomWebView is a class that inherits WebView; pageWebView is an instance of CustomWebView, so pageWebView is a WebView instance. I realize that there are some similar questions on stackoverflow, but I don't see accepted/ working solutions, so here I am. I'm working on 'Pull to refresh' feature, when users pull ... | c#|xamarin.forms|xamarin.android|pull-to-refresh | 0 | 2022-08-05T14:56:47.533Z | 2,022 | 8 | 14 | 4 | 60 | 1 | 714 | 39 | 4 | 2 | true | false | false | false | false | false | zero |
73,251,986 | adb says I'm running muliple emulator even if I run only one | <p>I have no running emulators:</p>
<pre><code>$ adb devices
List of devices attached
</code></pre>
<p>but when I try to create a new one, I keep getting error:</p>
<pre><code>$ emulator -avd phone2 -port 5552 -no-window
INFO | Android emulator version 31.2.10.0 (build_id 8420304) (CL:N/A)
ERROR | Running multiple... | I have no running emulators: [CODE] but when I try to create a new one, I keep getting error: [CODE] I am running one emulator but still it says I am running multiple. How is this possible? | android|android-emulator|adb | 0 | 2022-08-05T15:20:36.660Z | 2,022 | 8 | 15 | 4 | 55 | 1 | 189 | 60 | 3 | 2 | true | false | false | false | false | false | zero |
73,252,056 | How to open activity page in fragment, when pressed a notification in android | <p>I have PushNotificationService and my method onMessageReceived.</p>
<p>If I am in the program, a notification comes from above and directs me to the page I want.</p>
<p>However, when the program is closed, when I click on the notification in the background, it does not go to the page I want, it only goes to the home... | I have PushNotificationService and my method onMessageReceived. If I am in the program, a notification comes from above and directs me to the page I want. However, when the program is closed, when I click on the notification in the background, it does not go to the page I want, it only goes to the homepage. And I want ... | java|android|firebase-cloud-messaging|android-push-notification | 0 | 2022-08-05T15:25:57.073Z | 2,022 | 8 | 15 | 4 | 46 | 2 | 429 | 77 | 4 | 2 | true | false | false | false | false | false | zero |
73,252,067 | How to implement the ring buffer to recored the audio for 30 sec in android | <p>I want to make an application that needs to record the audio continuously and keep the last 30-sec audio in the ring buffer, which can overwrite if the size of the ring buffer exceeds. Are there any references or samples for creating the ring buffer in android?</p> | I want to make an application that needs to record the audio continuously and keep the last 30-sec audio in the ring buffer, which can overwrite if the size of the ring buffer exceeds. Are there any references or samples for creating the ring buffer in android? | android|audio|data-structures | 0 | 2022-08-05T15:27:16.680Z | 2,022 | 8 | 15 | 4 | 13 | 0 | 261 | 75 | 3 | 0 | false | true | false | false | false | false | zero |
73,252,068 | Android, React PWA, address bar always visible | <p>He had to change the version of <code>targetSdkVersion</code> from 29 to 31 en <code>build.gradle</code> because Play Store was complaining about versions under 30.</p>
<p>Also, we had to update: <code>com.google.androidbrowserhelper:androidbrowserhelper:1.1.0</code> to <code>2.3.0</code></p>
<p>And then we have to ... | He had to change the version of targetSdkVersion from 29 to 31 en build.gradle because Play Store was complaining about versions under 30. Also, we had to update: com.google.androidbrowserhelper:androidbrowserhelper:1.1.0 to 2.3.0 And then we have to replace: name="Theme.LauncherActivity" parent="Theme.A... | android|reactjs|progressive-web-apps | 0 | 2022-08-05T15:27:21.637Z | 2,022 | 8 | 15 | 4 | 13 | 0 | 944 | 46 | 3 | 2 | true | true | false | false | false | false | zero |
73,252,140 | How to run React Native code on process start (equivalent to android.app.Application.onStart)? | <p>I have an Android service which uses some SDK. The SDK should be initialized from React Native side prior to being used in the service.</p>
<p>I tried to do the initialization in React Native App by using <code>useEffect</code>, but it may happen that the service is launched before the React Native component, thus l... | I have an Android service which uses some SDK. The SDK should be initialized from React Native side prior to being used in the service. I tried to do the initialization in React Native App by using useEffect , but it may happen that the service is launched before the React Native component, thus leaving the SDK not ini... | android|react-native | 0 | 2022-08-05T15:32:42.203Z | 2,022 | 8 | 15 | 4 | 39 | 0 | 709 | 94 | 2 | 3 | true | true | false | false | false | false | zero |
73,252,269 | Navigate a user when clicked on a box in compose | <p>I am trying to figure out how I can create a navigation when clicked on a certain box. Basically when the user clicks a box, it should navigate to a composable screen. The user can then select what they want from the screen and then navigate back to the "start" screen of choices.</p>
<p>All my boxes are in... | I am trying to figure out how I can create a navigation when clicked on a certain box. Basically when the user clicks a box, it should navigate to a composable screen. The user can then select what they want from the screen and then navigate back to the "start" screen of choices. All my boxes are in a lazyRow... | android|kotlin|navigation|android-jetpack-compose | 1 | 2022-08-05T15:42:43.647Z | 2,022 | 8 | 15 | 4 | 68 | 1 | 708 | 48 | 4 | 3 | true | false | false | false | false | false | low |
73,252,420 | how do I access arguments using Modal route.of(context) (Named Route) from Categories to Sub-categories in developing an OLX clone, 2022 | <p>I'm developing a classified listing app like the OLX but I currently have challenges accessing the subcategories from the Categories widgets. Whenever, any category is clicked, I'm expecting such category to appear as the header of the subcategory being accessed. The error occurs at the "<strong>DocumentSnapsho... | I'm developing a classified listing app like the OLX but I currently have challenges accessing the subcategories from the Categories widgets. Whenever, any category is clicked, I'm expecting such category to appear as the header of the subcategory being accessed. The error occurs at the " DocumentSnapshot argument... | android|ios|flutter|categories|ads | 0 | 2022-08-05T15:55:38.833Z | 2,022 | 8 | 15 | 4 | 19 | 0 | 499 | 136 | 5 | 1 | true | true | false | false | false | false | zero |
73,252,430 | crash app when viewmodel read and set data in TextView | <p>I have a simple app that contains a TextView and stores data in a room database When the database contains information, the data is displayed in the text view</p>
<p><strong>problem</strong>
When I read the data from the room database and show the first time in the text view with the ViewModel that the database is e... | I have a simple app that contains a TextView and stores data in a room database When the database contains information, the data is displayed in the text view problem When I read the data from the room database and show the first time in the text view with the ViewModel that the database is empty for the first time, th... | android|kotlin|android-room|viewmodel|android-mvvm | -1 | 2022-08-05T15:56:37.997Z | 2,022 | 8 | 15 | 4 | 58 | 2 | 769 | 54 | 5 | 3 | true | false | false | false | false | true | negative |
73,252,548 | When adding hilt dependency the realm database crashes | <p>I have added hilt in a project that uses Realm database for android. After I added hilt dependencies in the gradle the app crashes and it happens while performing operation on realm database.</p>
<p>I am using following versions:</p>
<pre><code>io.realm:realm-gradle-plugin:10.11.1 //in project gradle file
implemen... | I have added hilt in a project that uses Realm database for android. After I added hilt dependencies in the gradle the app crashes and it happens while performing operation on realm database. I am using following versions: [CODE] | android|realm|dagger-hilt | 0 | 2022-08-05T16:06:55.533Z | 2,022 | 8 | 16 | 4 | 54 | 0 | 229 | 54 | 3 | 1 | true | true | false | false | false | false | zero |
73,252,553 | Pass value of ViewModel to a new Composable screen instance | <p>I have a composable function declared like this:</p>
<pre><code>fun ScreenA(
nav: NavController,
type: SomeTypeObject,
) {
val vm = getViewModel<SomeTypeObjectViewModel>()
val state = rememberScaffoldState()
val scope = rememberCoroutineScope()
LaunchedEffect(LocalContext.current) {
... | I have a composable function declared like this: [CODE] SomeTypeObjectViewModel contains state variable of my ScreenA like this: [CODE] Now at some point in another composable function i use my navigationGraph to open another instance of ScreenA, so SomeTypeObjectViewModel gets recreated and remeberVal restes istelf bu... | android|kotlin|android-jetpack-compose | 1 | 2022-08-05T16:07:10.660Z | 2,022 | 8 | 16 | 4 | 74 | 2 | 991 | 59 | 3 | 4 | true | false | false | false | false | false | low |
73,252,631 | How to impelement notification system in android? | <p>I am building kind of an android chat app and I want to ask how I could build up a background thread that checks for incoming messages (from a rest api). My current solution is a <strong>JobService</strong> but I expect it to have a high battery consumption. Also the JobService has another problem: After closing the... | I am building kind of an android chat app and I want to ask how I could build up a background thread that checks for incoming messages (from a rest api). My current solution is a JobService but I expect it to have a high battery consumption. Also the JobService has another problem: After closing the app it takes about ... | android|multithreading|rest|notifications|jobservice | 0 | 2022-08-05T16:13:40.560Z | 2,022 | 8 | 16 | 4 | 9 | 0 | 441 | 49 | 5 | 0 | false | true | false | false | false | false | zero |
73,252,648 | How do I prepopulate 2 tables in my room database? (kotlin) | <p>I have 2 db files in asset. I have to prepopulate 2 tables</p>
<pre><code>@Database(entities = [Quotes::class, Anime::class], version = 1, exportSchema = true)
</code></pre>
<p>Here I have tried something but it isn't working</p>
<pre><code> @Provides
@Singleton
fun provideDatabase(
app... | I have 2 db files in asset. I have to prepopulate 2 tables [CODE] Here I have tried something but it isn't working [CODE] | android|android-studio|kotlin|android-room | 1 | 2022-08-05T16:14:52.653Z | 2,022 | 8 | 16 | 4 | 43 | 1 | 121 | 59 | 4 | 2 | true | false | false | false | false | false | low |
73,252,696 | An annotation argument must be a compile-time constant when trying to convert java enum | <p>I tried to convert a java file to kotlin file but i'm getting this error : An annotation argument must be a compile-time constant</p>
<pre><code>@StringDef(
BillingEnum.ALL,
BillingEnum.PAID,
BillingEnum.PENDING,
BillingEnum.OVERDUE,
BillingEnum.OPEN,
BillingEnum.DELETED
)
annotation class Bi... | I tried to convert a java file to kotlin file but i'm getting this error : An annotation argument must be a compile-time constant [CODE] Before it looked like this: [CODE] | java|android|kotlin | 0 | 2022-08-05T16:18:26.807Z | 2,022 | 8 | 16 | 4 | 55 | 1 | 171 | 87 | 3 | 2 | true | false | false | false | false | false | zero |
73,252,703 | How do i preview a fragment inside activity layout? | <p>I have some activity layout:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/fragment_container"
android:layout_width="match_parent"
android:layou... | I have some activity layout: [CODE] and i have some fragment layout: [CODE] When i run my app i see the following: But in fragment layout preview i see: How can i see a preview of the fragment so that is already placed into this activity layout? I tried to use <include layout=...> in activity layout and tools:showIn=&q... | android|android-studio | 0 | 2022-08-05T16:18:55.170Z | 2,022 | 8 | 16 | 4 | 26 | 0 | 511 | 51 | 2 | 2 | true | true | false | false | false | false | zero |
73,252,714 | React Native - when i try to use Material Top Tabs an error occurs | <p>When i want to import material top tab with this code</p>
<pre>
import { createMaterialTopTabNavigator } from '@react-navigation/material-top-tabs';
</pre>
<p>an error occurs</p>
<pre>
Invariant Violation: Tried to register two views with the same name RNCViewPager
ERROR Invariant Violation: Module AppRegistry is ... | When i want to import material top tab with this code [CODE] an error occurs [CODE] here's my dependecies in package.json [CODE] | react-native|react-native-navigation|react-navigation-v5|android-viewpager2|react-navigation-top-tabs | 0 | 2022-08-05T16:19:55.160Z | 2,022 | 8 | 16 | 4 | 75 | 0 | 128 | 66 | 5 | 3 | true | true | false | false | false | false | zero |
73,252,794 | Gradle doesn't resolve dependencies conflict between local aar and remote repos (Maven, Google, etc.) | <p>I want to ask a question regarding Gradle dependency resolution since I couldn't find it anywhere else except this <a href="https://discuss.gradle.org/t/resolve-gradle-transitive-dependency-conflict-with-file-system-libs-ie-not-maven-ivy/4513" rel="nofollow noreferrer">Gradle forums answer</a>. But since it was in 2... | I want to ask a question regarding Gradle dependency resolution since I couldn't find it anywhere else except this Gradle forums answer . But since it was in 2012, I want to confirm again if that is still a case. So the problem is that if I have a local aar (a fat-aar) which includes library A, and the app that uses th... | android|gradle | 0 | 2022-08-05T16:27:59.277Z | 2,022 | 8 | 16 | 4 | 19 | 1 | 731 | 101 | 2 | 0 | false | false | false | false | false | false | zero |
73,252,845 | RecyclerView with DiffCallback don't show up anything | <ul>
<li>I have a fragment that contains a recycler view, those code below are the implementation. I learn it exactly from the android basic in kotlin from google developer. Somehow the recycler view won't show up anything.<br></li>
<li>I have also check for the data list that pass to the recycler view and everything l... | I have a fragment that contains a recycler view, those code below are the implementation. I learn it exactly from the android basic in kotlin from google developer. Somehow the recycler view won't show up anything. I have also check for the data list that pass to the recycler view and everything look just fine. Here is... | android|android-recyclerview|listadapter | 0 | 2022-08-05T16:32:53.357Z | 2,022 | 8 | 16 | 4 | 54 | 0 | 992 | 53 | 3 | 6 | true | true | false | false | false | false | zero |
73,252,882 | Why am I getting an "Inheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option" error. How can I fix this? | <p><strong>What I am trying to do is inherit the ViewModel class in my ViewModelFactory class:</strong></p>
<pre><code>class FavDishViewModel (private val repository: FavDishRepository) : ViewModel(){
fun insert(dish : FavDish) = viewModelScope.launch {
repository.insertFavDishData(dish)
}
}
class FavDishVie... | What I am trying to do is inherit the ViewModel class in my ViewModelFactory class: [CODE] However, I am encountering this error when I run the program and I don't know how to fix it: [CODE] | android|kotlin|jvm|viewmodel | 1 | 2022-08-05T16:37:05.683Z | 2,022 | 8 | 16 | 4 | 99 | 1 | 190 | 147 | 4 | 2 | true | false | false | false | false | false | low |
73,252,956 | Gradle task assembleDebug failed with exit code 1 : Execution failed for task ':app:processDebugMainManifest' | <p>i get this errors after installing an app project from a youtube video :</p>
<pre><code>C:\Users\WELTINFO\Documents\flutter_cubit_app\flutter_cubit_app\android\app\src\main\AndroidManifest.xml Error:
android:exported needs to be explicitly specified for <activity>. Apps targeting Android 12 and higher are requ... | i get this errors after installing an app project from a youtube video : [CODE] FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:processDebugMainManifest'. Manifest merger failed : android:exported needs to be explicitly specified for . Apps targeting Android 12 and higher are r... | android|flutter | 0 | 2022-08-05T16:43:40.603Z | 2,022 | 8 | 16 | 4 | 26 | 0 | 810 | 109 | 2 | 1 | true | true | false | false | false | false | zero |
73,253,063 | Flutter DraggableScrollableSheet Lock One Part on top | <p>I Had Question For how create Scroll List Like this</p>
<p><a href="https://stackoverflow.com/questions/73240554/flutter-scroll-list-over-header/73240761?noredirect=1#comment129358415_73240761">Flutter Scroll List Over Header</a></p>
<p><img src="https://i.stack.imgur.com/Hx8B2.png" width="200"> <img src="https://i... | I Had Question For how create Scroll List Like this Flutter Scroll List Over Header According to the answers given, I used DraggableScrollableSheet for implementing this scroll view but now i have new problem The Result is here: now I need to when im scrolling the top Child Stay On Top, like a header how can do this? H... | android|flutter|mobile | 0 | 2022-08-05T16:54:23.183Z | 2,022 | 8 | 16 | 4 | 40 | 1 | 341 | 53 | 3 | 1 | true | false | false | false | false | false | zero |
73,253,162 | This release is not compliant with the Google Play 64-bit requirement - Xamarin Forms | <p>When I'm trying to upload an old xamarin android app to the playstore I'm getting this error</p>
<blockquote>
<p>This release is not compliant with the Google Play 64-bit requirement.
The following APKs or App Bundles are available to 64-bit devices, but
they only have 32-bit native code: [7, 18] Include 64-bit and ... | When I'm trying to upload an old xamarin android app to the playstore I'm getting this error This release is not compliant with the Google Play 64-bit requirement. The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: [7, 18] Include 64-bit and 32-bit native code in y... | xamarin.forms|xamarin.android | 1 | 2022-08-05T17:04:16.540Z | 2,022 | 8 | 17 | 4 | 42 | 0 | 2,183 | 85 | 2 | 1 | true | true | false | false | false | false | low |
73,253,178 | TWRP why whole storage is not backed up? | <p>I have 16GB phone and wanted to do a full backup but it's size is 11768MB which I think should be more, look at the calculation:</p>
<p>it's 16GB phone (in decimal) which in binary is 14.9GB. (16000/1074)
so main internal storage in digital computation is 14.9GB.</p>
<p>my system partition+data partition (shown in T... | I have 16GB phone and wanted to do a full backup but it's size is 11768MB which I think should be more, look at the calculation: it's 16GB phone (in decimal) which in binary is 14.9GB. (16000/1074) so main internal storage in digital computation is 14.9GB. my system partition+data partition (shown in TWRP backup) are 1... | android|storage|backup|partition | 0 | 2022-08-05T17:05:40.597Z | 2,022 | 8 | 17 | 4 | 37 | 0 | 1,174 | 40 | 4 | 0 | false | true | false | false | false | false | zero |
73,253,208 | Removing Navigation Graph before switching to another Navigation Graph | <p>I have</p>
<p>NAVGRAPH A -> NAVGRAPH SWITCH -> NAVGRAPH B</p>
<p>A and B are views for the same hardware but different models (resulting in diff needs)</p>
<p>SWITCH gives you the option to switch between models</p>
<p>When you switch you end up with:</p>
<p>NAVGRAPH A -> NAVGRAPH B</p>
<p><strong>ISSUE:</s... | I have NAVGRAPH A -> NAVGRAPH SWITCH -> NAVGRAPH B A and B are views for the same hardware but different models (resulting in diff needs) SWITCH gives you the option to switch between models When you switch you end up with: NAVGRAPH A -> NAVGRAPH B ISSUE: User ends up on the view for B, presses the back button, and end... | android|kotlin|back-stack|android-navigation-graph | 0 | 2022-08-05T17:08:16.267Z | 2,022 | 8 | 17 | 4 | 34 | 0 | 884 | 70 | 4 | 0 | false | true | false | false | false | false | zero |
73,253,263 | Android equivalent of windows %COMPUTERNAME% as php parameter | <p>I'm writhing an intranet system using html / php & javascript. I've been able to pass the windows computername as a PHP paramter using the testpage.php?Device_Name=%COMPUTERNAME% for the windows based system. Is there an equivalent parameter I can use for an Android version ? ie the android equivalent of %COMPUT... | I'm writhing an intranet system using html / php & javascript. I've been able to pass the windows computername as a PHP paramter using the testpage.php?Device_Name=%COMPUTERNAME% for the windows based system. Is there an equivalent parameter I can use for an Android version ? ie the android equivalent of %COMPUTERNAME%... | php|android|parameters | 0 | 2022-08-05T17:14:02.417Z | 2,022 | 8 | 17 | 4 | 21 | 0 | 322 | 61 | 3 | 0 | false | true | false | false | false | false | zero |
73,253,287 | How to make suspend function of a mock to throw a checked exception | <p>Is there any way to get an exception response when calling <code>suspended</code> function?</p>
<p>Here is my solution but this is not working as I expected.</p>
<pre><code>private fun mockServiceResponse() = service.stub {
onBlocking { loadMessages(Mockito.any() ?: createInstance()) }
.thenThrow(SocketE... | Is there any way to get an exception response when calling suspended function? Here is my solution but this is not working as I expected. [CODE] The test fails with the following error message. Checked exception is invalid for this method! Invalid: java.net.SocketException org.mockito.exceptions.base.MockitoException: ... | android|unit-testing|kotlin|mockito | 0 | 2022-08-05T17:16:28.627Z | 2,022 | 8 | 17 | 4 | 78 | 0 | 426 | 67 | 4 | 1 | true | true | false | false | false | false | zero |
73,253,321 | How to connect form data on app to other page? | <p>Okay so I’m trying to build a simple confirmation page and failing lol. Please help.</p>
<p>All the app is supposed to do is take a user to a form, and they fill it in. Go to a loading page (optional) , then a confirmation page.</p>
<p>Example:
Form requesting for name,address and color of item,and email address.</p... | Okay so I’m trying to build a simple confirmation page and failing lol. Please help. All the app is supposed to do is take a user to a form, and they fill it in. Go to a loading page (optional) , then a confirmation page. Example: Form requesting for name,address and color of item,and email address. Then confirmation p... | android|ios|api|android-studio | 0 | 2022-08-05T17:19:07.577Z | 2,022 | 8 | 17 | 4 | 19 | 1 | 571 | 46 | 4 | 0 | false | false | false | false | false | false | zero |
73,253,457 | Reading a NULL string not supported here in Logcat android during json parsing | <p>LogCat Errors in android studio which is not solved by many attempts gives an error
Reading a NULL string not supported here.
Please anyone tell me how to resolve this problem.</p>
<p>I am using currently Android Fast Networking Library.
While doing this the error comes in Logcat.</p>
<p>My Errors</p>
<pre><code>202... | LogCat Errors in android studio which is not solved by many attempts gives an error Reading a NULL string not supported here. Please anyone tell me how to resolve this problem. I am using currently Android Fast Networking Library. While doing this the error comes in Logcat. My Errors [CODE] My Code [CODE] Can anyone pl... | android-studio | 0 | 2022-08-05T17:33:22.293Z | 2,022 | 8 | 17 | 4 | 109 | 0 | 333 | 78 | 1 | 2 | true | true | false | false | false | false | zero |
73,253,464 | RecyclerView of Android Studio is not displaying any content | <p>I create a RecyclerView to display the ImageView and TextView. But whenever i launch the app, the data which are stored in List are not displaying on the activity. What is problem in my code. Please help.</p>
<p>Here is my Adapter Class:</p>
<pre><code>public class DataAdapter extends RecyclerView.Adapter<DataAda... | I create a RecyclerView to display the ImageView and TextView. But whenever i launch the app, the data which are stored in List are not displaying on the activity. What is problem in my code. Please help. Here is my Adapter Class: [CODE] } And MainActivity class: [CODE] } the item_design.xml which contains imageview an... | java|android|xml|android-recyclerview|android-constraintlayout | 0 | 2022-08-05T17:34:13.090Z | 2,022 | 8 | 17 | 4 | 45 | 1 | 387 | 60 | 5 | 4 | true | false | false | false | false | false | zero |
73,253,593 | How can we use Bluetooth communication (BLE protocol) on Android 10 (API 29) when the device hardware doesn't have hardware to provide the location | <p>I was developing a mobile App using Xamarin and a BLE package (<a href="https://www.nuget.org/packages/Plugin.BLE/" rel="nofollow noreferrer">https://www.nuget.org/packages/Plugin.BLE/</a>) to communicate with a Bluetooth device using the Bluetooth low energy protocol.
When using the API 29 (Android 9) we need to ha... | I was developing a mobile App using Xamarin and a BLE package ( https://www.nuget.org/packages/Plugin.BLE/ ) to communicate with a Bluetooth device using the Bluetooth low energy protocol. When using the API 29 (Android 9) we need to have the location active. The documentation considers that and so far everything is wo... | android|xamarin.forms|bluetooth|bluetooth-lowenergy|android-bluetooth | 1 | 2022-08-05T17:48:11.620Z | 2,022 | 8 | 17 | 4 | 74 | 0 | 763 | 147 | 5 | 0 | false | true | false | false | false | false | low |
73,253,697 | Android Studio : How to save Horizontal Progress Bar status and pass it from Fragment to Activity and Fragment again? | <p>MainActivity(without progressBar)</p>
<pre><code>@Override
public void onClick(View view) {
switch (view.getId()){
case R.id.submitBttn:
if (questionTwo.getText().toString().isEmpty() & questionFour.getText().toString().isEmpty() & questionFive.getText().toString().isE... | MainActivity(without progressBar) [CODE] Fragment(with progressBar) [CODE] So basically, my starting point is at the Fragment. What I want to do is that I want to save the progress of the Horizontal progress bar, and after I click the button on it will redirect me to the MainActivity where there will be a button where ... | java|android|android-studio | 0 | 2022-08-05T17:59:55.153Z | 2,022 | 8 | 17 | 4 | 24 | 0 | 374 | 117 | 3 | 2 | true | true | false | false | false | false | zero |
73,253,826 | the selected time in the spinner by connecting the adapter to the recycler view | <p>i am new to kotlin. i want to make an app where user can share by selecting timer on spinner and pressing button but i have problem showing countdown timer.can you help me to connect countdown timer to adapter</p>
<p>my adapter</p>
<pre><code> class kampanyaadapter(
val kampanyalistesi:ArrayList<ka... | i am new to kotlin. i want to make an app where user can share by selecting timer on spinner and pressing button but i have problem showing countdown timer.can you help me to connect countdown timer to adapter my adapter [CODE] } my activity the timer here should be shown in the recycling view when the button is presse... | android|firebase|android-recyclerview|countdowntimer | 0 | 2022-08-05T18:14:30.413Z | 2,022 | 8 | 18 | 4 | 53 | 0 | 372 | 79 | 4 | 3 | true | true | false | false | false | false | zero |
73,253,904 | Vibration in Android studio | <p>I made different patterns to vibrate the phone when I click a button,I want to vibrate the first pattern then second one ...to n patterns when I write the code it only vibrate the last pattern.. please help me solve this problem</p> | I made different patterns to vibrate the phone when I click a button,I want to vibrate the first pattern then second one ...to n patterns when I write the code it only vibrate the last pattern.. please help me solve this problem | android|button|design-patterns|vibration | 0 | 2022-08-05T18:21:27.320Z | 2,022 | 8 | 18 | 4 | 17 | 0 | 228 | 27 | 4 | 0 | false | true | false | false | false | false | zero |
73,254,007 | How to interact between adapt and fragment? | <p>I thank you in advance for your help. I am not a professional developer. I'm a teacher. I'm looking to create an app that can time student performance. I want to start a general stopwatch and stop the stopwatch individually. But, I encounter a problem either I don't have a crash but I can't interact on the individua... | I thank you in advance for your help. I am not a professional developer. I'm a teacher. I'm looking to create an app that can time student performance. I want to start a general stopwatch and stop the stopwatch individually. But, I encounter a problem either I don't have a crash but I can't interact on the individual s... | android-fragments|android-recyclerview|android-adapter|chronometer | 0 | 2022-08-05T18:33:47.327Z | 2,022 | 8 | 18 | 4 | 19 | 0 | 648 | 43 | 4 | 2 | true | true | false | false | false | false | zero |
73,254,018 | Vertical Bars show chemical level android like attached image | <p>I want to draw same vertical bars to show different levels of different chemicals shown as below image</p>
<p><a href="https://i.stack.imgur.com/0cOpJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0cOpJ.png" alt="Vertical chemical level bars" /></a></p>
<p>Can anyone help me to draw the same UI?... | I want to draw same vertical bars to show different levels of different chemicals shown as below image Can anyone help me to draw the same UI? Thanks in advance. | android|xml|kotlin|android-layout | -1 | 2022-08-05T18:34:46.600Z | 2,022 | 8 | 18 | 4 | 20 | 1 | 161 | 61 | 4 | 0 | false | false | false | false | false | true | negative |
73,254,243 | Capacitor can't find index.html (VueJS) | <p>I have an existing/working SPA project built with VueJS on the front and Laravel at the backend.<br />
I'm trying to add an android/ios app using Capacitor.<br />
When I build my project with <strong>npm run prod</strong> it doesn't generate the index.html that Capacitor requires.<br />
So I get this error:</p>
<pre... | I have an existing/working SPA project built with VueJS on the front and Laravel at the backend. I'm trying to add an android/ios app using Capacitor. When I build my project with npm run prod it doesn't generate the index.html that Capacitor requires. So I get this error: [CODE] my public folder structure: [CODE] Even... | android|laravel|vue.js|capacitor | 0 | 2022-08-05T18:59:11.770Z | 2,022 | 8 | 18 | 4 | 66 | 0 | 402 | 39 | 4 | 2 | true | true | false | false | false | false | zero |
73,254,333 | Unity android game lagging while playing on phone | <p>I was making a normal flappy bird game with simple graphic and when I play it on the unity editor it runs at 180FPS, but on my phone <em>Samsung Galaxy A71</em> it runs between 20/35 FPS, what should I do?
I already set the graphic to minimum, but it doesn't work
What should I do?</p>
<p>If you need it these are the... | I was making a normal flappy bird game with simple graphic and when I play it on the unity editor it runs at 180FPS, but on my phone Samsung Galaxy A71 it runs between 20/35 FPS, what should I do? I already set the graphic to minimum, but it doesn't work What should I do? If you need it these are the two codes that I m... | c#|android|unity3d | 0 | 2022-08-05T19:09:30.007Z | 2,022 | 8 | 19 | 4 | 121 | 1 | 463 | 49 | 3 | 1 | true | false | false | false | false | false | zero |
73,254,420 | Unexpected BottomNavigationView behavior: bottom tab bar creates new screen each time user click on menu item | <p>I want to create user flow like this:
<strong>Login screen</strong> (w/o navigation bar) <strong>-></strong> <strong>Home Screen</strong> (with navigation bar, includes backstacks for <strong>Album</strong> and <strong>Profile</strong>)</p>
<p>Application starts with an authentication screen. When the user clicks... | I want to create user flow like this: Login screen (w/o navigation bar) -> Home Screen (with navigation bar, includes backstacks for Album and Profile ) Application starts with an authentication screen. When the user clicks “Login” - I remove it from backstack using “to_albums_action” and navigate to the albums screen.... | android|kotlin|android-jetpack|android-architecture-navigation|android-navigation | 0 | 2022-08-05T19:18:53.447Z | 2,022 | 8 | 19 | 4 | 42 | 1 | 1,119 | 109 | 5 | 5 | true | false | false | false | false | false | zero |
73,254,452 | Flutter - Google Play Pre-launch Error - Any ideas what is this about? | <p>I am developing an application with Flutter and deploying it to the Google play store. When I upload the app bundle to the tests it failed and I have no idea what these are. It works on iPhone and my emulators without any problem.
I am using the Flutter Beta version because one of the issues I am facing is not fixed... | I am developing an application with Flutter and deploying it to the Google play store. When I upload the app bundle to the tests it failed and I have no idea what these are. It works on iPhone and my emulators without any problem. I am using the Flutter Beta version because one of the issues I am facing is not fixed in... | android|flutter|crash|google-play | 1 | 2022-08-05T19:23:19.083Z | 2,022 | 8 | 19 | 4 | 264 | 2 | 769 | 70 | 4 | 6 | true | false | false | false | false | false | low |
73,254,464 | In Compose, how to set minimum height (minHeight) without consuming all available height? | <p>In Jetpack Compose, I have a card composable that I want to be a minimum of 100.dp tall. However, if I use <code>heightIn</code>, the card consumes all available height up until the max. How do I set a minHeight without consuming all height?</p>
<pre><code>Surface(
modifier = heightIn(100.dp, 9999.dp),
) {
/... | In Jetpack Compose, I have a card composable that I want to be a minimum of 100.dp tall. However, if I use heightIn , the card consumes all available height up until the max. How do I set a minHeight without consuming all height? [CODE] To be clear, what I want is the following algorithm: [CODE] | android|kotlin|android-jetpack-compose | 3 | 2022-08-05T19:25:07.030Z | 2,022 | 8 | 19 | 4 | 227 | 2 | 296 | 89 | 3 | 2 | true | false | false | false | false | false | low |
73,254,468 | PC Lags after some Android Studio Flutter | <p>Here are my PC Specs</p>
<ul>
<li>Acer Aspire 5</li>
<li>Intel Core i3-8145U 2.1GHz with Turbo Boost up to 3.9GHz</li>
<li>RAM: 4GB DDR4</li>
<li>SSD: Kingston SUV500M8120G</li>
<li>OS: Windows 10</li>
</ul>
<p>So I watched flutter tutorials...
I tried to do it with Android Studio... I installed it in hdd...
So I di... | Here are my PC Specs Acer Aspire 5 Intel Core i3-8145U 2.1GHz with Turbo Boost up to 3.9GHz RAM: 4GB DDR4 SSD: Kingston SUV500M8120G OS: Windows 10 So I watched flutter tutorials... I tried to do it with Android Studio... I installed it in hdd... So I didn't care too much about the ram usage and the lag... Two or three... | windows|flutter|android-studio|crash|lag | -1 | 2022-08-05T19:25:30.527Z | 2,022 | 8 | 19 | 4 | 25 | 1 | 1,437 | 41 | 5 | 0 | false | false | false | false | false | true | negative |
73,254,556 | MotionLayout OnSwipe spring physics stop working after transitionToStart/End() | <p>I have the following MotionLayout:</p>
<p><img src="https://media.discordapp.net/attachments/759145717670608907/1005195146377310288/output.gif" alt="" /></p>
<p>The Transition XML is as follows (I omitted the keyframes because they don't matter for this example).</p>
<pre class="lang-xml prettyprint-override"><code>... | I have the following MotionLayout: The Transition XML is as follows (I omitted the keyframes because they don't matter for this example). [CODE] When I start my app for the first time, and I begin a swipe, you can see that the layout tracks my finger correctly. It moves at the same speed as my finger, until I release, ... | java|android|android-studio|kotlin|android-motionlayout | 0 | 2022-08-05T19:36:04.487Z | 2,022 | 8 | 19 | 4 | 47 | 2 | 1,505 | 78 | 5 | 1 | true | false | false | false | false | false | zero |
73,254,579 | TextField actions are not triggered on Android | <p>There is a problem in Android Web Chrome. When Text inputType text or name does not work onsubmit and it is not possible to send a request. But for some reason, if you set the TextInputType.emailAddress parameter, then the submit key on the keyboard becomes a "right arrow" and everything works as it should... | There is a problem in Android Web Chrome. When Text inputType text or name does not work onsubmit and it is not possible to send a request. But for some reason, if you set the TextInputType.emailAddress parameter, then the submit key on the keyboard becomes a "right arrow" and everything works as it should wo... | flutter|flutter-web|flutter-android | 0 | 2022-08-05T19:39:27.740Z | 2,022 | 8 | 19 | 4 | 28 | 1 | 374 | 46 | 3 | 1 | true | false | false | false | false | false | zero |
73,254,581 | How to create a global progress dialog that can handle multiple asynchronous tasks | <p>I have a base fragment where I added the method below that will show a progress dialog, on some occasions multiple async methods will start at the same time and all of them will be calling the showProgressDialog method, and so I'm facing the following problems:</p>
<ul>
<li><p>the methods that call for showProgressD... | I have a base fragment where I added the method below that will show a progress dialog, on some occasions multiple async methods will start at the same time and all of them will be calling the showProgressDialog method, and so I'm facing the following problems: the methods that call for showProgressDialog are not conne... | android|kotlin|progressdialog | 1 | 2022-08-05T19:39:53.900Z | 2,022 | 8 | 19 | 4 | 51 | 1 | 1,208 | 82 | 3 | 1 | true | false | false | false | false | false | low |
73,254,704 | How to use Parcelable when the property is non-primitive type? | <p>I want to pass data between <code>fragments</code>.</p>
<p>I am trying to send a <code>Routine</code> object using <code>Parcelable</code>, but the Routine also has properties called <code>Workout</code> and <code>WorkoutSetInfo</code>.</p>
<p>How should I use Parcelable in this case?</p>
<p>There is a <code>Parcele... | I want to pass data between fragments . I am trying to send a Routine object using Parcelable , but the Routine also has properties called Workout and WorkoutSetInfo . How should I use Parcelable in this case? There is a Parceler for unsupported types in the official docs, but I don't know what the difference is with P... | android|android-fragments|parcelable | 0 | 2022-08-05T19:54:38.737Z | 2,022 | 8 | 19 | 4 | 33 | 1 | 382 | 62 | 3 | 3 | true | false | false | false | false | false | zero |
73,254,726 | how to get content from Share dialog in NET MAUI desktop application? | <p>i know how to configure the plataform windows package manifest for subscribe app as Share target but i dont know how get share content into net MAUI</p>
<p><a href="https://imgur.com/a/89oyRg7" rel="nofollow noreferrer">https://imgur.com/a/89oyRg7</a></p>
<p>i register this behaviour in <code>Package.appxmanifest</c... | i know how to configure the plataform windows package manifest for subscribe app as Share target but i dont know how get share content into net MAUI https://imgur.com/a/89oyRg7 i register this behaviour in Package.appxmanifest under Windows folder inside Plataforms https://imgur.com/a/xUz3Jor on android intent event ca... | android|.net-maui | 0 | 2022-08-05T19:57:15.477Z | 2,022 | 8 | 19 | 4 | 43 | 0 | 549 | 69 | 2 | 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.