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,011,975
Running itch.io game in my android app webview
<p>I have a game made with unity on itch.io I want to open and play this game in my custom android app webview. For this I'm using.</p> <pre><code>myWebView.loadUrl(&quot;https://teamwood.itch.io/super-auto-pets&quot;) myWebView.settings.javaScriptEnabled = true </code></pre> <p>Url is being load but on tapping Run Gam...
I have a game made with unity on itch.io I want to open and play this game in my custom android app webview. For this I'm using. [CODE] Url is being load but on tapping Run Game nothing happen. Can I even perform this in webview
android|kotlin|webgl
0
2022-07-17T12:55:13.810Z
2,022
7
12
6
56
1
228
46
3
1
true
false
false
false
false
false
zero
73,011,982
how to pass access token and refresh token to header in retrofit kotlin in koin
<p>I am developing new android app where I am making post login request but I have confused I am using koin dependcy injection how can I pass refresh token and access token after successfully response. in order to making a call</p> <pre><code>interface MeloApi { @Headers(&quot;Content-Type: application/json&quot;)...
I am developing new android app where I am making post login request but I have confused I am using koin dependcy injection how can I pass refresh token and access token after successfully response. in order to making a call [CODE] below my login model data class LoginModel(val username:String, val password:String) // ...
android|kotlin|authentication|retrofit|koin
0
2022-07-17T12:56:23.987Z
2,022
7
12
6
307
1
737
79
5
4
true
false
false
false
false
false
zero
73,012,212
creating a custom serializer for large data classes
<p>I have a data class for a currency conversion rate response.</p> <p>I keep getting this error: Rejecting invocation, expected 76 argument registers, method signature has 78 or more ...</p> <p>as you can see below. (the <code>Conversion Rates</code> class has more than 160 currency)</p> <p>I&quot;m using Ktor client...
I have a data class for a currency conversion rate response. I keep getting this error: Rejecting invocation, expected 76 argument registers, method signature has 78 or more ... as you can see below. (the Conversion Rates class has more than 160 currency) I&quot;m using Ktor client, and my data classes looks like this:...
android|json|kotlin|serialization|ktor-client
1
2022-07-17T13:33:03.947Z
2,022
7
13
6
60
1
2,425
51
5
6
true
false
false
false
false
false
low
73,012,276
How to convert depth16 image into 3D models in Android Studio
<p>Most of my work now is based on this project: <a href="https://github.com/plluke/tof" rel="nofollow noreferrer">https://github.com/plluke/tof</a></p> <p>I can already get depth image on my Android phone (see below) but my ultimate goal is to <strong>generate a 3D model.</strong></p> <p>Is there any way to implement ...
Most of my work now is based on this project: https://github.com/plluke/tof I can already get depth image on my Android phone (see below) but my ultimate goal is to generate a 3D model. Is there any way to implement this transformation in Android Studio?As far as I know, here is a format called DEPTH_POINT_CLOUD in Ima...
android|image-processing|android-camera2|point-clouds|depth
0
2022-07-17T13:42:13.470Z
2,022
7
13
6
35
0
436
61
5
0
false
true
false
false
false
false
zero
73,012,404
Kotlin + Hilt: ClassNotFoundException: Didn't find class "app.Hilt_AppSettings" on path: DexPathList
<p>First of all, and just in case, I've read plenty of posts (like <a href="https://stackoverflow.com/questions/71003290/app-immediatley-crashes-once-app-runs-with-error-classnotfoundexception-didnt">this</a>) with no luck so don't mark this as duplicate please.</p> <p>I'm new to Hilt, and trying to implement it in my ...
First of all, and just in case, I've read plenty of posts (like this ) with no luck so don't mark this as duplicate please. I'm new to Hilt, and trying to implement it in my multi-module app, but for the moment cannot even get my app to start. I have a class called AppSettings in a module called &quot;Common&quot; -whi...
android|kotlin|dependency-injection|dagger|dagger-hilt
0
2022-07-17T13:58:01.563Z
2,022
7
13
6
176
0
1,220
100
5
6
true
true
false
false
false
false
zero
73,012,467
Delete Extra Item Decoration within last row empty columns In a Recycler View
<p>Im trying to delete the empty column Item decoration as per the below Image. I Initially thought to restrict the spancount for the last row as per the content using below code in comments but however Im not successful.</p> <p>below is the code and Image as a result.</p> <p><a href="https://i.stack.imgur.com/iQQA3.pn...
Im trying to delete the empty column Item decoration as per the below Image. I Initially thought to restrict the spancount for the last row as per the content using below code in comments but however Im not successful. below is the code and Image as a result. [CODE] when I uncommented the code and run the app below is ...
android|android-recyclerview|gridlayoutmanager|item-decoration
0
2022-07-17T14:06:40Z
-1
-1
-1
-1
43
1
395
77
4
1
true
false
false
false
false
false
zero
73,012,502
How can I change textview text with list index?
<p>I have two activities. Im going to toss a ArrayList that has random integer numbers which is made in activity1 to another activity, named ResultActivity, by intent. Then I want to change the text of textviews of ResultActivity using the index of the list which is tossed. below is a code of ResultActivity I tried.</p...
I have two activities. Im going to toss a ArrayList that has random integer numbers which is made in activity1 to another activity, named ResultActivity, by intent. Then I want to change the text of textviews of ResultActivity using the index of the list which is tossed. below is a code of ResultActivity I tried. [CODE...
android|android-studio|kotlin
0
2022-07-17T14:10:33.603Z
2,022
7
14
6
32
1
540
47
3
2
true
false
false
false
false
false
zero
73,012,513
Write file to directory with allowed access on Android
<p>I want to export a save file so the user can later import it into the app again later, but how do I allow exporting to a directory outside the app dir (/Android/com.app/files)</p> <pre class="lang-dart prettyprint-override"><code>if (!(await Permission.storage.request().isGranted)) return; final String? exportPath ...
I want to export a save file so the user can later import it into the app again later, but how do I allow exporting to a directory outside the app dir (/Android/com.app/files) [CODE] This code is backed by these gradle properties: [CODE] With compileSdkVersion 33 selected, and these permissions: [CODE] All of these abo...
android|flutter|android-permissions|file-writing|android-external-storage
0
2022-07-17T14:11:42.130Z
2,022
7
14
6
57
1
1,172
54
5
3
true
false
false
false
false
false
zero
73,012,681
Android Studio Could not start AVD
<p>My configuration:</p> <ul> <li>Windows 10</li> <li>WSSL (Ubuntu)</li> <li>8GB physical memory</li> <li>Linux 64-bit, android-studio-2021.2.15-linux.tar.gz</li> <li>XLaunch</li> </ul> <p>I could start the Android Studio (Linux 64-bit) and could create Virtual Device but got : Could start AVD.</p> <p>At the same time,...
My configuration: Windows 10 WSSL (Ubuntu) 8GB physical memory Linux 64-bit, android-studio-2021.2.15-linux.tar.gz XLaunch I could start the Android Studio (Linux 64-bit) and could create Virtual Device but got : Could start AVD. At the same time, I also installed Android Studio (Windows version) on my PC, it could sta...
linux|android-studio|ubuntu|windows-subsystem-for-linux
0
2022-07-17T14:34:39.430Z
2,022
7
14
6
103
0
1,191
34
4
0
false
true
false
false
false
false
zero
73,012,782
How to create Crown OnClick event on WearOS?
<p>i've just created a WearOS Launcher and i would like to achieve Watchface/AppList switch using the crown/home button OnClick event. How could i do this? The app has already overwritten the system launcher so it behaves as a launcher mostly.</p>
i've just created a WearOS Launcher and i would like to achieve Watchface/AppList switch using the crown/home button OnClick event. How could i do this? The app has already overwritten the system launcher so it behaves as a launcher mostly.
java|android|wear-os
1
2022-07-17T14:49:40.880Z
2,022
7
14
6
16
0
240
44
3
0
false
true
false
false
false
false
low
73,012,852
error Class "DBmanager" is never used،Should I uninstall and install Android Studio?
<p>My friends, I made a class called dbmanger and this is my database class and inside the class there is a databasehelper. But for me it shows these two errors</p> <pre><code>Class &quot;DtaBaseHelper&quot; is never used Class &quot;DBmanager&quot; is never usedcode Property &quot;context&quot; is never used </code>...
My friends, I made a class called dbmanger and this is my database class and inside the class there is a databasehelper. But for me it shows these two errors [CODE] code database: [CODE] I haven't written any code in the main activity yet Guys, what do you think, should I delete Android Studio and install another versi...
android|android-studio|kotlin|gradle|sdk
0
2022-07-17T15:00:56.820Z
2,022
7
15
6
23
0
460
84
5
2
true
true
false
false
false
false
zero
73,012,893
Android: Graph from Anychart with Scrollview not displayed
<p>I am trying to use <a href="https://github.com/AnyChart/AnyChart-Android/" rel="nofollow noreferrer">Anychart for Android</a> in a scrollview. But as soon as I do this, the graph is no longer displayed. But as soon as I remove the scrollview the whole thing works again. Is there any idea or trick to use it in a scro...
I am trying to use Anychart for Android in a scrollview. But as soon as I do this, the graph is no longer displayed. But as soon as I remove the scrollview the whole thing works again. Is there any idea or trick to use it in a scrollview? Below is my small test application to test and analyze the problem. [CODE] [CODE]
android|android-studio|kotlin|android-layout|anychart
0
2022-07-17T15:07:39.833Z
2,022
7
15
6
21
0
320
58
5
2
true
true
false
false
false
false
zero
73,013,073
What can I use in java instead of run function in Kotlin?
<p>I try to convert code Kotlin to java and I could not find run function in java. This is Kotlin code :</p> <pre><code>private val resumeArElementsTask = Runnable { locationScene?.resume() arSceneView!!.resume() } </code></pre> <p>And I use resumeArElementsTask like</p> <pre><code>resumeArElementsTask.run { ...
I try to convert code Kotlin to java and I could not find run function in java. This is Kotlin code : [CODE] And I use resumeArElementsTask like [CODE] When I convert to java [CODE] How can I use run function in java and convert this code to java [CODE] Thanks
java|android|kotlin|augmented-reality|arcore
-3
2022-07-17T15:32:29.930Z
2,022
7
15
6
63
1
260
57
5
4
true
false
false
false
false
true
negative
73,013,114
Strange behaviour on text color in jetpack compose
<p>Hey I am new in jetpack compose. I tried to set window background color black and white according to theme. When I created custom theme and set background color my text color will be black.</p> <p><strong>theme.kt</strong></p> <pre><code>package com.vivek.sportsresult.ui.theme import android.os.Build import android...
Hey I am new in jetpack compose. I tried to set window background color black and white according to theme. When I created custom theme and set background color my text color will be black. theme.kt [CODE] MainActivity.kt [CODE] When I tried to use color = getBackgroundColor() it not changing text color but if use colo...
android|kotlin|android-jetpack-compose|android-jetpack|android-jetpack-compose-text
1
2022-07-17T15:37:23.227Z
2,022
7
15
6
194
1
488
50
5
2
true
false
false
false
false
false
low
73,013,128
Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $ Kotlin Retrofit Coroutines
<p>For days I have had this problem that I cannot solve since it always gives me an error when loading the data from the api, Help my problem its:</p> <p>FATAL EXCEPTION: DefaultDispatcher-worker-1 java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $</p> <p><strong>VIEW M...
For days I have had this problem that I cannot solve since it always gives me an error when loading the data from the api, Help my problem its: FATAL EXCEPTION: DefaultDispatcher-worker-1 java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $ VIEW MODEL [CODE] USE CASE [COD...
android|kotlin|mvvm|retrofit|kotlin-coroutines
1
2022-07-17T15:39:32.563Z
2,022
7
15
6
86
1
382
94
5
6
true
false
false
false
false
false
low
73,013,221
Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] UE5
<p>I made a game using Unreal Engine...It packages smoothly with no errors nor problems but when i try to install the apk on Android emulator or my phone it says &quot;<strong>Failed to install</strong> &quot;... in the emulator it says &quot; <strong>[INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries...
I made a game using Unreal Engine...It packages smoothly with no errors nor problems but when i try to install the apk on Android emulator or my phone it says &quot; Failed to install &quot;... in the emulator it says &quot; [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113] &quot;.. I sear...
android|game-development|packaging|failed-installation|unreal-engine5
0
2022-07-17T15:51:19.767Z
2,022
7
15
6
232
0
1,169
91
5
0
false
true
false
false
false
false
zero
73,013,314
expo createfileasync sometimes throws undefined error
<p>I have the following piece of code to download and save a file on local phone device. I have a https url for a pdf file from AWS and I am trying to download it onto android.</p> <pre><code>await FileSystem.downloadAsync(uri, fileLocation) .then(async(u) =&gt; { if(ext === 'pdf') { var status = await St...
I have the following piece of code to download and save a file on local phone device. I have a https url for a pdf file from AWS and I am trying to download it onto android. [CODE] This code downloads the file onto 2 out of 3 actual devices. On 1 out of the 3 devices I see it always goes in the catch block and throws a...
android|pdf|expo|filesystems
0
2022-07-17T16:02:55.800Z
2,022
7
16
6
27
0
751
53
4
1
true
true
false
false
false
false
zero
73,013,375
I used react-native-vision-camera in my project and got this error:
<ul> <li><p>Where: Build file 'D:\Confeez-Workspace\Demo\node_modules\react-native-vision-camera\android\build.gradle' line: 231</p> </li> <li><p>What went wrong: A problem occurred evaluating project ':react-native-vision-camera'.</p> </li> </ul> <blockquote> <p>Expected directory 'D:\Confeez-Workspace\Demo\node_modul...
Where: Build file 'D:\Confeez-Workspace\Demo\node_modules\react-native-vision-camera\android\build.gradle' line: 231 What went wrong: A problem occurred evaluating project ':react-native-vision-camera'. Expected directory 'D:\Confeez-Workspace\Demo\node_modules/react-native/android' to contain exactly one file, however...
android|react-native|react-native-vision-camera
2
2022-07-17T16:10:31.083Z
2,022
7
16
6
534
0
353
67
3
0
false
true
false
false
false
false
low
73,013,410
App crashes on theme changed when bottom sheet is opened
<p>I have a bottom sheet which I inflate to display a restaurant product detailed information.</p> <pre><code> class ProductItemInfo(private val product: Product) : BottomSheetDialogFragment() { private var _binding: DialogProductInfoBinding? = null private val binding get() = _binding!! override fun onCr...
I have a bottom sheet which I inflate to display a restaurant product detailed information. [CODE] I inflate this bottom sheet dialog from a fragment. [CODE] The problem is when I open the bottom sheet and then drag my notification shade to toggle the dark theme, my application crashes. I have no idea why is it happeni...
android|bottom-sheet|android-bottomsheetdialog|bottomsheetdialogfragment
0
2022-07-17T16:14:41.363Z
2,022
7
16
6
65
0
352
56
4
3
true
true
false
false
false
false
zero
73,013,481
Activity restart when configuration changes but I used viewmodel
<p>Viewmodel class using hilt viewmodel and avoids configuration changes side effects</p> <pre><code> @HiltViewModel class ListScreenModel @Inject constructor():ViewModel() { val myFlow=flow{ (0..100).forEach{ emit(it) kotlinx.coroutines.delay(1000) } } } </code></pre> <p>Composable...
Viewmodel class using hilt viewmodel and avoids configuration changes side effects [CODE] Composable function where I use my viewmodel and try to print emitted values. [CODE] MainActivity where I started my application [CODE]
kotlin|android-jetpack-compose|android-viewmodel|dagger-hilt
0
2022-07-17T16:24:19.130Z
2,022
7
16
6
80
0
225
64
4
3
true
true
false
false
false
false
zero
73,013,522
Why is this method that determines size of text before rendering giving different results for the "same params"?
<p>I have this method here as an extension on the String class which calculates size of text before rendering:</p> <pre><code>Size textSize({ required TextDirection textDirection, required double textScaleFactor, required double minWidth, required double maxWidth, TextStyle? textStyle, int? maxL...
I have this method here as an extension on the String class which calculates size of text before rendering: [CODE] This method works and gives the expected results when running in the app. But when I call it in my test, with the same parameters I used in the app, it is giving different results. I tried diving into the ...
android|flutter|dart
0
2022-07-17T16:29:11.380Z
2,022
7
16
6
31
0
869
112
3
2
true
true
false
false
false
false
zero
73,013,529
How do I observe a result from FutureTask in ViewModel?
<p>Please help~ I want to observe a result from FutureTask in ViewModel. When I ran it, I found that it sleeps for 5 seconds but I still can't get the answer. I confirmed in debug mode that it is executing longJob(), and the answer is 3. But I still can't get the answer 3. The answer alwalys is [No answer].</p> <p>My c...
Please help~ I want to observe a result from FutureTask in ViewModel. When I ran it, I found that it sleeps for 5 seconds but I still can't get the answer. I confirmed in debug mode that it is executing longJob(), and the answer is 3. But I still can't get the answer 3. The answer alwalys is [No answer]. My code is as ...
java|android
0
2022-07-17T16:29:54.550Z
2,022
7
16
6
53
1
457
55
2
5
true
false
false
false
false
false
zero
73,013,558
Is there any way to customize an activity toolbar in it's fragments?
<p>I have a main activity and several fragments. Fragments are called through a bottom navigation . My goal is to define a main toolbar in the main activity that has a different views in each of the fragments; This means that its title and even the icons and menus inside it should be unique in each fragment. After a lo...
I have a main activity and several fragments. Fragments are called through a bottom navigation . My goal is to define a main toolbar in the main activity that has a different views in each of the fragments; This means that its title and even the icons and menus inside it should be unique in each fragment. After a lot o...
android|android-studio|android-fragments|android-actionbar|toolbar
0
2022-07-17T16:34:38.220Z
2,022
7
16
6
21
0
538
68
5
0
false
true
false
false
false
false
zero
73,013,635
React-native Expo App crashes with no errors
<p>After building the apk and installing it on the emulator for testing, the app crashes with no errors. Tried some solutions but none of them seemed to work. The project runs smoothly on expo start, but once installed on a real device, it crashes. Checked the same issues on Stackoverflow and Github, but none of them s...
After building the apk and installing it on the emulator for testing, the app crashes with no errors. Tried some solutions but none of them seemed to work. The project runs smoothly on expo start, but once installed on a real device, it crashes. Checked the same issues on Stackoverflow and Github, but none of them seem...
android|react-native|expo
0
2022-07-17T16:44:37.520Z
2,022
7
16
6
366
1
395
44
3
3
true
false
false
false
false
false
zero
73,013,672
AsyncTask.THREAD_POOL_EXECUTOR deprecated API 30
<p>I'm trying to implement the solution of this answer <a href="https://stackoverflow.com/questions/27138367/idlingresource-espresso-with-rxjava">IdlingResource Espresso with RxJava</a> but <code>AsyncTask.THREAD_POOL_EXECUTOR</code> is deprecated. What I should use instead?</p>
I'm trying to implement the solution of this answer IdlingResource Espresso with RxJava but AsyncTask.THREAD_POOL_EXECUTOR is deprecated. What I should use instead?
android|android-asynctask|android-espresso|threadpoolexecutor|rx-java3
0
2022-07-17T16:49:16.940Z
2,022
7
16
6
45
0
164
48
5
0
false
true
false
false
false
false
zero
73,013,682
How to add suffix text into EditText after write on Keyboard on Android
<p>In my application I want use <code>EditText</code> and I want after user write on keyboard add <strong>suffix</strong> text into <code>EditText</code>.<br> I write below codes, but when user write on keyboard application has freeze! <br></p> <pre><code>loginPage4SelectTxt.addTextChangedListener(object : TextWatcher ...
In my application I want use EditText and I want after user write on keyboard add suffix text into EditText . I write below codes, but when user write on keyboard application has freeze! [CODE] How can I fix it?
android|kotlin
0
2022-07-17T16:50:42.387Z
2,022
7
16
6
42
1
211
71
2
1
true
false
false
false
false
false
zero
73,013,793
Python KivyMD Changing Interface after building app in smartphone
<p>I want to compile my KivyMD application using buildozer. Before doing this, I run the application on the computer and see one interface. But after I collect it through buildozer, I see a completely different interface on my phone, and I don’t know what this is connected with. Please help, work is on fire...</p>
I want to compile my KivyMD application using buildozer. Before doing this, I run the application on the computer and see one interface. But after I collect it through buildozer, I see a completely different interface on my phone, and I don’t know what this is connected with. Please help, work is on fire...
python|android|kivy|kivymd|buildozer
0
2022-07-17T17:08:05.797Z
2,022
7
17
6
30
0
308
65
5
0
false
true
false
false
false
false
zero
73,013,818
Flutter: How to keep the same Screen before closed it?
<p>I want to keep the view or session of some screens. For example, if I close the app, I can then go back to the last open screen.</p> <p>I think this is possible using SharedPreferences, but I just know that SharedPreferences is for user data only. I would like to know some alternatives, thanks!</p> <pre><code>import...
I want to keep the view or session of some screens. For example, if I close the app, I can then go back to the last open screen. I think this is possible using SharedPreferences, but I just know that SharedPreferences is for user data only. I would like to know some alternatives, thanks! [CODE]
android|flutter|android-studio|dart|sharedpreferences
1
2022-07-17T17:11:40.373Z
2,022
7
17
6
45
1
295
54
5
1
true
false
false
false
false
false
low
73,013,912
How can I display values of a list (or map) inside a list
<p>My App is fetching the latest tweets from a few users via the Twitter API V2. All the tweets are getting fetched and added into the &quot;TweetList&quot; List variable. Output looks like that:</p> <blockquote> <p><code>Tweet List: [[{id: 1542566710594658312, text: if you've ever stolen a Tweet say sorry}, {id: 15425...
My App is fetching the latest tweets from a few users via the Twitter API V2. All the tweets are getting fetched and added into the &quot;TweetList&quot; List variable. Output looks like that: Tweet List: [[{id: 1542566710594658312, text: if you've ever stolen a Tweet say sorry}, {id: 1542544188310437888, text: RT @cam...
flutter|dart|flutter-listview|flutter-android
0
2022-07-17T17:26:41.003Z
2,022
7
17
6
84
1
1,098
57
4
1
true
false
false
false
false
false
zero
73,013,988
viewModel/model not saving boolean value - android
<p>I am trying to make a call to an endpoint to onboard a user to an app. For some reason the boolean values are not being stored in my user object. The other items are fine. I'm missing something but I simply cannot see where. I'd really appreciate another set of eyes to help point out where I'm off.</p> <p>Thanks!!</...
I am trying to make a call to an endpoint to onboard a user to an app. For some reason the boolean values are not being stored in my user object. The other items are fine. I'm missing something but I simply cannot see where. I'd really appreciate another set of eyes to help point out where I'm off. Thanks!! Here is my ...
android|kotlin|viewmodel|android-viewmodel
0
2022-07-17T17:38:22.880Z
2,022
7
17
6
84
0
538
50
4
5
true
true
false
false
false
false
zero
73,014,135
How do I convert text in an EditText component to an integer?
<p>I am currently making a simple random number generator in Android Studio as it is my first time coding in kotlin, you put in 2 numbers, and it will pick a random number between said numbers.</p> <pre><code>class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { sup...
I am currently making a simple random number generator in Android Studio as it is my first time coding in kotlin, you put in 2 numbers, and it will pick a random number between said numbers. [CODE] So currently I have the rollButton which is set to generate a random number when pressed. I also have the resultsTextView ...
android-studio|kotlin
0
2022-07-17T17:57:18.020Z
2,022
7
17
6
33
1
557
61
2
1
true
false
false
false
false
false
zero
73,014,139
How to move a layout in android studio with views inside? I keep selecting the views inside
<p>I have two linear layouts in a single linear layout and I am having a problem that whenever I try to move the layout, I choose the views inside. this is a really silly but annoying thing. Does anyone know how to do it?</p>
I have two linear layouts in a single linear layout and I am having a problem that whenever I try to move the layout, I choose the views inside. this is a really silly but annoying thing. Does anyone know how to do it?
android|xml|android-studio|android-layout
0
2022-07-17T17:57:37.073Z
2,022
7
17
6
19
1
218
91
4
0
false
false
false
false
false
false
zero
73,014,147
Android run-as writing permission on sdcard
<p>I have a not-rooted adroid device. I want to use adb and the command</p> <pre><code>run-as com.mypackage.app </code></pre> <p>to copy some files from my app to the sdcard.</p> <p>But when I do</p> <pre><code>cp /data/data/com.mypackage.app /sdcard/ </code></pre> <p>I get: Permission denied</p> <p>I added in the man...
I have a not-rooted adroid device. I want to use adb and the command [CODE] to copy some files from my app to the sdcard. But when I do [CODE] I get: Permission denied I added in the manifest of my app the following lines: [CODE] And I allowed the permission to access the storage from settings-apps, but it still doesn'...
android|adb
0
2022-07-17T17:58:16.303Z
2,022
7
17
6
28
0
366
43
2
3
true
true
false
false
false
false
zero
73,014,157
LazyVeritcalGrid with multiple items in compose
<p>I've <code>LazyVerticalGrid</code> with 2 items as bloew</p> <pre><code>LazyVerticalGrid( columns = GridCells.Adaptive(150.dp), verticalArrangement = Arrangement.spacedBy(8.dp), horizontalArrangement = Arrangement.spacedBy(8.dp) ) { item { header() } items { content() } } </code></pre> <p><code>C...
I've LazyVerticalGrid with 2 items as bloew [CODE] Content is paging data and I'm showing empty view when no data is available. However, the issue is, if i use following code, fillMaxSize() will take max size of entire grid and centering the empty view will overlap the header. [CODE] How do make sure that fillMaxSize()...
android|kotlin|android-jetpack-compose
0
2022-07-17T18:00:06.543Z
2,022
7
18
6
42
1
422
47
3
2
true
false
false
false
false
false
zero
73,014,237
How can I do an Android retrofit 2 recyclerview interface?
<p>Here is my code.</p> <p>My adapter:</p> <pre class="lang-java prettyprint-override"><code>public class MyAdapter extends RecyclerView.Adapter&lt;MyAdapter.myviewholder&gt; { List&lt;ResponseModel&gt; data; private final IOtobusSaatleriInterface iOtobusSaatleriInterface; public MyAdapter(List&lt;Respons...
Here is my code. My adapter: [CODE] And my interface: [CODE] This is where I am failing. Here is my failing home fragment page. Where is the problem?
java|android
0
2022-07-17T18:12:25.257Z
2,022
7
18
6
41
1
149
58
2
2
true
false
false
false
false
false
zero
73,014,291
How to disable the autofocus in VideoView in RecyclerAdapter Android Java
<p>When an activity start, the focus goes automatically to the layout with the video view. I used the videoview in reycleryview adapter. when an activity start, the focus goes automatically to the recyclerview, because of it has the videoview as a child. I did try the following code. android:focusable=&quot;false&quot;...
When an activity start, the focus goes automatically to the layout with the video view. I used the videoview in reycleryview adapter. when an activity start, the focus goes automatically to the recyclerview, because of it has the videoview as a child. I did try the following code. android:focusable=&quot;false&quot; an...
java|android|focus|android-videoview
0
2022-07-17T18:21:01.043Z
2,022
7
18
6
24
0
438
73
4
1
true
true
false
false
false
false
zero
73,014,381
Activity and it's start fragment are being created twice, triggering extra database queries. (Jetpack/Kotlin/Android)
<p>I'm using databinding, the Jetpack Navigation Component (in which one activity hosts several fragments) and a shared ViewModel with <code>activityViewModels()</code> in the fragments. The Room database is initialized (and some resource expensive queries) when a ViewModel function is called from the StartFragment (ho...
I'm using databinding, the Jetpack Navigation Component (in which one activity hosts several fragments) and a shared ViewModel with activityViewModels() in the fragments. The Room database is initialized (and some resource expensive queries) when a ViewModel function is called from the StartFragment (hosted by the Main...
android|data-binding|android-lifecycle|android-viewmodel|android-jetpack-navigation
0
2022-07-17T18:34:07.320Z
2,022
7
18
6
38
0
945
117
5
2
true
true
false
false
false
false
zero
73,014,413
Android Volley POST request not being sent by application
<p>I am having issues with my Android app which I am trying to connect to my .NET Web API running on localhost. I am using Volley to send a JSON POST request to the .NET service (TODO CRUD) based on <a href="https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api" rel="nofollow noreferrer">https://docs.mic...
I am having issues with my Android app which I am trying to connect to my .NET Web API running on localhost. I am using Volley to send a JSON POST request to the .NET service (TODO CRUD) based on https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-api When I run my application and click the add button to s...
android|android-studio|http-post|android-volley|logcat
0
2022-07-17T18:38:48.173Z
2,022
7
18
6
30
0
985
57
5
3
true
true
false
false
false
false
zero
73,014,516
Android speech Recognition not working with Room database query
<p>Room Entity's data is stored but it's object is always null.</p> <p>@Override public void onResults(Bundle bundle) {</p> <pre><code> ArrayList&lt;String&gt; list = bundle.getStringArrayList(SpeechRecognizer.RESULTS_RECOGNITION); String string = list.get(0); new Thread(new Runnable() { @Override ...
Room Entity's data is stored but it's object is always null. @Override public void onResults(Bundle bundle) { [CODE]
java|android|android-room|voice-recognition|recognizer-intent
0
2022-07-17T18:53:36.460Z
2,022
7
18
6
58
1
116
63
5
1
true
false
false
false
false
false
zero
73,014,590
How to push a file to GitHub using an Android app (JAVA)
<p>So i have a excel file on my GitHub that needs to be updated so i plan to update it using a application</p> <p>How do I push the updated excel file to GitHub directly from the app using a button (Java language)</p> <p>Could someone point me in the right direction</p> <p>Mostly when i search this question the results...
So i have a excel file on my GitHub that needs to be updated so i plan to update it using a application How do I push the updated excel file to GitHub directly from the app using a button (Java language) Could someone point me in the right direction Mostly when i search this question the results are about how to push t...
java|android|github
0
2022-07-17T19:04:59.427Z
2,022
7
19
6
23
1
337
56
3
0
false
false
false
false
false
false
zero
73,014,677
How to change TextView in Activity by delete button in RecyclerView?
<p>When I add an item by button Scan Now, the <code>public double sumCost</code> value incrementes by the <code>cost</code> value in the <code>AddItem</code> method and then TextView(<code>android:id=&quot;@+id/SumText&quot;</code>) assigns this value. And How to decrease <code>sumCost</code> by the number that is in <...
When I add an item by button Scan Now, the public double sumCost value incrementes by the cost value in the AddItem method and then TextView( android:id=&quot;@+id/SumText&quot; ) assigns this value. And How to decrease sumCost by the number that is in cost and set new text in TextView when pressing the Delete button? ...
java|android|android-recyclerview
1
2022-07-17T19:17:59.783Z
2,022
7
19
6
35
1
508
68
3
5
true
false
false
false
false
false
low
73,014,698
how to setup AWS S3 to stream HLS video to my android app securely?
<p>I am a beginner at amazon web services(AWS). actually, I have an app that streams HLS videos through Exoplayer (Url of videos are retrieved by firebase database). Now the only thing is left to serve videos from the best cloud storage so I chose AWS. But I have no idea how I can stream the videos securely and cost-ef...
I am a beginner at amazon web services(AWS). actually, I have an app that streams HLS videos through Exoplayer (Url of videos are retrieved by firebase database). Now the only thing is left to serve videos from the best cloud storage so I chose AWS. But I have no idea how I can stream the videos securely and cost-effec...
android|amazon-web-services|amazon-s3|video-streaming|http-live-streaming
0
2022-07-17T19:21:05.673Z
2,022
7
19
6
139
0
928
67
5
2
true
true
false
false
false
false
zero
73,014,742
How do I fix NotificationManager.IMPORTANCE_DEFAULT "error"?
<p>I recently upgraded my project to the latest(32) APK version. I also upgraded all dependencies. A couple of new errors arise. Most of them are easy to solve but what to do with the one below?</p> <p><a href="https://i.stack.imgur.com/NTXJ7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NTXJ7.png...
I recently upgraded my project to the latest(32) APK version. I also upgraded all dependencies. A couple of new errors arise. Most of them are easy to solve but what to do with the one below? I changed it to one of the &quot;must be's&quot;, android.app.NotificationManager.IMPORTANCE_DEFAULT, and it still gives the sam...
android|android-studio|notifications
1
2022-07-17T19:28:02.787Z
2,022
7
19
6
28
0
352
60
3
0
false
true
false
false
false
false
low
73,014,883
How to make each searchview widget have its own set of suggestions
<p>I have three different activities. Each aktivity has implemented ActionBar SearchView Widget with own suggegestion provider.</p> <p>There are three different providers in file AndroidManifest.xml.</p> <pre><code>&lt;provider android:name=&quot;xxx.SearchStoreSuggestionProvider&quot; android:authorities=&quot;xxx.Sea...
I have three different activities. Each aktivity has implemented ActionBar SearchView Widget with own suggegestion provider. There are three different providers in file AndroidManifest.xml. [CODE] In resources/xml I have three different searchable files. Example res/xml/searchable_store_item.xml [CODE] I have tree diff...
android|searchview
0
2022-07-17T19:48:18.873Z
2,022
7
19
6
96
0
825
66
2
4
true
true
false
false
false
false
zero
73,015,013
Unity build exception: Probably the SDK is read-only
<p>When building my 2D mobile game (it is only a plane without anything on it yet) I get an error consisting of 5 exceptions all ending with <code>Probably the SDK is read-only</code></p> <p>These are the full exceptions:</p> <pre><code>Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.5f1\Editor\Dat...
When building my 2D mobile game (it is only a plane without anything on it yet) I get an error consisting of 5 exceptions all ending with Probably the SDK is read-only These are the full exceptions: [CODE]
android|unity3d
0
2022-07-17T20:05:31.357Z
2,022
7
20
6
791
3
205
52
2
1
true
false
false
false
false
false
zero
73,015,136
Layout weight for text view inside a scrollview
<p>I have a layout with two TextInputLayout with layout weights set for their heights and a table layout like this</p> <p><a href="https://i.stack.imgur.com/t72ev.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t72ev.png" alt="Layout" /></a></p> <p>And here is the layout file</p> <pre><code>&lt;?xml ...
I have a layout with two TextInputLayout with layout weights set for their heights and a table layout like this And here is the layout file [CODE] The problem I have is, when I have my phone in portrait mode and I enter text into the fields that is bigger than what can fit into the field, the fields remain the same siz...
android|android-layout|android-scrollview|android-layout-weight
0
2022-07-17T20:28:06.393Z
2,022
7
20
6
34
0
594
47
4
1
true
true
false
false
false
false
zero
73,015,148
How to collapse the popup menu in Flutter
<p>How can I narrow the width of the popup menu in the navbar? How can I zoom the icon and text? I can't open the width tag, I think a different customization is required.</p> <p><a href="https://i.stack.imgur.com/QoSuC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QoSuC.png" alt="now it looks like...
How can I narrow the width of the popup menu in the navbar? How can I zoom the icon and text? I can't open the width tag, I think a different customization is required. [CODE]
flutter|dart|flutter-android|flutter-design
0
2022-07-17T20:29:58.693Z
2,022
7
20
6
44
1
175
41
4
1
true
false
false
false
false
false
zero
73,015,330
M3u file folders categories issue
<p>I'm facing issue that whenever the m3u is imported via url or internal storage it displays a list instead of displaying in categorized folders(like movies in movies folder, series in series folder, live stream in live stream folder),</p>
I'm facing issue that whenever the m3u is imported via url or internal storage it displays a list instead of displaying in categorized folders(like movies in movies folder, series in series folder, live stream in live stream folder),
android|flutter|m3u|iptv
0
2022-07-17T21:01:49.987Z
2,022
7
21
6
68
0
233
33
4
0
false
true
false
false
false
false
zero
73,015,447
Cannot upgrade Android Gradle dependency 'androidx.annotation:annotation' to version 1.4.0
<p>Android Studio warned me there was a new version of the &quot;androidx.annotation:annotation&quot; package : 1.4.0. I was previously using version 1.3.0</p> <p>extracts of my gradle file:</p> <pre><code> compileSdkVersion 31 defaultConfig { applicationId &quot;org.cetaces.padoc&quot; minSdkVer...
Android Studio warned me there was a new version of the &quot;androidx.annotation:annotation&quot; package : 1.4.0. I was previously using version 1.3.0 extracts of my gradle file: [CODE] and [CODE] So I tried to upgrade to version 1.4.0 but when I build my project, I get this error: [CODE] I guess I could just keep ve...
android|gradle|package|dependencies
1
2022-07-17T21:20:31.653Z
2,022
7
21
6
149
1
830
90
4
6
true
false
false
false
false
false
low
73,015,575
Admob test ads appearing in Unity Editor but not in finished game build
<p>I've got a bit of an issue here. I'm using the test adds and a test ID (ca-app-pub-3940256099942544/6300978111) to make sure I don't cause any problems while still debugging my game.</p> <p>However, the banner and interstitial ads I've added to the game only appear when I'm running in editor (over unityRemote so I c...
I've got a bit of an issue here. I'm using the test adds and a test ID (ca-app-pub-3940256099942544/6300978111) to make sure I don't cause any problems while still debugging my game. However, the banner and interstitial ads I've added to the game only appear when I'm running in editor (over unityRemote so I can test di...
android|unity3d|mobile|admob|editor
0
2022-07-17T21:48:33.960Z
2,022
7
21
6
122
0
681
71
5
0
false
true
false
false
false
false
zero
73,015,884
How to replace/delete comments or lines starts with particular word in Android studio?
<p>I want to delete all comments in an android project, all the comments start with <code>//</code> or any other specific characters?</p>
I want to delete all comments in an android project, all the comments start with // or any other specific characters?
android|android-studio
1
2022-07-17T22:49:45.417Z
2,022
7
22
6
31
1
117
86
2
0
false
false
false
false
false
false
low
73,015,953
Is there a way to change touch screen input location on Android devices for a stylus pen?
<p>I have an Android tablet using Android 11.0 that I want to draw with. I purchased a stylus that is compatible with Android. The pen works on the tablet.</p> <p>However, trying to draw with the tablet does not feel natural.</p> <p>The actual output is shifted to the right, instead of directly underneath the stylus pe...
I have an Android tablet using Android 11.0 that I want to draw with. I purchased a stylus that is compatible with Android. The pen works on the tablet. However, trying to draw with the tablet does not feel natural. The actual output is shifted to the right, instead of directly underneath the stylus pen. Is there a way...
android|drawing|touch-event|stylus|pen
0
2022-07-17T23:06:34.010Z
2,022
7
23
6
38
0
1,098
89
5
0
false
true
false
false
false
false
zero
73,016,049
Column elements are not scrollable in flutter
<p>I also tried to wrap the second <code>column</code> in <code>SingleChildScrollView</code> but that didn't work either. Please tell me a solution. The screen is not scrolling. When I delete the upper element only then another comes. Here is my code.</p> <pre class="lang-dart prettyprint-override"><code>SingleChildScr...
I also tried to wrap the second column in SingleChildScrollView but that didn't work either. Please tell me a solution. The screen is not scrolling. When I delete the upper element only then another comes. Here is my code. [CODE]
android|flutter|dart|scroll
0
2022-07-17T23:29:46.197Z
2,022
7
23
6
57
3
229
45
4
1
true
false
false
false
false
false
zero
73,016,156
Select html input triggers after second click in chrome for android but in desktop web browsers works ok, the app is developed in react js
<p>I am just posting a little example because the code is big</p> <p>This is in the function</p> <pre><code>const[Municipios, setMunicipios] = useState(&quot;&quot;); const cargarMunicipio = function(e){ const opcion = e.target.value; setMunicipios(opcion); console.log(&quot;Municip&quot;, opcion) } </code></pre> ...
I am just posting a little example because the code is big This is in the function [CODE] //This is in render [CODE]
android|html|select|react-hooks|onclick
0
2022-07-17T23:58:27.340Z
2,022
7
23
6
40
1
116
138
5
2
true
false
false
false
false
false
zero
73,016,479
Need help understanding Expo
<p><strong><a href="https://i.stack.imgur.com/RtnVL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RtnVL.png" alt="this error came up out of nowhere pls need a help to continue my project PLS" /></a></strong></p> <p>Android Bundling failed 26ms Unable to resolve module .../../App from C:\Users\Ikhas...
Android Bundling failed 26ms Unable to resolve module .../../App from C:\Users\Ikhas\OneDrive\Desktop\Cracash\node_modules\expo\AppEntry.js: None of these files exist: node_modules\expo\App(.native|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx|.android.js|.native.js|.js|.android.jsx|.native.jsx|.jsx|.android...
android|reactjs|react-native|expo
0
2022-07-18T01:23:08.427Z
2,022
7
1
0
41
0
688
28
4
0
false
true
false
false
false
false
zero
73,016,598
Using OKHTTP cache leads to close not called warning
<p>I'm seeing a warning in Logcat that something is not being closed when using this lines:</p> <pre><code>val httpClient = OkHttpClient.Builder() .cache(Cache( directory = File(context.cacheDir, &quot;http-cache&quot;), maxSize = DISK_CACHE_SIZE.toLong() )) .build() pri...
I'm seeing a warning in Logcat that something is not being closed when using this lines: [CODE] [CODE] If I remove the cache part this warning doesn't appear. Shouldn't this be automatically managed by okhttp3 itself or what am I missing?
android|retrofit|okhttp
0
2022-07-18T01:51:08.987Z
2,022
7
1
0
51
0
238
52
3
2
true
true
false
false
false
false
zero
73,016,613
Android View.setRotation does not update view's size
<p>This is a TextView.</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;merge xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:tools=&quot;http://schemas.android.com/tools&quot; android:layout_width=&quot;wrap_content&quot; android:layout_height=&...
This is a TextView. [CODE] As you can see Im coding some kind of customizable TextView. But when I execute this: textView.setRotation(45) , I get this annoying result (image below). As it appears, the textview is not updating its width or height when rotated (I logged getWidth() and getHeight() inside onMeasure()). I a...
android|textview|rotation
0
2022-07-18T01:57:03.793Z
2,022
7
1
0
53
0
966
52
3
2
true
true
false
false
false
false
zero
73,016,713
How to make multiple okhttp3 requests at the same time Android Studio
<p>Good Afternoon, I am still very new to ESP32/android studio coding so I apologize for my beginner terminology. I am currently coding a project where I can control multiple stepper motors at the same exact time from the press of a button on my android application and the motors are connected to certain ESP32 GPIO pin...
Good Afternoon, I am still very new to ESP32/android studio coding so I apologize for my beginner terminology. I am currently coding a project where I can control multiple stepper motors at the same exact time from the press of a button on my android application and the motors are connected to certain ESP32 GPIO pins, ...
java|android-studio|esp32
0
2022-07-18T02:18:46.727Z
2,022
7
2
0
45
1
834
69
3
3
true
false
false
false
false
false
zero
73,016,719
Get the shared text from other apps in React Native
<p>I want to get the shared text from other apps, I refer to <a href="https://medium.com/swlh/sharing-image-to-android-app-using-intent-filter-to-react-native-d112308328d5" rel="nofollow noreferrer">this article</a>, use intent-filter but it is not so smooth, I found that I need to get the intent from onCreate or onNew...
I want to get the shared text from other apps, I refer to this article , use intent-filter but it is not so smooth, I found that I need to get the intent from onCreate or onNewIntent to process, but the problem is that createReactActivityDelegate and getLaunchOptions always take precedence Execution, I can't get the in...
android|ios|react-native|intentfilter|share-extension
1
2022-07-18T02:19:43.950Z
2,022
7
2
0
53
1
832
51
5
0
false
false
false
false
false
false
low
73,016,790
I need to read from Firebase Real-time database every time app is open
<p>I am making an app that reads some data from a firebase realtime database and then uses that data to create a recycle view in android.</p> <p>My first issue is that my string are not being saved in the ArrayList that is initialize in the OnCreateView method.</p> <p>My second issue is that firebase realtime database ...
I am making an app that reads some data from a firebase realtime database and then uses that data to create a recycle view in android. My first issue is that my string are not being saved in the ArrayList that is initialize in the OnCreateView method. My second issue is that firebase realtime database is only being rea...
java|android|firebase|firebase-realtime-database
1
2022-07-18T02:35:46.750Z
2,022
7
2
0
31
0
656
70
4
2
true
true
false
false
false
false
low
73,016,807
Identify developer-owned apps (App Scope ID)
<p>I read Android Developers' post <a href="https://developer.android.com/training/articles/app-set-id#add-sdk" rel="nofollow noreferrer">https://developer.android.com/training/articles/app-set-id#add-sdk</a></p> <p>Does anyone explain to me how to use app scope ID and where we implement it? I can't find any blog or tu...
I read Android Developers' post https://developer.android.com/training/articles/app-set-id#add-sdk Does anyone explain to me how to use app scope ID and where we implement it? I can't find any blog or tutorial about it.
android|android-studio
0
2022-07-18T02:39:38.557Z
2,022
7
2
0
33
1
219
44
2
0
false
false
false
false
false
false
zero
73,016,987
Create file format that can store video and acceleration data frame by frame Android
<p>I'm creating an Android app (using Kotlin) that can record video and other device sensory data. I want to store all of the data (the video and the acceleration sensor data) together in one file so that I can replay it the same way a regular <code>.mp4</code> plays, but have access to the extra frame-by-frame device ...
I'm creating an Android app (using Kotlin) that can record video and other device sensory data. I want to store all of the data (the video and the acceleration sensor data) together in one file so that I can replay it the same way a regular .mp4 plays, but have access to the extra frame-by-frame device sensor info. Rig...
android|kotlin|file-format
0
2022-07-18T03:20:44.207Z
2,022
7
3
0
39
0
1,580
84
3
0
false
true
false
false
false
false
zero
73,017,221
Why are my list items not being displayed on listView (Android)
<p>I have created one listview where I want to retrieve the items from sqlite database. So I have created one method as a List named as <code>getrequestitems</code> where I will map the details and add to a arraylist.</p> <pre class="lang-java prettyprint-override"><code>public List&lt;Map&lt;String, String&gt;&gt; get...
I have created one listview where I want to retrieve the items from sqlite database. So I have created one method as a List named as getrequestitems where I will map the details and add to a arraylist. [CODE] But When I open that activity It doesn't displayed any records. I have debug the code but can't any exception. ...
java|android|android-listview|android-sqlite
0
2022-07-18T04:08:36.680Z
2,022
7
4
0
67
1
452
63
4
2
true
false
false
false
false
false
zero
73,017,233
There was a problem collecting hot code using the Baseline Profile
<p>I hope you can help me, I created the Benchmark module in Android Studio, he has helped me set up the required things, my project is multi-channel, package name I have set and correct: the code is:</p> <pre><code>@OptIn(ExperimentalBaselineProfilesApi::class) class TrivialBaselineProfileBenchmark { // [START bas...
I hope you can help me, I created the Benchmark module in Android Studio, he has helped me set up the required things, my project is multi-channel, package name I have set and correct: the code is: [CODE] Then I get the following error when I use it:
android|baseline
1
2022-07-18T04:09:43.953Z
2,022
7
4
0
21
0
250
66
2
1
true
true
false
false
false
false
low
73,017,275
google_sign_in Flutter plugin always returns null serverAccessCode
<p>I have the current workflow for my authentication</p> <ol> <li>User signs in via google OAuth2</li> <li>User is then given a server_auth_code which they send to my backend authentication</li> <li>The auth code is validated on the back end and users is sent a JWT</li> </ol> <p>I had this all working in raw Java with ...
I have the current workflow for my authentication User signs in via google OAuth2 User is then given a server_auth_code which they send to my backend authentication The auth code is validated on the back end and users is sent a JWT I had this all working in raw Java with the Android SDK, but Flutter seemed a lot nicer....
android|flutter|oauth-2.0|google-oauth
0
2022-07-18T04:16:51.377Z
2,022
7
4
0
145
1
958
66
4
1
true
false
false
false
false
false
zero
73,017,337
How do I set flutter app timeline according to device time?
<p>For example, I want to execute some function after 2 hours from the current time on the device (I did this using Timer()). But I want if I change the time on the device faster than 2 hours, those functions will execute immediately instead of waiting 2 hours. Please tell me the solution. Thank you !</p>
For example, I want to execute some function after 2 hours from the current time on the device (I did this using Timer()). But I want if I change the time on the device faster than 2 hours, those functions will execute immediately instead of waiting 2 hours. Please tell me the solution. Thank you !
android|ios|flutter|dart|mobile
2
2022-07-18T04:29:12.863Z
2,022
7
4
0
54
1
299
59
5
0
false
false
false
false
false
false
low
73,017,366
How to setup properly the notification background React Native IOS firebase?
<p>I'm quite new setting up the firebase notification in react native IOS, and I already setup the requirements, however I encounter problem which is notification background not prompt on my actual device.</p> <p>Question / Problem: Is there any solution to trace the issue why the notification background is not prompt ...
I'm quite new setting up the firebase notification in react native IOS, and I already setup the requirements, however I encounter problem which is notification background not prompt on my actual device. Question / Problem: Is there any solution to trace the issue why the notification background is not prompt to my actu...
android|ios|firebase|react-native
0
2022-07-18T04:34:26.077Z
2,022
7
4
0
31
0
823
76
4
2
true
true
false
false
false
false
zero
73,017,410
Invalid offset after editing .so file
<p>When i edit the .so file with hxd and execute it on my android device<br /> The app crashes and throws the invalid offset error</p> <p>Here is my readelf output:</p> <pre><code> Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2...
When i edit the .so file with hxd and execute it on my android device The app crashes and throws the invalid offset error Here is my readelf output: [CODE] can anyone help me? sorry for my poor english
android|shared-libraries
1
2022-07-18T04:42:22.437Z
2,022
7
4
0
36
0
201
37
2
1
true
true
false
false
false
false
low
73,017,469
Android Studio: I have 100 list view and i want to open a each new page for each list view when it is pressed
<p>I am a beginner in android and I am making an story app in which I have 100 list view and I want to open a different page for every list view when it is clicked, but don't want to make 100 new activity. Is There any better way to do this?</p>
I am a beginner in android and I am making an story app in which I have 100 list view and I want to open a different page for every list view when it is clicked, but don't want to make 100 new activity. Is There any better way to do this?
android
0
2022-07-18T04:54:01.980Z
2,022
7
4
0
29
1
238
109
1
0
false
false
false
false
false
false
zero
73,017,514
Why my apk file can't install after android update?
<p>Good day. I made a game for mobile phones. I created the game in Unity 2018. I build an Apk file, which is used to install the game on the device. The game is on the Android platform. I put my Apk file in my Xiaomi phone and everything works as it should. The game installs normally and can then be played normally. I...
Good day. I made a game for mobile phones. I created the game in Unity 2018. I build an Apk file, which is used to install the game on the device. The game is on the Android platform. I put my Apk file in my Xiaomi phone and everything works as it should. The game installs normally and can then be played normally. I al...
android|unity3d|mobile|build.gradle|apk
2
2022-07-18T05:02:00.343Z
2,022
7
5
0
134
0
947
51
5
0
false
true
false
false
false
false
low
73,017,515
Cannot resolve symbol 'ImmutableList' in Android studio
<p>I try to implement Google Play Pay but don`t know how solve this problem:Type of <strong>ImmutableList</strong> cannot be resoclved. Should I import some package?</p> <p>I have search with Google and no any question like this(Android studio)</p> <pre><code>ImmutableList.of(QueryProductDetailsParams.Product.newBuilde...
I try to implement Google Play Pay but don`t know how solve this problem:Type of ImmutableList cannot be resoclved. Should I import some package? I have search with Google and no any question like this(Android studio) [CODE]
android-studio
1
2022-07-18T05:02:05.393Z
2,022
7
5
0
106
1
224
55
1
1
true
false
false
false
false
false
low
73,017,527
add inline video player to Flutter Webview
<p>I am creating a browser using flutter_inappwebview. I want to add an inline video player like UC browser has. Can you please help me how do I do that? I couldn't find anything useful by myself.<a href="https://i.stack.imgur.com/ABkWQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ABkWQ.png" alt="...
I am creating a browser using flutter_inappwebview. I want to add an inline video player like UC browser has. Can you please help me how do I do that? I couldn't find anything useful by myself.
android|ios|flutter|dart|webview
0
2022-07-18T05:04:19.287Z
2,022
7
5
0
107
0
193
42
5
0
false
true
false
false
false
false
zero
73,017,581
calling destructor in Android NDK issue
<p>I am working on creating a simple std::thread in Android ndk.<br> I am developing code to clean up the thread in the destructor, but when I take a log, the destructor is not called normally. (When the app is forcibly closed.) <br></p> <p>I wonder if this is not logging or skipping the destructor altogether. (If you ...
I am working on creating a simple std::thread in Android ndk. I am developing code to clean up the thread in the destructor, but when I take a log, the destructor is not called normally. (When the app is forcibly closed.) I wonder if this is not logging or skipping the destructor altogether. (If you skip, the informati...
android|android-ndk
0
2022-07-18T05:13:33.043Z
2,022
7
5
0
16
0
455
39
2
0
false
true
false
false
false
false
zero
73,017,742
My spinner OnItemSelectedListener stopped working after stopping an async task
<pre><code> server = (Spinner) findViewById(R.id.topic); ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1, category); adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); server.setAdapter(adapter); </code...
[CODE] I add elements using [CODE] followed by server.setOnItemSelectedListener(new OnItemSelectedListener() { [CODE] when i stopthetask my spinner stopped responding to my input the spinner worked just fine without the async task
android-studio
0
2022-07-18T05:39:16.137Z
2,022
7
5
0
10
0
230
78
1
3
true
true
false
false
false
false
zero
73,017,796
How to read and write to removable memory card in android Programitacally(I am not talking about Internal Storage)
<p>How do many file manager app read and write to sdcard , I take the sdcard write permission but also after that when I use files api to write on sdcard it always fails ,Somebody plz tell me how to achieve this</p>
How do many file manager app read and write to sdcard , I take the sdcard write permission but also after that when I use files api to write on sdcard it always fails ,Somebody plz tell me how to achieve this
android|android-studio|android-sdcard
0
2022-07-18T05:48:40.523Z
2,022
7
5
0
32
0
208
114
3
0
false
true
false
false
false
false
zero
73,017,912
Unable to launch App from Opera and Opera gx browser using deep linking
<p>Below code is working if app is launched with Gmail, Google, Firefox and Chrome browser. but unable to launch app from Opera and Opera gx</p> <p>`` </p> <pre><code> &lt;category android:name=&quot;android.intent.category.DEFAULT&quot; /&gt; &lt;category android:name=&quot;android.intent.categ...
Below code is working if app is launched with Gmail, Google, Firefox and Chrome browser. but unable to launch app from Opera and Opera gx `` [CODE]
android|deep-linking|branch.io|android-app-links
0
2022-07-18T06:04:36.870Z
2,022
7
6
0
46
0
147
71
4
1
true
true
false
false
false
false
zero
73,017,965
Android Studio: How do I get user input (From Spinner and Edit Text) from activity to another activity?
<p>I am trying to get user input (from both Edit Text and Spinner) from RegisterActivity.Java into ListActivity.Java. The following code below is from RegisterActivity.Java. I only know how to launch the button to a new activity, but I do not know the correct way without error to get user data input from one activity t...
I am trying to get user input (from both Edit Text and Spinner) from RegisterActivity.Java into ListActivity.Java. The following code below is from RegisterActivity.Java. I only know how to launch the button to a new activity, but I do not know the correct way without error to get user data input from one activity to a...
java|android|android-studio|mobile-application
0
2022-07-18T06:12:15.667Z
2,022
7
6
0
100
2
435
103
4
3
true
false
false
false
false
false
zero
73,018,097
How to create cred (neopop) like button in react-native
<p><a href="https://i.stack.imgur.com/l3TdE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l3TdE.png" alt="enter image description here" /></a></p> <p>Designing elevated effect, I used <code>skewY:45deg</code> but it's not working on Android and working on the web. Is there any workaround for creati...
Designing elevated effect, I used skewY:45deg but it's not working on Android and working on the web. Is there any workaround for creating this kind of design? styles reference [CODE]
android|css|ios|reactjs|react-native
0
2022-07-18T06:28:48.327Z
2,022
7
6
0
60
0
183
55
5
1
true
true
false
false
false
false
zero
73,018,114
How to get the youtube comment which user is reading through accessibility service?
<p>I want to know which comments users are currently reading and replying to on Youtube through Android Accessibility Service.</p> <pre><code>@Override public void onAccessibilityEvent(AccessibilityEvent event) { AccessibilityNodeInfo nodeInfo = event.getSource(); if(nodeInfo != null) { Log.d(TAG, &quot;NodeInf...
I want to know which comments users are currently reading and replying to on Youtube through Android Accessibility Service. [CODE] I tried using event.getSource() and DFS to log all the AccessibilityNodeInfo in onAccessibilityEvent() but I can't get the comment content without enabling the talkback function on the phon...
java|android|accessibility|talkback
1
2022-07-18T06:31:06.917Z
2,022
7
6
0
29
0
633
83
4
1
true
true
false
false
false
false
low
73,018,121
android 2d game in java lags the moving objects
<p>So I am trying to make a 2d game using SurfaceView (It draws and moves the objects). The game is almost done but I am facing a major problem which is that my moving objects on the screen lag or get stuck (probably skipping frames). Maybe the canvas.drawBitmap() method is not drawing it fast enough. I have tried many...
So I am trying to make a 2d game using SurfaceView (It draws and moves the objects). The game is almost done but I am facing a major problem which is that my moving objects on the screen lag or get stuck (probably skipping frames). Maybe the canvas.drawBitmap() method is not drawing it fast enough. I have tried many th...
java|android|canvas|surfaceview|2d-games
0
2022-07-18T06:32:09.047Z
2,022
7
6
0
44
0
581
47
5
2
true
true
false
false
false
false
zero
73,018,404
How apps are getting locations when Background Restrictions are turned on?
<p>Some android devices have options to restrict apps in the background to save battery consumption. If I will turn on this option, my app and its background service will be killed. Some apps like Uber, Careem etc are using google services to get location of driver, to track driver. I tested Uber Driver app, I turned o...
Some android devices have options to restrict apps in the background to save battery consumption. If I will turn on this option, my app and its background service will be killed. Some apps like Uber, Careem etc are using google services to get location of driver, to track driver. I tested Uber Driver app, I turned on t...
android|location|background-service|google-geolocation|google-location-services
0
2022-07-18T07:03:39.473Z
2,022
7
7
0
48
0
828
74
5
0
false
true
false
false
false
false
zero
73,018,456
Unity mobile game crash on startup caused by incompatibilities in dependencies (FacebookSDK)
<p>After launching the android resolver, I get the error Some conflicting dependencies were found, and when I try to build the application, it either crashes immediately (on a real smartphone) or a gray screen is on (emulator). I use facebooksdk 7.21.2 and Unity 2021.3.4. Error below, please help!</p> <pre><code>Some c...
After launching the android resolver, I get the error Some conflicting dependencies were found, and when I try to build the application, it either crashes immediately (on a real smartphone) or a gray screen is on (emulator). I use facebooksdk 7.21.2 and Unity 2021.3.4. Error below, please help! [CODE]
android|unity3d|facebook-sdk-4.0|facebook-unity-sdk
0
2022-07-18T07:09:09.183Z
2,022
7
7
0
76
0
302
92
4
1
true
true
false
false
false
false
zero
73,018,515
How use progress bar with uploading volley
<p>I use POST volley from Google for uploading on my sever videos. I need get progress for update progress bar. How I can get?</p> <p>I try get ping(not with my server, because I don’t know how get ping with my site) and get path.length();. But I need get current status uploading for get progress.</p> <p>This is code u...
I use POST volley from Google for uploading on my sever videos. I need get progress for update progress bar. How I can get? I try get ping(not with my server, because I don’t know how get ping with my site) and get path.length();. But I need get current status uploading for get progress. This is code uploading volley [...
android|android-volley
0
2022-07-18T07:14:51.477Z
2,022
7
7
0
35
0
380
42
2
1
true
true
false
false
false
false
zero
73,018,571
extract data from JSON response volley android
<p>I´m trying to extract data from my JSON response from php in kotlin. This it´s result from my php:</p> <pre><code>Log.d(TAG, &quot;Login Response: $response&quot;) Login Response: {&quot;data&quot;:{&quot;name&quot;:&quot;david&quot;,&quot;surname&quot;:null,&quot;email&quot;:&quot;prueba@prueba.com&quot;,&quot;phon...
I´m trying to extract data from my JSON response from php in kotlin. This it´s result from my php: [CODE] but when i access to this json: [CODE] i want extract data from my json to create array or arrayList to send this array to my activity. But i don´t know how i can access to this JSON. this function it´s to login in...
android|json|kotlin
0
2022-07-18T07:21:04.083Z
2,022
7
7
0
63
3
1,053
46
3
13
true
false
false
false
false
false
zero
73,018,589
How to write Unit test for Android ViewModel with SavedStateHandle
<p>In Android ViewModel, how can I write unit tests to verify that the savedStateHandle is saving and restoring values correctly?</p> <pre><code>class SampleViewModel( private val savedStateHandle: SavedStateHandle ) : ViewModel() { var foo: Int = 0 // In the actual code, foo is a non-parcelable type init ...
In Android ViewModel, how can I write unit tests to verify that the savedStateHandle is saving and restoring values correctly? [CODE]
android
0
2022-07-18T07:22:42.750Z
2,022
7
7
0
117
0
133
66
1
1
true
true
false
false
false
false
zero
73,018,621
RecyclerView only shows items after Swipe Refresh
<p>I am trying to fetch data from my Parse database and display it into my RecyclerView. Upon entering the Fragment, the RecyclerView displays no data. It isn't until I Swipe Refresh the feed that the items are accurately displayed in the RecyclerView. How can I make the RecyclerView have the items already initialized...
I am trying to fetch data from my Parse database and display it into my RecyclerView. Upon entering the Fragment, the RecyclerView displays no data. It isn't until I Swipe Refresh the feed that the items are accurately displayed in the RecyclerView. How can I make the RecyclerView have the items already initialized upo...
java|android|parse-platform|parse-android-sdk
0
2022-07-18T07:25:04.603Z
2,022
7
7
0
57
0
391
49
4
3
true
true
false
false
false
false
zero
73,018,666
SEPolicy for multiple services using AIDL in Android Native
<p>I want to add multiple services with:</p> <pre><code>MyService sv1 = MyService::getInstance(mode::mode1); defaultServiceManager()-&gt;addService(String16(&quot;Service1&quot;), sv1); MyService sv2 = MyService::getInstance(mode::mode2); defaultServiceManager()-&gt;addService(String16(&quot;Service2&quot;), sv2); </co...
I want to add multiple services with: [CODE] And here are my sepolicy files: myservice.te: [CODE] service.te [CODE] I want to register 2 services with different name, so I added these in service_contexts [CODE] But when I run, the logcat return avc error: [CODE] I think Service1 and Service2 did not registered to servi...
android|selinux|aidl|android-binder|seandroid
1
2022-07-18T07:28:47.673Z
2,022
7
7
0
64
1
439
59
5
5
true
false
false
false
false
false
low
73,018,738
Android App with Firebase notifications getting force stopped. Probably by Play Protect
<p>I have a private sideloaded app (signed) that is mainly used to deliver push notifications. The rest of the app is just a single Activity to register with a Pin.</p> <p>Most of the time things work just fine, but after a certain time each day the app enters the force closed state. Which by convention even Firebase c...
I have a private sideloaded app (signed) that is mainly used to deliver push notifications. The rest of the app is just a single Activity to register with a Pin. Most of the time things work just fine, but after a certain time each day the app enters the force closed state. Which by convention even Firebase cannot get ...
android|firebase
1
2022-07-18T07:35:21.130Z
2,022
7
7
0
30
0
1,694
87
2
3
true
true
false
false
false
false
low
73,018,781
Gradle build is successful but doesn't generate build folder/ APK file
<p>I am building an Android app with Gradle using flavours and variants through the commandline. When building the project, it finishes with success but no APK is generated - no build folder is created as well.</p> <p>What I tried:</p> <ul> <li>Looking for other locations for the APK file - nothing</li> <li>changing An...
I am building an Android app with Gradle using flavours and variants through the commandline. When building the project, it finishes with success but no APK is generated - no build folder is created as well. What I tried: Looking for other locations for the APK file - nothing changing Android SDK/Gradle/Java versions I...
android|linux|macos|gradle|apk
1
2022-07-18T07:38:37.800Z
2,022
7
7
0
92
0
602
70
5
0
false
true
false
false
false
false
low
73,018,845
Custom Marker in RadiusMarkerClusterer
<p>I created a customMarker that in addition to the image contains a label at the bottom with a name. If I create a &quot;<strong>FolderOverlay</strong>&quot; everything works correctly I see my custom Marker.</p> <p>This is my customMarker</p> <pre><code>class MarkerWithLabel(mapView: MapView?, val label: String) : Ma...
I created a customMarker that in addition to the image contains a label at the bottom with a name. If I create a &quot; FolderOverlay &quot; everything works correctly I see my custom Marker. This is my customMarker [CODE] } Creating a &quot; RadiusMarkerClusterer &quot; on the other hand does not show the label below ...
android|kotlin|osmdroid|osmbonuspack
0
2022-07-18T07:45:33.983Z
2,022
7
7
0
32
1
523
38
4
1
true
false
false
false
false
false
zero
73,018,892
Uploading Xamarin Android App to Playstore
<p>Facing a strange issue, I change the Version Code to a different number, yet when uploading it shows me a different number.<a href="https://i.stack.imgur.com/TlKLG.png" rel="nofollow noreferrer">In this picture it even shows that I changed the code to 8</a></p> <p><a href="https://i.stack.imgur.com/8t95Q.png" rel="n...
Facing a strange issue, I change the Version Code to a different number, yet when uploading it shows me a different number. In this picture it even shows that I changed the code to 8 But here it shows me version 5. Which is strange given the fact that I uploaded version 8. Is there something Im doing incorrectly? pleas...
android|xamarin
0
2022-07-18T07:48:50.647Z
2,022
7
7
0
26
0
329
42
2
0
false
true
false
false
false
false
zero
73,019,083
How can I identify, what goes wrong in my React native android version code?
<p>It's seems weird. When I upload my APK/.aab file to play store. It will add thousand and three by default into my android application version code.</p> <p><strong>build.gradle</strong></p> <pre><code>defaultConfig { applicationId &quot;com.myProject.ourProject&quot; minSdkVersion rootProject.ext.minS...
It's seems weird. When I upload my APK/.aab file to play store. It will add thousand and three by default into my android application version code. build.gradle [CODE] As you can see in above versionCode is 43 but When I upload to the play store it will show. package.json [CODE] How can I identify, what is going wrong ...
android|react-native
0
2022-07-18T08:03:59.373Z
2,022
7
8
0
55
0
341
76
2
2
true
true
false
false
false
false
zero
73,019,160
Android getParcelableExtra deprecated
<p>I am passing data via intent with Parcelable and receiving using getParcelableExtra . However getParcelableExtra seems to be deprecated, How do I fix the deprecation warning in this code? Alternatively, are there any other options for doing this? . I am using compileSdkVersion 33.</p> <p>Code snippet:</p> <pre><code...
I am passing data via intent with Parcelable and receiving using getParcelableExtra . However getParcelableExtra seems to be deprecated, How do I fix the deprecation warning in this code? Alternatively, are there any other options for doing this? . I am using compileSdkVersion 33. Code snippet: [CODE]
android|android-intent|parcelable
7
2022-07-18T08:10:47.260Z
2,022
7
8
0
2,199
4
302
37
3
1
true
false
false
false
false
false
medium
73,019,241
Firebase App Distribution - Could not find APK after renaming it
<p>Note: this only occurs after upgrading Firebase App Distribution Gradle plugin to 3.0.0 or newer.</p> <p>Hi there,</p> <p>We have in our project a gradle task to rename the apk file after generating it:</p> <pre><code>applicationVariants.all { variant -&gt; variant.outputs.all { output -&gt; def fileName...
Note: this only occurs after upgrading Firebase App Distribution Gradle plugin to 3.0.0 or newer. Hi there, We have in our project a gradle task to rename the apk file after generating it: [CODE] And here is the Firebase App Distribution task [CODE] After launching ./gradlew appDistributionUploadStagingDebug the task f...
android|gradle|firebase-app-distribution
1
2022-07-18T08:17:04.283Z
2,022
7
8
0
85
0
763
64
3
2
true
true
false
false
false
false
low
73,019,276
Regarding google Pay HomeScreen Layout Animation
<p>Anybody Know How The google pay animation is implemented. Card view Scrolls over the top view.</p>
Anybody Know How The google pay animation is implemented. Card view Scrolls over the top view.
android|animation
0
2022-07-18T08:19:58.003Z
2,022
7
8
0
15
0
94
48
2
0
false
true
false
false
false
false
zero
73,019,319
Jetpack Compose - Row of images with a max height
<p>I would like to implement a row of images with a maximum height of 15dp. If the screen is too thin to display the images with a height of 15dp, they should all be resized for the row to fit the screen width (images must always have the same height). I know it looks simple but I can't find a way to make it work.</p> ...
I would like to implement a row of images with a maximum height of 15dp. If the screen is too thin to display the images with a height of 15dp, they should all be resized for the row to fit the screen width (images must always have the same height). I know it looks simple but I can't find a way to make it work. Here is...
android|android-jetpack-compose|android-jetpack
0
2022-07-18T08:23:20.683Z
2,022
7
8
0
268
1
417
49
3
0
false
false
false
false
false
false
zero
73,019,349
Stripe Payment not going through with Flutter
<p>I'm trying to test a payment gateway method with stripe and I have this error when i try to click the button which it said &quot;[log] {success: false, error: o is not defined}&quot;, here is my code. I'm not sure what or how to solve this but I would really need some help on this one. Also I included with the scree...
I'm trying to test a payment gateway method with stripe and I have this error when i try to click the button which it said &quot;[log] {success: false, error: o is not defined}&quot;, here is my code. I'm not sure what or how to solve this but I would really need some help on this one. Also I included with the screensh...
flutter|android-studio|stripe-payments
1
2022-07-18T08:25:35.100Z
2,022
7
8
0
122
0
419
45
3
2
true
true
false
false
false
false
low
73,019,410
Is it possible to get combined test coverage of android Unitesting and UI testing coverage | not repeated question
<p>I have tried using <strong>jacoco</strong> for fetching code coverage but every time i am able to get 100% success also i have found that <strong>JacocoEverywhere</strong> is deprecated is there any other way to fetch code coverage.</p> <p>I have gone through several stackoverflow questions not able to find the ans...
I have tried using jacoco for fetching code coverage but every time i am able to get 100% success also i have found that JacocoEverywhere is deprecated is there any other way to fetch code coverage. I have gone through several stackoverflow questions not able to find the answer so raising this question.
android|kotlin|user-interface|android-espresso|ui-testing
1
2022-07-18T08:30:45.860Z
2,022
7
8
0
26
0
304
114
5
0
false
true
false
false
false
false
low
73,019,500
How to make animation like in YouTube?
<p>When you open a video, you can swipe it down. Then it will decrease. I have a bottom sheet. There is an onSlide event in which there is a float v. But adding it I can not achieve what I want. Maybe you can set the initial width and the final one?</p> <p>Code xml bottom sheet</p> <pre><code>&lt;?xml version=&quo...
When you open a video, you can swipe it down. Then it will decrease. I have a bottom sheet. There is an onSlide event in which there is a float v. But adding it I can not achieve what I want. Maybe you can set the initial width and the final one? Code xml bottom sheet [CODE] Code bottom sheet onSlede [CODE] I try add t...
android|android-animation|bottom-sheet
0
2022-07-18T08:39:18.657Z
2,022
7
8
0
30
0
373
38
3
2
true
true
false
false
false
false
zero
73,019,622
Draw a circle behind BadgeBox to make it more visible, circle getting too small
<p><strong>My code:</strong></p> <pre><code>IconButton(onClick = { /*TODO*/ }) { BadgedBox( modifier = Modifier.drawBehind { drawCircle( color = Color.LightGray, center = Offset( this.size.maxDimension / 2, this.size...
My code: [CODE] Current results: The light-gray circle, shall cover in background behind and look like a circular button. But, currently, it doesn't look like that. I tried with maxDimension . I am doing this in Kotlin with Jetpack Compose. Desired: EDIT: Added this line, [CODE] Now it looks like this: However, this lo...
kotlin|android-jetpack-compose
0
2022-07-18T08:50:43.140Z
2,022
7
8
0
49
2
378
79
2
2
true
false
false
false
false
false
zero