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
71,243,660
kotlin fragment in imagecropper not working
<p>hi guys sory for my english not good :)</p> <p>I write in fragment this code is not working and ı create new project and write this code in empty activity(is not activityfragment) is working</p> <p>I'm thinking onActivityResult primary working but secondary not working</p> <p>fragmentActivity logchat -&gt;</p> <pre>...
hi guys sory for my english not good :) I write in fragment this code is not working and ı create new project and write this code in empty activity(is not activityfragment) is working I'm thinking onActivityResult primary working but secondary not working fragmentActivity logchat -> [CODE] emtyactivity logchat -> [CODE...
android|kotlin|android-fragments|android-fragmentactivity
0
2022-02-23T20:28:36.677Z
2,022
2
20
2
23
0
321
43
4
2
true
true
false
false
false
false
zero
71,266,630
Android Key/Value backup: SKIP_PADDING FAILED
<p>Using Android backup API Key/Value backup, I get:</p> <pre><code>D/backup_data: SKIP_PADDING FAILED at line 334 </code></pre> <p>on onRestore while simply backing up / restoring a sharedPrefs that looks like this:</p> <pre><code>&lt;?xml version='1.0' encoding='utf-8' standalone='yes' ?&gt; &lt;map&gt; &lt;boole...
Using Android backup API Key/Value backup, I get: [CODE] on onRestore while simply backing up / restoring a sharedPrefs that looks like this: [CODE] Is this warning (or error) safe to ignore? Restore seems to work otherwise... I assume warning has something to do with BaseX encoding in Android, but I can't see what is ...
encoding|backup|key-value|android-backup-service
0
2022-02-25T13:32:57.510Z
2,022
2
13
4
23
0
374
45
4
2
true
true
false
false
false
false
zero
71,275,304
Change Instagram story font with smali code
<p>I want to edit the Instagram story using the smali code</p> <p>But no matter how much I change this part, the story font is still the default font</p> <p>Is there a way to change the font because I want to replace the Arabic and Persian fonts</p> <blockquote> <p>code </p> </blockquote> <p>invoke-direct/range {v51 .....
I want to edit the Instagram story using the smali code But no matter how much I change this part, the story font is still the default font Is there a way to change the font because I want to replace the Arabic and Persian fonts code invoke-direct/range {v51 .. v57}, LX/0Y2;->(LX/2I9;Ljava/lang/String;Ljava/lang/String...
android|apk
0
2022-02-26T08:55:21.927Z
2,022
2
8
5
23
0
350
43
2
1
true
true
false
false
false
false
zero
71,314,033
Delete empty space under SuperscriptSpan android
<p>I am using spannable.setSpan(SuperscriptSpan()) to make Superscript. Is it possible to delete space under sup text? My vision on screenshot<a href="https://i.stack.imgur.com/J2ZQY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J2ZQY.png" alt="picture" /></a></p> <p>instead of <a href="https://i.s...
I am using spannable.setSpan(SuperscriptSpan()) to make Superscript. Is it possible to delete space under sup text? My vision on screenshot instead of
android|kotlin
0
2022-03-01T20:01:10.473Z
2,022
3
20
1
23
0
150
48
2
0
false
true
false
false
false
false
zero
71,359,689
How to set the exact type of kotlin property which has definite implementations?
<p>I am trying to get a list of my enums.</p> <pre><code>val weatherTypes: List&lt;Array&lt;out Enum&lt;*&gt;&gt;&gt; = listOf(Atmosphere.values(), Clear.values(), ...) </code></pre> <p>All my enums are implementing <em><strong>StringOperation</strong></em> interface:</p> <pre><code>enum class Atmosphere(override val ....
I am trying to get a list of my enums. [CODE] All my enums are implementing StringOperation interface: [CODE] How can I specify the exact type implementation , like I did in function with where keyword? [CODE] What do I want to get is the property with fixed type: This doesn't work: Thanks!
android|kotlin|generics|enums|implementation
0
2022-03-05T05:11:12.020Z
2,022
3
5
5
23
0
291
80
5
3
true
true
false
false
false
false
zero
71,359,928
How can i change this fragment code for activity
<p>Hello I have a code which is for fragment but i don't know how can use it in activity</p> <p>Code</p> <pre><code>View.OnClickListener listener = view -&gt; { if (view instanceof MaterialCardView) { MaterialCardView card = (MaterialCardView) view; boolean isChecked = card.isChecked(); clea...
Hello I have a code which is for fragment but i don't know how can use it in activity Code [CODE]
android|android-fragments|android-activity
0
2022-03-05T06:09:54.933Z
2,022
3
6
5
23
0
97
48
3
1
true
true
false
false
false
false
zero
71,368,589
How to save logcat messages to new file
<p>I am working on a motion event activity. When user touch screen logcat shows some messages. And how can I create a file and save this messages to the file ? Can someone help me in fixing the code. (android studio)</p> <p><a href="https://i.stack.imgur.com/BvC2e.png" rel="nofollow noreferrer"><img src="https://i.stac...
I am working on a motion event activity. When user touch screen logcat shows some messages. And how can I create a file and save this messages to the file ? Can someone help me in fixing the code. (android studio)
javascript|android|motionevent
0
2022-03-06T08:00:17.670Z
2,022
3
8
6
23
0
213
39
3
0
false
true
false
false
false
false
zero
71,397,246
Ionic breakpoints unbound attaching to Android via WiFi
<p>I am working on an Ionic app from a few years back, Ionic CLI 4.4.0, in VSCode (1.65.0). I finally got the environment working again. I can build it to the Android device (Samsung A21s). I could not get the usual Samsung USB driver to work with my device (could be the USB port) but found I can deploy via WiFi. I can...
I am working on an Ionic app from a few years back, Ionic CLI 4.4.0, in VSCode (1.65.0). I finally got the environment working again. I can build it to the Android device (Samsung A21s). I could not get the usual Samsung USB driver to work with my device (could be the USB port) but found I can deploy via WiFi. I can at...
android|ionic-framework|visual-studio-code|android-wifi
0
2022-03-08T15:09:48.050Z
2,022
3
15
1
23
0
478
55
4
0
false
true
false
false
false
false
zero
71,401,454
Override item from Google's Remote Config on Android
<p>Can I somehow override item from <a href="https://firebase.google.com/docs/remote-config/get-started?platform=android" rel="nofollow noreferrer">Google's Remote Config implementation on Android</a>?</p> <p>This is my init method where I setup RemoteConfig:</p> <pre class="lang-kotlin prettyprint-override"><code>fun ...
Can I somehow override item from Google's Remote Config implementation on Android ? This is my init method where I setup RemoteConfig: [CODE]
android|firebase-remote-config
0
2022-03-08T21:08:50.113Z
2,022
3
21
1
23
0
141
52
2
1
true
true
false
false
false
false
zero
71,431,252
How to use android expansion packs in react-native?
<p>Does react-native have any way of communicating with and using the expansion packs that are available on the google play store? Or am I limited to a small app size or using external hosting? Thanks!</p>
Does react-native have any way of communicating with and using the expansion packs that are available on the google play store? Or am I limited to a small app size or using external hosting? Thanks!
android|react-native|mobile-development
0
2022-03-10T21:54:59.243Z
2,022
3
21
3
23
0
198
51
3
0
false
true
false
false
false
false
zero
71,439,096
List/grid switchable recyclerview doesn't work
<p>I'm trying to create a recyclerview which can change layout (a list or a grid), for that I modified my adapter to determine the which layout it should use according to the number of spans. But when I try to modify the information from the holder nothing is happening. Does anyone have an idea?</p> <p>here's my adapte...
I'm trying to create a recyclerview which can change layout (a list or a grid), for that I modified my adapter to determine the which layout it should use according to the number of spans. But when I try to modify the information from the holder nothing is happening. Does anyone have an idea? here's my adapter: [CODE] ...
java|android|kotlin|android-recyclerview
2
2022-03-11T13:14:27.450Z
2,022
3
13
4
23
0
338
46
4
1
true
true
false
false
false
false
low
71,329,750
Flutter: How to use dispose() to delete data
<p>I have a simple app where a user logs in using a firestore login, and as soon as they login I created a function that records how long they are using the app for with <code>didChangeAppLifecycleState </code>.</p> <p>My issues is if I were to log the user off and sign in with a new user and allow them to use the app,...
I have a simple app where a user logs in using a firestore login, and as soon as they login I created a function that records how long they are using the app for with didChangeAppLifecycleState . My issues is if I were to log the user off and sign in with a new user and allow them to use the app, for example, for 10 se...
flutter|android-lifecycle|dispose
0
2022-03-02T22:08:31.523Z
2,022
3
22
2
279
0
662
44
3
1
true
true
false
false
false
false
zero
71,438,977
An error occurred while trying to get SHA256 fingerprint of the keystore file. make sure the keystore file is correct
<p><a href="https://i.stack.imgur.com/0nOuR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0nOuR.png" alt="error" /></a><a href="https://i.stack.imgur.com/Hc947.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hc947.png" alt="enter image description here" /></a> So I was trying to ...
So I was trying to add applinks to my sample app(Android Studio Bumblebee 2021.1.1 patch 1). I have already generated a keystore file by going to build > generate signed bundle/apks and I even got the SHA1 and SHA256 fingerprints by running command -> keytool -list -v -keystore /Users/deepanshu/andKeys/sampleapp-alias ...
android|firebase|firebase-dynamic-links|applinks|android-app-links
0
2022-03-11T13:05:57.550Z
2,022
3
13
4
279
0
696
117
5
0
false
true
false
false
false
false
zero
71,109,752
audio.play() plays like a telephone call voice interestingly
<p>Here is my simple audio play function:</p> <pre><code>let audioPlayResolve; async function audioPlay(source) { return new Promise(resolve =&gt; { audioPlayResolve = resolve; if(source === undefined) { resolve(); return; } const audio = new Audio(source); audio.crossOrigin = 'ano...
Here is my simple audio play function: [CODE] This is working fine on chrome windows . The issue is when I play audio in Android Chrome the voice gets somehow distorted like it's a telephone call voice. The interesting thing is when I decided to change the volume of my phone I noticed the audio volume is not controlled...
javascript|android|web-audio-api
0
2022-02-14T09:41:52.030Z
2,022
2
9
0
24
0
640
60
3
1
true
true
false
false
false
false
zero
71,114,084
Android canvas array based drawing functions using Float arrayList
<p>I am developing an app that does a lot of drawing on a custom view. So to improve the performance, I wanted to cache all the drawings in one place and use the array-based drawing functions like drawLines, drawPoints etc.</p> <p>But since all those functions take a native float array as input, I am forced to pre-dete...
I am developing an app that does a lot of drawing on a custom view. So to improve the performance, I wanted to cache all the drawings in one place and use the array-based drawing functions like drawLines, drawPoints etc. But since all those functions take a native float array as input, I am forced to pre-determine its ...
android|android-canvas|android-custom-view
0
2022-02-14T15:16:16.677Z
2,022
2
15
0
24
0
614
66
3
1
true
true
false
false
false
false
zero
71,125,956
Android app Rebot testing test is passwd but i get this message (Your app uses 5 non-SDK interfaces, which are incompatible with Android P+.)
<p>Anyone guide me what is this ?</p> <pre><code>Your app uses 5 non-SDK interfaces, which are incompatible with Android P+. Non-SDK API Usage Violation Ljava/security/spec/ECParameterSpec;-&gt;setCurveName(Ljava/lang/String;)V Landroid/view/ViewGroup;-&gt;makeOptionalFitsSystemWindows()V Ljava/net/Socket;-&gt;impl:...
Anyone guide me what is this ? [CODE] I read the documentation I did not get what is the issue and how I can fix it?
java|android|android-studio
0
2022-02-15T11:51:28.483Z
2,022
2
11
1
24
0
116
141
3
1
true
true
false
false
false
false
zero
71,128,674
Color in CSS code is not converting into XML code
<p>I found CSS code for a gradient. CSS Code:</p> <pre><code>background-color: #2d3436; background-image: linear-gradient(315deg, #2d3436 0%, #000000 74%); </code></pre> <p>I want to use to make color gradient in the XML file : So, I used this code:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&q...
I found CSS code for a gradient. CSS Code: [CODE] I want to use to make color gradient in the XML file : So, I used this code: [CODE] The sequence of the color is same, But it is not the same as the CSS one. What's wrong? I think becoz, I have to use another layer as background. How to add background color to the gradi...
android|css|xml|colors|gradient
0
2022-02-15T15:01:05.920Z
2,022
2
15
1
24
0
336
49
5
2
true
true
false
false
false
false
zero
71,160,340
Problem with Gregorian Calendar, not showing all of the days of the month
<p>I have a problem with my Gregorian calendar which I have added into my gridView from adapter. For some of the months only a certain number of days appear. I have no idea why it does this,</p> <p>Calendar.xml</p> <pre><code> &lt;GridView android:id=&quot;@+id/gv_calendar&quot; android:la...
I have a problem with my Gregorian calendar which I have added into my gridView from adapter. For some of the months only a certain number of days appear. I have no idea why it does this, Calendar.xml [CODE] Calendar.java Code for calendar(gridview) ( new HomeCollection(&quot;2022-03-05&quot; ,&quot;Christmas&quot;,&qu...
android|gridview|calendar|android-adapter|gregorian-calendar
0
2022-02-17T14:51:21.427Z
2,022
2
14
3
24
0
396
73
5
3
true
true
false
false
false
false
zero
71,187,662
I am trying to extract the emailController and the passwordController but I keep getting an error?
<p>I'm customizing my text field for my email and password.When I go to extract the method from emailController and passwordController.I receive an error saying &quot;the end of the selection contains characters that do not belong to the statement.I checked everything and the code seems correct to me but its still not ...
I'm customizing my text field for my email and password.When I go to extract the method from emailController and passwordController.I receive an error saying &quot;the end of the selection contains characters that do not belong to the statement.I checked everything and the code seems correct to me but its still not wor...
flutter|android-studio|widget|extract
0
2022-02-19T17:56:47.963Z
2,022
2
17
5
24
0
460
98
4
1
true
true
false
false
false
false
zero
71,195,281
Run scala tests on Android
<p>(Sequel to <a href="https://stackoverflow.com/questions/71154126/gradle-test-java-library-on-android">this</a>.) There's <a href="https://github.com/marianobarrios/tls-channel" rel="nofollow noreferrer">a Java library</a> to which I have added <a href="https://github.com/Erhannis/tls-channel/tree/feature/android_su...
(Sequel to this .) There's a Java library to which I have added patches for Android support . I would like to automate testing of the code, but in order to check if it runs properly on Android, I need to test it on Android. (Current progress here .) I've moved the main code into a &quot;java&quot; module, and created a...
java|android|scala|unit-testing|testing
2
2022-02-20T14:14:59.523Z
2,022
2
14
6
24
0
1,288
26
5
0
false
true
false
false
false
false
low
71,216,320
Do we need to bindService in the third party aidl to access aidl methods?
<p>In order to use the custom <code>aidl</code> , we want to create a <code>service class</code>(<strong>Server</strong>) and we want to bind the service(<code>bindService()</code>) in the class which we want to access the <code>aidl</code> interface method(<strong>Client</strong>), but when it comes to the Third party...
In order to use the custom aidl , we want to create a service class ( Server ) and we want to bind the service( bindService() ) in the class which we want to access the aidl interface method( Client ), but when it comes to the Third party aidl file, we just can call the aidl interface and use it, so my question is &quo...
android|aidl|bindservice
0
2022-02-22T05:27:44.153Z
2,022
2
5
1
24
0
437
73
3
2
true
true
false
false
false
false
zero
71,222,167
Is it possible to run sqlite dot commands from within Java (Android)?
<p>Is it possible to run sqlite dot commands, e.g. <code>.backup</code> / <code>.restore</code> from Java (Android) with for example SqliteOpenHelper or something else?</p> <p>Currently I have to run the <code>.backup</code> command using shell using sqlite3 binary and I don't want to do that for efficiency reasons. Al...
Is it possible to run sqlite dot commands, e.g. .backup / .restore from Java (Android) with for example SqliteOpenHelper or something else? Currently I have to run the .backup command using shell using sqlite3 binary and I don't want to do that for efficiency reasons. Also it is cumbersome. Otherwise, any other way to ...
sqlite|android-sqlite|database-backups|sqliteopenhelper
0
2022-02-22T13:25:07.847Z
2,022
2
13
1
24
0
366
69
4
0
false
true
false
false
false
false
zero
71,247,475
Home Fragment Content is Overlaping my Toolbar and Bottom Navigation View, How can i Solve this?
<p><strong>I am working on an APP where I am using fragments, Now when I am adding content on home fragment and want to show it on the activity main but it is overlapping the toolbar(on activity main) and bottom navigation view. I tried some methods but nothing is working. How can I solve this?? Please GUIDE ME IN THIS...
I am working on an APP where I am using fragments, Now when I am adding content on home fragment and want to show it on the activity main but it is overlapping the toolbar(on activity main) and bottom navigation view. I tried some methods but nothing is working. How can I solve this?? Please GUIDE ME IN THIS MATTER I a...
android-layout|android-fragments|toolbar|android-toolbar
0
2022-02-24T05:21:25.877Z
2,022
2
5
3
24
0
369
96
4
1
true
true
false
false
false
false
zero
71,261,635
android Cross-app scripting .... I'm still struggling with this problem
<p>I registered the app.</p> <p>After registering,</p> <p>Cross-app scripting. The app includes WebView, which is vulnerable to cross-app scripting. For more information, check out Google Customer Center Help.</p> <p>com.xxxxxx.xxxxxx.ui.main.MainActivity-&gt;onNewIntent sv:deadline:05/23/2022</p> <p>I received the abo...
I registered the app. After registering, Cross-app scripting. The app includes WebView, which is vulnerable to cross-app scripting. For more information, check out Google Customer Center Help. com.xxxxxx.xxxxxx.ui.main.MainActivity->onNewIntent sv:deadline:05/23/2022 I received the above information. Since then, I have...
android
0
2022-02-25T05:55:18.840Z
2,022
2
5
4
24
0
423
71
1
1
true
true
false
false
false
false
zero
71,267,706
Custom options menu with a custom view/layout
<p>How does one replicate the custom options menu used by the ES File Explorer's app?</p> <p><img src="https://cdn.discordapp.com/attachments/831930342734561290/946782202505605180/IMG_20220225_155319.jpg" alt="The menu looks like this" /></p> <p>So far I tried to :</p> <ul> <li>Make a PopupMenu, this one doesn't have a...
How does one replicate the custom options menu used by the ES File Explorer's app? So far I tried to : Make a PopupMenu, this one doesn't have a custom view that can be set Make a PopupWindow, this could work but I cannot anchor it correctly and its height won't set properly (It won't fit my layout) Is there a way of d...
android
0
2022-02-25T14:57:01.320Z
2,022
2
14
4
24
0
330
45
1
0
false
true
false
false
false
false
zero
71,282,819
Make ObjectAnimator animation go back by five seconds (in Android Studio; using Kotlin)
<p>There is a ten-second progress bar timer in my app. I used ObjectAnimator.ofInt to code the progress bar's countdown.</p> <p>Here is the issue: I would like to give the user the option to go back by five seconds every time they press a button, but I have not found any function I could use to do that.</p> <pre class=...
There is a ten-second progress bar timer in my app. I used ObjectAnimator.ofInt to code the progress bar's countdown. Here is the issue: I would like to give the user the option to go back by five seconds every time they press a button, but I have not found any function I could use to do that. [CODE] Something that I t...
android-studio|kotlin
0
2022-02-27T07:04:20.040Z
2,022
2
7
6
24
0
675
87
2
2
true
true
false
false
false
false
zero
71,315,531
How to setup the context menu of fullscreen EditText?
<p>I can setup the context menu of <a href="https://developer.android.com/reference/kotlin/android/widget/EditText" rel="nofollow noreferrer"><code>EditText</code></a> when it is not in fullscreen with <a href="https://developer.android.com/reference/kotlin/android/widget/TextView#setcustominsertionactionmodecallback" ...
I can setup the context menu of EditText when it is not in fullscreen with setCustomInsertionActionModeCallback and setCustomSelectionActionModeCallback methods but they don't do anything to setup the context menu when the EditText is in fullscreen (i.e. it remains default), and there seems to be no obvious way to do t...
android|android-edittext|contextmenu
0
2022-03-01T22:54:28.697Z
2,022
3
22
1
24
0
398
53
3
0
false
true
false
false
false
false
zero
71,326,119
Open softkeyboard in floating mode in android
<p>Is there any method to open soft-keyboard in flying/floating mode?</p> <p>The normal behaviour is like that,<a href="https://i.stack.imgur.com/rJrEp.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rJrEp.jpg" alt="enter image description here" /></a></p> <p>But I want to start keyboard like this <a...
Is there any method to open soft-keyboard in flying/floating mode? The normal behaviour is like that, But I want to start keyboard like this
android|android-softkeyboard
0
2022-03-02T16:33:07.530Z
2,022
3
16
2
24
0
140
45
2
0
false
true
false
false
false
false
zero
71,330,649
Is there a way to call a fragment just like we call an activity using Intent on recyclerview itemClick?
<p>I have an activity that has 4 fragments and one of those fragments has a recyclerview, my goal is to use the recyclerview item click to call a fragment to fill the screen(with another view).</p> <p>my item position onclick method works properly because i tested it using &quot;Intent&quot; by calling an activity and ...
I have an activity that has 4 fragments and one of those fragments has a recyclerview, my goal is to use the recyclerview item click to call a fragment to fill the screen(with another view). my item position onclick method works properly because i tested it using &quot;Intent&quot; by calling an activity and it worked....
java|android|android-fragments
0
2022-03-03T00:05:56.377Z
2,022
3
0
3
24
0
1,402
103
3
3
true
true
false
false
false
false
zero
71,332,508
how to avoid overlapping of y-Axes number on big data
<p>For my application, I making a get request for thousands of data points. When I use charts js to display the data, it overlaps a y-axis point. But I needed linear manner data on Y-axis and avoid overlapping data so is possible ??.</p> <p>I like the sleek design and UI of the graphs, but cannot get it to work well fo...
For my application, I making a get request for thousands of data points. When I use charts js to display the data, it overlaps a y-axis point. But I needed linear manner data on Y-axis and avoid overlapping data so is possible ??. I like the sleek design and UI of the graphs, but cannot get it to work well for my use c...
javascript|android|node.js|angular|charts
0
2022-03-03T05:32:14.310Z
2,022
3
5
3
24
0
605
53
5
1
true
true
false
false
false
false
zero
71,336,432
Window overlay on Accessibility Service disappear When cache memory is cleared
<p>I am using window overlay on Accessibility Service, whenever I clear cache memory the window overlay disappears and appears again after a second. Why does this happen and is there any solution for this?</p>
I am using window overlay on Accessibility Service, whenever I clear cache memory the window overlay disappears and appears again after a second. Why does this happen and is there any solution for this?
android|service|window|overlay|clear-cache
0
2022-03-03T11:29:38.870Z
2,022
3
11
3
24
0
202
78
5
0
false
true
false
false
false
false
zero
71,360,910
why connection succese in jvm and fail with responseCode 400 in android project
<p>I try this code in Idea and it work very well. but when I pack it as jar and import to another android porject, it fail. I am a green hand and don't know much. What is the different between them and how I can fix it?</p> <pre><code>fun getSourceCode(url: URL, encode: String = &quot;UTF-8&quot;): String { var con...
I try this code in Idea and it work very well. but when I pack it as jar and import to another android porject, it fail. I am a green hand and don't know much. What is the different between them and how I can fix it? [CODE]
android|connection
0
2022-03-05T09:12:11.970Z
2,022
3
9
5
24
0
223
79
2
1
true
true
false
false
false
false
zero
71,408,481
Define an Activity as main launcher that is inside feature module
<p>I have SplashActivity in a feature module, I want define that as the main launcher inside the Manifest.xml, how do I declare it in Manifest.xml, and Where should I declare it, inside Manifest of App-Module or Manifest of Feature-Module?</p>
I have SplashActivity in a feature module, I want define that as the main launcher inside the Manifest.xml, how do I declare it in Manifest.xml, and Where should I declare it, inside Manifest of App-Module or Manifest of Feature-Module?
android|android-activity|android-manifest|multi-module|android-launcher
0
2022-03-09T11:17:20Z
-1
-1
-1
-1
24
0
236
65
5
0
false
true
false
false
false
false
zero
71,411,385
How do I create a dependency and call methods from Android Java project into an Idea java Project using Intellij?
<p>I'm using Intellij with 1 Android java module and an IntelliJ IDEA Java module in the same project. Module B is dependant on Module A. The Idea module references the app module via import MyAndroidPackage.</p> <p>The modules have seperate run applications in the project. If I run the Idea Android app module, I get n...
I'm using Intellij with 1 Android java module and an IntelliJ IDEA Java module in the same project. Module B is dependant on Module A. The Idea module references the app module via import MyAndroidPackage. The modules have seperate run applications in the project. If I run the Idea Android app module, I get no issues. ...
java|android|intellij-idea|module|dependencies
0
2022-03-09T14:58:53.307Z
2,022
3
14
2
24
0
625
113
5
2
true
true
false
false
false
false
zero
71,417,608
Android Studio Emulator make my MAC computer lose internet connexion
<p>I am currently facing a problem with Android Studio and my MAC computer. In fact, when i try to run my emulator, everything works fine but at the moment it starts running, my mac computer loses internet connection.</p> <p>I have this problem since a long time but I never managed to solve it. Has anyone had this prob...
I am currently facing a problem with Android Studio and my MAC computer. In fact, when i try to run my emulator, everything works fine but at the moment it starts running, my mac computer loses internet connection. I have this problem since a long time but I never managed to solve it. Has anyone had this problem before...
macos|android-emulator|internet-connection
0
2022-03-10T00:44:23.020Z
2,022
3
0
3
24
0
347
68
3
0
false
true
false
false
false
false
zero
71,285,952
Jetpack Compose ripple with radius is not propagating when used with pointerInput to display at touch position?
<p>I created an answer for the question <a href="https://stackoverflow.com/questions/70785475/show-touch-point-using-android-jetpack-compose">here</a> to display ripple on touch position as</p> <pre><code>// This is for emitting press or release event val interactionSource = remember { MutableInteractionSource() } val ...
I created an answer for the question here to display ripple on touch position as [CODE] but when ripple radius is set it's is not created at touch position, center of the Composable instead, and not propagating as it does without radius. The on at left with radius which is not working, the one at the right without radi...
android|android-jetpack-compose
2
2022-02-27T15:16:29.303Z
2,022
2
15
6
280
0
363
111
2
1
true
true
false
false
false
false
low
71,126,144
Buildozer is throwing errors while building apk
<p>I was following a youtube tutorial on building android apps using kivy in google colab and I ran this command</p> <pre><code>!buildozer -v android debug </code></pre> <p>The log:</p> <pre><code> ENV = '/root/.bashrc' PAGER = 'cat' NCCL_VERSION = '2.7.8' TF_FORCE_GPU_ALLOW_GROWTH = 'true' JPY_PARENT_PID = '51' N...
I was following a youtube tutorial on building android apps using kivy in google colab and I ran this command [CODE] The log: [CODE] I am a beginner and I have no idea why this error is showing up I have also tried installing JDK 8 on colab by running this command [CODE] Please help me
python|android|kivy
0
2022-02-15T12:05:34.327Z
2,022
2
12
1
25
0
286
47
3
3
true
true
false
false
false
false
zero
71,178,734
How to stop/destroy a fragment when proceeding with the next fragment
<p>I have a Fragment A that execute a loop request with a Server HTTP. When the app navigate to the next Fragment B the activity in Fragment A (requests to server) doesn't stop. How can i destroy that? For example this is the my OnlyFragment and inside a SpaceView there is a loop request, when i call togameover() i go ...
I have a Fragment A that execute a loop request with a Server HTTP. When the app navigate to the next Fragment B the activity in Fragment A (requests to server) doesn't stop. How can i destroy that? For example this is the my OnlyFragment and inside a SpaceView there is a loop request, when i call togameover() i go to ...
android|android-studio|kotlin
0
2022-02-18T19:13:20.423Z
2,022
2
19
4
25
0
401
69
3
1
true
true
false
false
false
false
zero
71,215,748
How to retrieve RemoteView object which is associcate with a widget of another application on android?
<p>I want to modify the pending intent inside a remoteview of a widget, therefore i searched a lot on the internet on how to retrieve an existed RemoteView related with a given application. However, most of them are unexptected and just demonstrates how is it initialized and sets some properties(eg.,invoke setOnClickPe...
I want to modify the pending intent inside a remoteview of a widget, therefore i searched a lot on the internet on how to retrieve an existed RemoteView related with a given application. However, most of them are unexptected and just demonstrates how is it initialized and sets some properties(eg.,invoke setOnClickPendi...
widget|android-pendingintent
0
2022-02-22T04:01:35.653Z
2,022
2
4
1
25
0
698
102
2
0
false
true
false
false
false
false
zero
71,226,155
android.database.CursorIndexOutOfBoundsException: Requested column: -1, # of columns: 2
<p>I'm passing a uri I got from the camera and can't seem to retrieve the file path</p> <pre><code>public String getActualPath(Uri contentURI) { try { String result; Cursor cursor = context.getContentResolver().query(contentURI, null, null, null, null); if (cursor == null) { ...
I'm passing a uri I got from the camera and can't seem to retrieve the file path [CODE] I'm getting a cursor.getCount() = 1 but the idx is -1 this is how the image is captured [CODE]
android|file|provider
0
2022-02-22T17:58:01.790Z
2,022
2
17
1
25
0
182
87
3
2
true
true
false
false
false
false
zero
71,227,830
Get reversed items from real-time database
<p>I have a Pagination recycler view inside my app and i'm loading 3 post every time the user scrolls down. But i want to display the items from the database, from last child to first child. I'm beginner on firebase querying and i don't know how to do something like this</p> <p><strong>My HomeFragment:</strong></p> <pr...
I have a Pagination recycler view inside my app and i'm loading 3 post every time the user scrolls down. But i want to display the items from the database, from last child to first child. I'm beginner on firebase querying and i don't know how to do something like this My HomeFragment: [CODE]
java|android|firebase|firebase-realtime-database
0
2022-02-22T20:22:15.617Z
2,022
2
20
1
25
0
292
42
4
1
true
true
false
false
false
false
zero
71,247,515
BottomApp Bar is not showing in my phone while testing, but showing in android studio design preview, what should i do? How can I fix it?
<pre><code>I am creating a music app so i want to add bottom app bar in recyclerview, i tried but only Floating Action button is showing but bottomApp bar is not showing while testing on my phone, however its showing in android studio design preview, how can I fix it? what should i do? here is xml code... &lt;?xml v...
[CODE] BottomApp Bar is not showing in my phone while testing, but showing in android studio design preview, what should i do? How can I fix it? BottomApp Bar is not showing in my phone while testing, but showing in android studio design preview, what should i do? How can I fix it? BottomApp Bar is not showing in my ph...
android|xml|android-studio|android-music-player|android-bottomappbar
0
2022-02-24T05:27:29.897Z
2,022
2
5
3
25
0
420
137
5
1
true
true
false
false
false
false
zero
71,294,329
Null intent in onStartCommant of Geofence service
<p>This is my implementation:</p> <pre><code>public boolean addGeofencingPoint(double la, double lo, int r, String key) { //logic... if (ActivityCompat.checkSelfPermission(context, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED) { PendingIntent intent = getG...
This is my implementation: [CODE] For some reason MyGeofencingUpdatesSevice.onStartCommand(Intent intent, int flags, int startId) gets called very frequently with intent=null . Why is that happening?
android|android-geofence
0
2022-02-28T11:27:22.467Z
2,022
2
11
0
25
0
199
49
2
1
true
true
false
false
false
false
zero
71,301,112
Android License - Achieve functionality of deprecated functions without root
<p>I am in the process of developing an application which requires to turn the hotspot on programmatically, get the hotspot's SSID and password (programmatically as well), change the systems time, restart the application and also reboot the phone - all programmatically. So far I found that most of these functions have ...
I am in the process of developing an application which requires to turn the hotspot on programmatically, get the hotspot's SSID and password (programmatically as well), change the systems time, restart the application and also reboot the phone - all programmatically. So far I found that most of these functions have bee...
java|android|android-studio|android-licenses
0
2022-02-28T21:13:24.890Z
2,022
2
21
0
25
0
1,233
76
4
0
false
true
false
false
false
false
zero
71,411,865
Listeners from all types don't work and they are greyed out
<p>I'm trying to create a listener from the simplest kind but for some reason I can't.</p> <p>Code:</p> <pre><code>package com.example.check; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.View; import android.widget.Button; public class MainActi...
I'm trying to create a listener from the simplest kind but for some reason I can't. Code: [CODE] And the .xml file: [CODE] It's a very simple listener but for some reason it doesn't work. The IDE doesn't detect any error, the problem is in this part of the code: new View.OnClickListener() The IDE marks it in gray as it...
android|android-studio|gradle|android-gradle-plugin|onclicklistener
0
2022-03-09T15:29:53.280Z
2,022
3
15
2
25
0
982
59
5
2
true
true
false
false
false
false
zero
71,426,659
I says E/Volley: [65] NetworkUtility.shouldRetryException: Unexpected response code 404 for http://10.0.2.2:8000/api/rooms/
<p>**Here I have been trying to post in my data base using volley but it say <em><strong>&quot;E/Volley: [65] NetworkUtility.shouldRetryException: Unexpected response code 404 for <a href="http://10.0.2.2:8000/api/rooms/%22" rel="nofollow noreferrer">http://10.0.2.2:8000/api/rooms/&quot;</a></strong></em> and <em><stro...
**Here I have been trying to post in my data base using volley but it say &quot;E/Volley: [65] NetworkUtility.shouldRetryException: Unexpected response code 404 for http://10.0.2.2:8000/api/rooms/&quot; and bad request 400 in backend , and i have tried everything I can but i can't solve it. Also it shows null pointer i...
java|android|django
0
2022-03-10T15:25:15.527Z
2,022
3
15
3
25
0
418
123
3
1
true
true
false
false
false
false
zero
71,428,709
E/fail: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path
<p>I started learn retrofit library and I have one problem</p> <p>My API is <a href="https://alien-backend.herokuapp.com/api/tutorials" rel="nofollow noreferrer">https://alien-backend.herokuapp.com/api/tutorials</a></p> <pre><code>public interface UserService { @GET(&quot;api/tutorials?type=json&quot;) Call&lt...
I started learn retrofit library and I have one problem My API is https://alien-backend.herokuapp.com/api/tutorials [CODE] public class MainActivity extends AppCompatActivity { [CODE] } public class ApiClient { private static Retrofit getRetrofit(){ [CODE] } When I try to run app I get a problem D/OkHttp: {&quot;totalI...
android|pagination|retrofit2|response|webapi
0
2022-03-10T17:56:15.700Z
2,022
3
17
3
25
0
1,726
73
5
3
true
true
false
false
false
false
zero
71,439,107
How does isABC in Kotlin code relate to ABC in an XML file when using data binding?
<p>So I was doing Android Kotlin Fundamentals course, <a href="https://developer.android.com/codelabs/kotlin-android-training-internet-filtering?index=..%2F..android-kotlin-fundamentals#2" rel="nofollow noreferrer">https://developer.android.com/codelabs/kotlin-android-training-internet-filtering?index=..%2F..android-ko...
So I was doing Android Kotlin Fundamentals course, https://developer.android.com/codelabs/kotlin-android-training-internet-filtering?index=..%2F..android-kotlin-fundamentals#2 There is a Kotlin class MarsProperty, [CODE] Which an ImageView then shows a dollar sign depending on isRental's boolean value, [CODE] I know fo...
android|kotlin
0
2022-03-11T13:15:16.903Z
2,022
3
13
4
25
0
608
83
2
2
true
true
false
false
false
false
zero
71,385,018
Manifest merger failed : android:exported needs to be explicitly specified for <receiver>. Flutter
<p>I'm facing <strong>Manifest merger failed : android:exported needs to be explicitly specified for .</strong> this error from 2 days. <strong>And I don’t even use any receiver or service etc in AndroidMenifest.xml .</strong></p> <p><em><strong>What I already tried.</strong></em> Add the <strong>android:exported=&quot...
I'm facing Manifest merger failed : android:exported needs to be explicitly specified for . this error from 2 days. And I don’t even use any receiver or service etc in AndroidMenifest.xml . What I already tried. Add the android:exported=&quot;true&quot; or android:exported=&quot;false&quot; . Also, update the targetSdk...
android|flutter|dart
1
2022-03-07T17:29:50.860Z
2,022
3
17
0
281
0
896
98
3
3
true
true
false
false
false
false
low
71,116,374
Errors with in gradle values
<p>I've just started creating an app on Android Studio 2020.3.1 but I'm getting errors when I'm trying to run my project. Here are the messages: C:\ProjectName.grade\7.0.2\cahes\transforms-3\5e5271a4b35cca1894a2e...\transformed\core-1.0.0-alpha03\res\values\values.xml:3:4: Invalid for given ressource value. C:\Project...
I've just started creating an app on Android Studio 2020.3.1 but I'm getting errors when I'm trying to run my project. Here are the messages: C:\ProjectName.grade\7.0.2\cahes\transforms-3\5e5271a4b35cca1894a2e...\transformed\core-1.0.0-alpha03\res\values\values.xml:3:4: Invalid for given ressource value. C:\ProjectName...
android
0
2022-02-14T18:08:48.620Z
2,022
2
18
0
26
0
1,035
28
1
1
true
true
false
false
false
false
zero
71,147,284
ListView Loader in Hybrid Mobile App Testing with Appium using Javascript
<p>I'm unable to grab loader in the Hybrid mobile app with Appium, WDIO using javascript. I need to grab the loader and wait until the load is finished.</p>
I'm unable to grab loader in the Hybrid mobile app with Appium, WDIO using javascript. I need to grab the loader and wait until the load is finished.
javascript|automation|hybrid-mobile-app|appium-android|wdio
0
2022-02-16T18:19:13.333Z
2,022
2
18
2
26
0
149
73
5
0
false
true
false
false
false
false
zero
71,176,574
How to ask for permissions in Android for communicating with stockfish binary in Unity
<p>I am trying to load stockfish android binary for the android App.</p> <pre><code> string filepath = Application.persistentDataPath + &quot;/&quot; + &quot;stockfish.android.armv7.so&quot;; UnityEngine.Debug.Log(filepath); if (!File.Exists(filepath)) { WWW executable = new WWW(&quo...
I am trying to load stockfish android binary for the android App. [CODE] Stock fish location [CODE] stockfish location in Android build [CODE] adb logcat log [CODE] Any ideas for handling such a case will be helpful. I think my logic for Getting permission is broken. I have no idea how I can do it. Can this be done fro...
java|android|unity3d
0
2022-02-18T16:11:41.667Z
2,022
2
16
4
26
0
593
86
3
5
true
true
false
false
false
false
zero
71,197,803
Closing dialog inside shouldOverrideUrlLoading() or ignoring in project, when is custom url open
<p>I am trying to auth google user in WebView, I found a good solution for these days, it works fine for google login, but I cannot disable dialog in other urls like (, sms: , smsto:)</p> <p><em>Example Situation</em>: User click on telephone number in my app, it will open the phone dial, but when he returns back.. the...
I am trying to auth google user in WebView, I found a good solution for these days, it works fine for google login, but I cannot disable dialog in other urls like (, sms: , smsto:) Example Situation : User click on telephone number in my app, it will open the phone dial, but when he returns back.. there is a empty dial...
javascript|android|android-studio|webview|google-signin
0
2022-02-20T19:06:01.733Z
2,022
2
19
6
26
0
599
96
5
1
true
true
false
false
false
false
zero
71,227,915
I have a logic issue in my tictactoe app. When I choose 2 in a row and computer randomly choses the 3 squere in the same row it finishes the game
<p>I'm in a process of making the TicTacToe app in Android Studio using java, and this is my first try at this. So the failure is the winning section, and I cannot find the error myself. When I choose 2 in a row and the computer randomly chooses the 3 square in the same row it finishes the game and the winner is the c...
I'm in a process of making the TicTacToe app in Android Studio using java, and this is my first try at this. So the failure is the winning section, and I cannot find the error myself. When I choose 2 in a row and the computer randomly chooses the 3 square in the same row it finishes the game and the winner is the compu...
java|android-studio
1
2022-02-22T20:29:47.153Z
2,022
2
20
1
26
0
381
145
2
1
true
true
false
false
false
false
low
71,256,131
DialogFragment over DialogFragment produces spawn with no background animation
<p>Good evening. A fast question.</p> <p>i have seen that showing a not-fullscreen dialogfragment over activity or fragment, animates normally. but when dialogfragment is showing over other dialogfragment, it animates the view BUT the dimmed background is not animating..its just appears.</p> <p>Any reason why? also any...
Good evening. A fast question. i have seen that showing a not-fullscreen dialogfragment over activity or fragment, animates normally. but when dialogfragment is showing over other dialogfragment, it animates the view BUT the dimmed background is not animating..its just appears. Any reason why? also any workaround? exam...
android|android-fragments|android-dialogfragment|android-dialog|dialogfragment
0
2022-02-24T17:45:40.507Z
2,022
2
17
3
26
0
573
78
5
0
false
true
false
false
false
false
zero
71,315,612
multiple login in webviews android
<p>How to multiple instagram login in webviews android? like this question <a href="https://stackoverflow.com/q/26323050/14334154">enter link description here</a></p> <p>Thanks for your help.</p>
How to multiple instagram login in webviews android? like this question enter link description here Thanks for your help.
java|android|webview|android-webview
0
2022-03-01T23:05:21.033Z
2,022
3
23
1
26
0
121
34
4
0
false
true
false
false
false
false
zero
71,316,672
how can apply ellipse gradient in android programmatically
<p>I used canvas and path to draw curved ellipse. And I want to apply radial gradient in my ellipse. can you help me?</p> <pre><code> // Draw Ellipse anyPath.moveTo(Start X, Start Y) anyPath.cubicTo(Start X, Start Y, Center1 X, Center1 Y, End X, End Y) anyPath.cubicTo(End X, End Y, Center2 X, Center2 Y, Start X, Start ...
I used canvas and path to draw curved ellipse. And I want to apply radial gradient in my ellipse. can you help me? [CODE]
android
0
2022-03-02T02:09:03.623Z
2,022
3
2
2
26
0
121
58
1
1
true
true
false
false
false
false
zero
71,324,963
React Native - keep the middle child centered with variable-width children on either side?
<p>This is my desired outcome:</p> <p><img src="https://i.stack.imgur.com/g1Ey5.png" alt="Visualization of problem" /></p> <p>I want the green and blue boxes to <strong>always</strong> be the same length, such that the red box is always centered. The purple box is variable width, based on it's children. The yellow box ...
This is my desired outcome: I want the green and blue boxes to always be the same length, such that the red box is always centered. The purple box is variable width, based on it's children. The yellow box always stays the same. At the same time, I would like the red box to grow as big as possible. The centered text may...
android|ios|react-native|flexbox
0
2022-03-02T15:08:21.913Z
2,022
3
15
2
26
0
917
90
4
1
true
true
false
false
false
false
zero
71,352,105
Handling submodules while taking pull on parent repository
<p>I have created one simple android application. In this application, I am using another submodule git repository. When I add git submodule into my parent project it creates some entries in the parent's git folders and creates some files.</p> <p>Now here I am having two active git repositories. One is the parent one a...
I have created one simple android application. In this application, I am using another submodule git repository. When I add git submodule into my parent project it creates some entries in the parent's git folders and creates some files. Now here I am having two active git repositories. One is the parent one and the oth...
android|git|git-submodules
0
2022-03-04T13:24:35.637Z
2,022
3
13
4
26
0
546
58
3
0
false
true
false
false
false
false
zero
71,372,792
Left to RightOf Constraint - Drag Shortcut?
<p><a href="https://i.stack.imgur.com/ItOs9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ItOs9.png" alt="Constraint" /></a></p> <p>Is there a shortcut in Android Studio to drag or automatically create these kinds of constraints? So far it only works for StartOf constraints when clicking and draggi...
Is there a shortcut in Android Studio to drag or automatically create these kinds of constraints? So far it only works for StartOf constraints when clicking and dragging like this: Is there such a quick way in the Blueprint view instead of XML editing? Please let me know.
android-studio|android-layout
0
2022-03-06T17:45:16.440Z
2,022
3
17
6
26
0
272
43
2
0
false
true
false
false
false
false
zero
71,373,401
using dynamic links without app on playstore
<p>I am using firebase dynamic links. My app is not on playstore. Dynamic link take user to playstore. But i want it to download app from url.</p>
I am using firebase dynamic links. My app is not on playstore. Dynamic link take user to playstore. But i want it to download app from url.
android|firebase-dynamic-links|dynamic-links
0
2022-03-06T19:09:11.573Z
2,022
3
19
6
26
0
139
44
3
0
false
true
false
false
false
false
zero
71,395,261
Show 'your branch is behind x commits' notification or icon
<p>I'm hoping that Android Studio's git integration UI has similar functionality to Sourcetree, where it shows a little icon with a number on a branch that has changes ready to pull locally. If the functionality exists, how can I toggle that view?</p>
I'm hoping that Android Studio's git integration UI has similar functionality to Sourcetree, where it shows a little icon with a number on a branch that has changes ready to pull locally. If the functionality exists, how can I toggle that view?
android-studio|branch
0
2022-03-08T12:43:09.807Z
2,022
3
12
1
26
0
244
59
2
0
false
true
false
false
false
false
zero
71,385,567
Android + JaCoCo: jacocoTestCoverageVerification never fails
<p>I am trying to configure a new Android project to use JaCoCo for test coverage and fail when coverage is below a certain threshold. I have used <a href="https://docs.gradle.org/current/userguide/jacoco_plugin.html" rel="nofollow noreferrer">this documentation</a>, as well as looking at many SO posts. I expect the ta...
I am trying to configure a new Android project to use JaCoCo for test coverage and fail when coverage is below a certain threshold. I have used this documentation , as well as looking at many SO posts. I expect the task to fail, since I don't have test coverage, but it succeeds without any warnings. My :app build.gradl...
android|gradle|code-coverage|jacoco|android-jacoco
0
2022-03-07T18:16:49.503Z
2,022
3
18
0
282
0
684
60
5
3
true
true
false
false
false
false
zero
71,348,530
Set NDK version for react-native module
<p>I'm trying to setup <a href="https://github.com/Shopify/react-native-skia" rel="nofollow noreferrer">react-native skia</a> library into project.</p> <p>IOS working perfectly but not Android.</p> <p>In the documentation, it's wrote :</p> <blockquote> <p>Currently, you will need Android NDK to be installed. If you hav...
I'm trying to setup react-native skia library into project. IOS working perfectly but not Android. In the documentation, it's wrote : Currently, you will need Android NDK to be installed. If you have Android Studio installed, make sure $ANDROID_NDK is available. ANDROID_NDK=/Users/username/Library/Android/sdk/ndk-bundl...
android|react-native|sdk|android-ndk
2
2022-03-04T08:28:34.017Z
2,022
3
8
4
538
0
926
39
4
0
false
true
false
false
false
false
low
71,094,788
MediaPlayer strange behavior
<p>I have an activity with several imageviews. They have a touch listener, so when one is touched, a small sound plays, one if it's correct and another if it's wrong.</p> <p>I'm using MediaPlayer for the sounds but I'm experiencing a strange behavior. When the activity starts, let's say for a couple of minutes, the sou...
I have an activity with several imageviews. They have a touch listener, so when one is touched, a small sound plays, one if it's correct and another if it's wrong. I'm using MediaPlayer for the sounds but I'm experiencing a strange behavior. When the activity starts, let's say for a couple of minutes, the sounds play w...
android|android-mediaplayer
0
2022-02-12T18:37:09.037Z
2,022
2
18
5
27
0
804
28
2
1
true
true
false
false
false
false
zero
71,098,425
What is the total download that needs to exceed then show the badge of +1M in the Google Play Store?
<p>Please your support, the app download is more than 1M downloads in the Google Play store but the badge is not shown for +1M downloads.</p>
Please your support, the app download is more than 1M downloads in the Google Play store but the badge is not shown for +1M downloads.
android|download|google-play|google-play-services
0
2022-02-13T06:29:32.123Z
2,022
2
6
6
27
0
134
100
4
0
false
true
false
false
false
false
zero
71,106,391
Cannot display image over Android status/notification bars
<p>I'm having no success displaying over the status/notification bars.</p> <p>My code:</p> <pre><code>WindowInsetsControllerCompat windowInsetsController = ViewCompat.getWindowInsetsController( getWindow( ).getDecorView( )); windowInsetsController.hide( WindowInsetsCompat.Type.systemBars( )); getWindow( ).setFlags( Wi...
I'm having no success displaying over the status/notification bars. My code: [CODE] Help!
android|android-statusbar|android-notification-bar
0
2022-02-14T01:51:07.197Z
2,022
2
1
0
27
0
89
58
3
1
true
true
false
false
false
false
zero
71,111,450
Why is the highest byte of the virtual address of the user space not all zeros on the arm64 platform?
<p>I called the “malloc” function at native service on the ard12.0 arm64 platform, and found that the highest byte of the returned pointer is not zero, and the current ARM MTE is not enabled, is there any possibility? In addition to MTE use, is there any other purpose for the high byte here? thanks~</p> <p>According to...
I called the “malloc” function at native service on the ard12.0 arm64 platform, and found that the highest byte of the returned pointer is not zero, and the current ARM MTE is not enabled, is there any possibility? In addition to MTE use, is there any other purpose for the high byte here? thanks~ According to arm64 mem...
android|linux|memory-management|arm64
0
2022-02-14T11:54:43.853Z
2,022
2
11
0
27
0
384
101
4
0
false
true
false
false
false
false
zero
71,120,569
How Android application import cert for Chrome OS programmatically?
<p>Used android code to import the cert programmatically, BUT the cert can ONLY be imported into Android sub system, cert cannot be found from Chrome browser on Chrome book.</p>
Used android code to import the cert programmatically, BUT the cert can ONLY be imported into Android sub system, cert cannot be found from Chrome browser on Chrome book.
android|ssl|client-certificates|chromebook
0
2022-02-15T02:47:56.977Z
2,022
2
2
1
27
0
170
67
4
0
false
true
false
false
false
false
zero
71,124,647
How can I forward Events from my Handler to the main UI Thread?
<p>This is my first non-trivial project in Android and in OOP, so there might be quite a few anti-patterns in this.</p> <p>In my MainActivity I have a companion object CustomHandler, which is then accesssed by a Thread receiving messages from an Arduino via Bluetooth. For the Bluetooth connection I closely followed thi...
This is my first non-trivial project in Android and in OOP, so there might be quite a few anti-patterns in this. In my MainActivity I have a companion object CustomHandler, which is then accesssed by a Thread receiving messages from an Arduino via Bluetooth. For the Bluetooth connection I closely followed this tutorial...
android|kotlin|eventhandler
0
2022-02-15T10:13:31.060Z
2,022
2
10
1
27
0
926
63
3
2
true
true
false
false
false
false
zero
71,126,296
Subscribe for external Google Calendar via Android programatically
<p>I want to subscribe external Google Calendar into my Google calendar via intent from third-party application. I'm trying to make somehow intent with calendar URL to Google Calendar native application from my application. I can't find in Google calendar application such functionality, of course if i open the Browser ...
I want to subscribe external Google Calendar into my Google calendar via intent from third-party application. I'm trying to make somehow intent with calendar URL to Google Calendar native application from my application. I can't find in Google calendar application such functionality, of course if i open the Browser wit...
android|android-intent|calendar|google-calendar-api
2
2022-02-15T12:17:23.240Z
2,022
2
12
1
27
0
594
66
4
0
false
true
false
false
false
false
low
71,162,202
why not working properly Multiple chronometer Count Up Timer in my recycler view?
<p>I have several count-up timers in my Android app (use the Chronometer class) and I want these timers to work independently, but when I start the first-timer, the second-timer works from the continuation of this first-timer. .</p> <ul> <li>I use Toggle-button for the start and stop the timer.</li> <li>below code is f...
I have several count-up timers in my Android app (use the Chronometer class) and I want these timers to work independently, but when I start the first-timer, the second-timer works from the continuation of this first-timer. . I use Toggle-button for the start and stop the timer. below code is for adapter class . public...
java|android-studio
1
2022-02-17T16:47:32.443Z
2,022
2
16
3
27
0
400
81
2
1
true
true
false
false
false
false
low
71,172,667
i want to store items to cart when click on elegant number button
<p>I have store items when click plus button in elegantnumber button to the cart</p> <p><strong>Item recycler adapter</strong></p> <pre><code> public void onBindViewHolder(@NonNull ViewHolder holder, final int position) { btn1.setRange(1, 10); btn1.setOnClickListener((ElegantNumberButton.OnClickListener)...
I have store items when click plus button in elegantnumber button to the cart Item recycler adapter [CODE]
java|android
0
2022-02-18T11:22:51.583Z
2,022
2
11
4
27
0
106
65
2
1
true
true
false
false
false
false
zero
71,216,841
Extracting YUV frames from a HEVC stream on android
<p>I have an incoming hevc video stream (over the network), I am able to render this to a SurfaceView and show it on the screen. But I would instead like to extract YUV (or RGB) frames without rendering it on screen. Is this possible?</p>
I have an incoming hevc video stream (over the network), I am able to render this to a SurfaceView and show it on the screen. But I would instead like to extract YUV (or RGB) frames without rendering it on screen. Is this possible?
android|surfaceview|android-mediacodec
0
2022-02-22T06:34:12.913Z
2,022
2
6
1
27
0
231
51
3
0
false
true
false
false
false
false
zero
71,235,182
What's the unit of android microphone receive?
<p>I developt an application which receive the data of the microphone in C langauge with the function below :</p> <pre><code>AAudioStreamBuilder_setDirection(streamBuilder, AAUDIO_DIRECTION_INPUT); AAudioStreamBuilder_setSharingMode(streamBuilder, AAUDIO_SHARING_MODE_EXCLUSIVE); AAudioStreamBuilder_setSampleRate(stream...
I developt an application which receive the data of the microphone in C langauge with the function below : [CODE] Do you know what's the unit receive by my callback function ? Cause I want to determine the dB average and it didn't return the same value as another application with the below function : [CODE] s_fifo.A is...
c|android-studio|audio
1
2022-02-23T10:25:21.810Z
2,022
2
10
2
27
0
390
46
3
2
true
true
false
false
false
false
low
71,246,244
Android widget preview order
<p>When I want to add a widget to the home page, I need to go the the widget menu to search the widget I want. I am wondering what is the widget sequence according to ? Is the user's usage frequency, the widget's size or compatibility of android version? <a href="https://stackoverflow.com/questions/38542132/changing-th...
When I want to add a widget to the home page, I need to go the the widget menu to search the widget I want. I am wondering what is the widget sequence according to ? Is the user's usage frequency, the widget's size or compatibility of android version? Somebody had asked the question similar , but it was long time ago.
android|widget
0
2022-02-24T02:08:46.557Z
2,022
2
2
3
27
0
319
28
2
0
false
true
false
false
false
false
zero
71,255,583
Running multiple simulators from TestNG through Base class
<p>I am using TestNG to run multiple simulators on my local machine. So I am sending the parameters from TestNG as</p> <pre><code>&lt;test thread-count=&quot;5&quot; name=&quot;Login&quot;&gt; &lt;parameter name=&quot;deviceName&quot; value =&quot;iPhone 11&quot;/&gt; &lt;parameter name=&quot;platformVe...
I am using TestNG to run multiple simulators on my local machine. So I am sending the parameters from TestNG as [CODE] I am logging in user using @BeforeMethod before every test case as [CODE] As some of the test cases need to run after the login so I have to initiate driver in every test case where I set the noReset c...
selenium|selenium-webdriver|appium|selenium-grid|appium-android
0
2022-02-24T16:59:18.467Z
2,022
2
16
3
27
0
1,055
58
5
3
true
true
false
false
false
false
zero
71,278,594
Is it possible connect an Android device to a server that runs via SSH?
<p>I'm trying to connect my mobile device to a server that runs in a remote computer. In my local computer I'm connected via ssh to this server, but I wanted to know it it's possible to connect my mobile to this server and how.</p> <p>Thank you very much!</p>
I'm trying to connect my mobile device to a server that runs in a remote computer. In my local computer I'm connected via ssh to this server, but I wanted to know it it's possible to connect my mobile to this server and how. Thank you very much!
java|android|ssh|server|remote-server
0
2022-02-26T16:54:40.940Z
2,022
2
16
5
27
0
245
71
5
0
false
true
false
false
false
false
zero
71,292,981
Why size() and requiredSize() apply wrong value?
<p>I'm working on chart layout and want all my &quot;dots&quot; on the chart have the same specified size. But the layout inspector shows incorrect value:</p> <p><a href="https://i.stack.imgur.com/xb0LJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xb0LJ.png" alt="enter image description here" /></...
I'm working on chart layout and want all my &quot;dots&quot; on the chart have the same specified size. But the layout inspector shows incorrect value: Here is my chart composable: [CODE] Here is my line chart scaffold that is using for sharing the state object. [CODE] My line chart layout: [CODE] And the dot composabl...
android|android-jetpack-compose
0
2022-02-28T09:37:05.730Z
2,022
2
9
0
27
0
380
48
2
4
true
true
false
false
false
false
zero
71,317,650
Can we integrate dialogflow agent while extending an Android app to Google Assistant with App Actions
<p>We are planning to extend an Android app to Google Assistant with App Actions. Does it mean that we can invoke our dialogflow actions using &quot;action.Main&quot; intent in a mobile app. Also, instead of invoking standard BII in actions app, can we invoke user defined intents from dialogflow agent.</p>
We are planning to extend an Android app to Google Assistant with App Actions. Does it mean that we can invoke our dialogflow actions using &quot;action.Main&quot; intent in a mobile app. Also, instead of invoking standard BII in actions app, can we invoke user defined intents from dialogflow agent.
android|dialogflow-es|google-assistant
0
2022-03-02T04:58:46.903Z
2,022
3
4
2
27
0
300
101
3
0
false
true
false
false
false
false
zero
71,328,639
Gradle deletes all folders in directory when trying to build using assembleRelease
<p>Just like the title says, Gradle is deleting all the folders in the current directory when using the command <code>sh ./gradlew assembleRelease</code> I am using a Mac and Gradle version 7.0.2</p> <p>When searching on Google, all I find is how to do it, not what may be causing it.</p> <p>I am not quite sure what oth...
Just like the title says, Gradle is deleting all the folders in the current directory when using the command sh ./gradlew assembleRelease I am using a Mac and Gradle version 7.0.2 When searching on Google, all I find is how to do it, not what may be causing it. I am not quite sure what other information you would need,...
android|macos|android-gradle-plugin
0
2022-03-02T20:16:26.113Z
2,022
3
20
2
27
0
379
82
3
0
false
true
false
false
false
false
zero
71,335,674
Same App Versions Appear in FirebasePerformance Dashboard for Android
<p>I've tried to use FirebasePerformance, and I notice that same versions with different build number( I assume ) appear on my performance monitor dashboard.</p> <p>I reviewed my codes with <a href="https://firebase.google.com/docs/perf-mon/get-started-android" rel="nofollow noreferrer">the guideline</a> but I couldn't...
I've tried to use FirebasePerformance, and I notice that same versions with different build number( I assume ) appear on my performance monitor dashboard. I reviewed my codes with the guideline but I couldn't find any clue. Is there anyone who experiences this while using FirebasePerformance?
android|firebase|firebase-performance
0
2022-03-03T10:34:18.037Z
2,022
3
10
3
27
0
293
69
3
0
false
true
false
false
false
false
zero
71,362,216
BottomNavigationView dont show menu
<p>I'm trying to add a BottomMenu to my app but it doesn't appear. I have tried changing the background color, adding the wight property but nothing works.</p> <p>My activity</p> <pre><code>&lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:...
I'm trying to add a BottomMenu to my app but it doesn't appear. I have tried changing the background color, adding the wight property but nothing works. My activity [CODE] bottommenu.xml [CODE] Here you can see how it does not show anything
android|xml|bottomnavigationview
0
2022-03-05T12:32:55.880Z
2,022
3
12
5
27
0
240
35
3
2
true
true
false
false
false
false
zero
71,369,668
Android Studio Emulator not Working (Lenovo Yoga 370)
<p>I have tried multiple times to fix my Android Studio emulator without any success. I have even factory reset my computer and tried it with no success. My computer is a Lenovo Yoga 370 with upgraded ram of 16gb. Here are the details, in the image.</p> <p>Any help would greatly be appreciated, as I require this progra...
I have tried multiple times to fix my Android Studio emulator without any success. I have even factory reset my computer and tried it with no success. My computer is a Lenovo Yoga 370 with upgraded ram of 16gb. Here are the details, in the image. Any help would greatly be appreciated, as I require this program for univ...
windows|android-studio
1
2022-03-06T11:03:14.893Z
2,022
3
11
6
27
0
356
53
2
0
false
true
false
false
false
false
low
71,381,688
How to make "android_logger" work in conjuction with "log/log4rs"?
<p>I'm developing a crossplatform application written in Rust, using <code>log</code>, <code>log4rs</code> and <code>android_logger</code> in the same project, as loggers.</p> <p><code>android_logger</code> is used for a build for Android, obviously.</p> <p>I also set up some stuff for <code>log4rs</code> when the app ...
I'm developing a crossplatform application written in Rust, using log , log4rs and android_logger in the same project, as loggers. android_logger is used for a build for Android, obviously. I also set up some stuff for log4rs when the app is being run, that is, I don't use it with its preexisting default settings. How,...
android|logging|rust
0
2022-03-07T13:17:00.630Z
2,022
3
13
0
27
0
599
66
3
0
false
true
false
false
false
false
zero
71,426,384
Forwarding variables from android studio (java) to Unix (Debian)
<p>After spending much time trying the &quot;export&quot; command, and SendEnv command, I am stuck. No way to export variables from my android java code toward a Linux ssh tunnel.</p> <p>The ssh command is sent by Android, and Here is where I am at this point :</p> <p>command= &quot;ssh -t root@192.168.69.1 export PORT...
After spending much time trying the &quot;export&quot; command, and SendEnv command, I am stuck. No way to export variables from my android java code toward a Linux ssh tunnel. The ssh command is sent by Android, and Here is where I am at this point : command= &quot;ssh -t root@192.168.69.1 export PORT=$PORT\n&quot;+&q...
android|variables|ssh|debian|export
0
2022-03-10T15:07:49.137Z
2,022
3
15
3
27
0
1,554
64
5
0
false
true
false
false
false
false
zero
71,103,906
how to use search view in fragments correctly
<p>developers i don't know where i making mistake but when i am searching in search button in menu then whole screen becomes blank .even not showing recycler view .</p> <p>in my fragment class i have used &quot;setHasOptionMenu(true);&quot;</p> <p>and also&quot;public void onCreateOptinMenu&quot;</p> <p>Thank you in a...
developers i don't know where i making mistake but when i am searching in search button in menu then whole screen becomes blank .even not showing recycler view . in my fragment class i have used &quot;setHasOptionMenu(true);&quot; and also&quot;public void onCreateOptinMenu&quot; Thank you in advance may be my mistake ...
android|android-fragments|search
0
2022-02-13T18:57:40.213Z
2,022
2
18
6
28
0
429
45
3
2
true
true
false
false
false
false
zero
71,105,002
How to save volley request (StringRequest and JsonObjectRequest) to the db/shared pref when there's no internet connection?
<p>How can I store volley request (e.g. StringRequest, JsonObjectRequest) to sqlite/shared preference when there's no internet connection?</p> <p>I checked the other SO post here and mostly of them say <em>store it via shared preference</em> and yet they don't provide the method how to do it, afaik SP only store primit...
How can I store volley request (e.g. StringRequest, JsonObjectRequest) to sqlite/shared preference when there's no internet connection? I checked the other SO post here and mostly of them say store it via shared preference and yet they don't provide the method how to do it, afaik SP only store primitive data type value...
android|android-sqlite|sharedpreferences|android-volley
0
2022-02-13T21:27:48.640Z
2,022
2
21
6
28
0
499
123
4
0
false
true
false
false
false
false
zero
71,151,627
I generate two modules whenever I create a new flutter project from scratch
<p>I want to make only a top-level project with a single module. However, in Android studio, Project Settings/Modules/, there are two modules by default. there are two modules(untitled and untitled_android)</p>
I want to make only a top-level project with a single module. However, in Android studio, Project Settings/Modules/, there are two modules by default. there are two modules(untitled and untitled_android)
android|android-studio|module
0
2022-02-17T02:08:19.773Z
2,022
2
2
3
28
0
203
75
3
0
false
true
false
false
false
false
zero
71,157,009
Is there a way to Disable/Gray-out an application's launcher icon on android?
<p>I'm currently trying to disable an android application's launcher icon. Basically the result I want is to have the launcher icon be still visible, but doesn't do anything (doesn't launch application) when you click on it.</p> <p>I've tried setting the android:enabled to false in the manifest file for the application...
I'm currently trying to disable an android application's launcher icon. Basically the result I want is to have the launcher icon be still visible, but doesn't do anything (doesn't launch application) when you click on it. I've tried setting the android:enabled to false in the manifest file for the application and its c...
android|android-activity|icons|launcher
0
2022-02-17T11:10:14.397Z
2,022
2
11
3
28
0
462
77
4
0
false
true
false
false
false
false
zero
71,203,366
Android: How to save any part of an mp4 file data stored in memory?
<p>I'm currently recording a surface and storing encoded data of a surface with MediaRecorder(by passing filedescriptor for output). I will be recording the video for 5 mins and preallocated the required memory to store the encoded data.</p> <p>How can I do it if I need to save only a part of the video (let's say 10mb ...
I'm currently recording a surface and storing encoded data of a surface with MediaRecorder(by passing filedescriptor for output). I will be recording the video for 5 mins and preallocated the required memory to store the encoded data. How can I do it if I need to save only a part of the video (let's say 10mb encoded da...
android|mp4|h.264|mediarecorder
0
2022-02-21T08:42:31.770Z
2,022
2
8
0
28
0
482
67
4
0
false
true
false
false
false
false
zero
71,243,352
Rotate app image for portrait display (Android)
<p>I am working on a development board called orbbec (android 9) and in turn it will connect to a 43 inch 4k TV screen, but this screen will go vertically, so I must rotate the image vertically. How can I do this? Greetings</p> <p><a href="https://i.stack.imgur.com/zX6Q6.jpg" rel="nofollow noreferrer">Test in vertical ...
I am working on a development board called orbbec (android 9) and in turn it will connect to a 43 inch 4k TV screen, but this screen will go vertically, so I must rotate the image vertically. How can I do this? Greetings Test in vertical position screen
android|kotlin|rotation|orientation
0
2022-02-23T20:03:15.237Z
2,022
2
20
2
28
0
253
47
4
0
false
true
false
false
false
false
zero
71,281,595
How should i bind viewList in android studio using Fragment and ViewModel class?
<p>I want to create binding for <strong>listView</strong> named (id) <strong>list</strong> i was able to bind <strong>textView</strong>, but i have no idea how to bind list. Below i provide file i am working on. Is there any tutorial/docs how to works with ViewModel/fragment design patterns.</p> <h2>BillingDataFragment...
I want to create binding for listView named (id) list i was able to bind textView , but i have no idea how to bind list. Below i provide file i am working on. Is there any tutorial/docs how to works with ViewModel/fragment design patterns. BillingDataFragment.java [CODE] BillingDataViewModel: [CODE]
java|android
1
2022-02-27T02:01:49.607Z
2,022
2
2
6
28
0
300
80
2
2
true
true
false
false
false
false
low
71,288,045
GestureDetector in RemoteViews
<p>I have a <code>RemoteViews</code> for my app on the homescreen. I would like to add a <code>GestureDetector</code> that detects when the user swipes right/left on the remoteView widget. Is it possible to implement such functionality? If so, is there any basic example code that can be shared?</p>
I have a RemoteViews for my app on the homescreen. I would like to add a GestureDetector that detects when the user swipes right/left on the remoteView widget. Is it possible to implement such functionality? If so, is there any basic example code that can be shared?
android|android-widget|android-gesture|android-remoteview
0
2022-02-27T19:58:08.687Z
2,022
2
19
6
28
0
266
30
4
0
false
true
false
false
false
false
zero
71,303,928
How to create a Hash on the server and how to use it?
<p>I try too much but every time return Toast in &quot;invalid Hash&quot;. I also try the change the server but the return toast is the same, every time some couple of seconds Payumonny screen is open and after then go back to the payment screen in java and an invalid toast appear</p> <p>Here is my server file Hash.php...
I try too much but every time return Toast in &quot;invalid Hash&quot;. I also try the change the server but the return toast is the same, every time some couple of seconds Payumonny screen is open and after then go back to the payment screen in java and an invalid toast appear Here is my server file Hash.php to create...
java|php|android
0
2022-03-01T05:00:25.893Z
2,022
3
5
1
28
0
369
53
3
2
true
true
false
false
false
false
zero
71,306,729
View Pager 2 setIsRecyclable(false) in FragmentStateAdapter
<p>Has Anyone used <strong>setIsRecyclable(false)</strong> in viewpager2 while using FragmentStateAdapter.</p> <p>I have done this and got an interesting behavior.</p> <p><em>Each page/fragment is only created once (when the page comes into view) and it retains the fragment. That means that the fragment is not destroye...
Has Anyone used setIsRecyclable(false) in viewpager2 while using FragmentStateAdapter. I have done this and got an interesting behavior. Each page/fragment is only created once (when the page comes into view) and it retains the fragment. That means that the fragment is not destroyed irrespective of how far we move from...
android|android-recyclerview|android-viewpager2|fragmentstateadapter
0
2022-03-01T10:05:10.420Z
2,022
3
10
1
28
0
522
59
4
0
false
true
false
false
false
false
zero
71,360,505
I want to end an existing task when launching from an implicit intent
<p>I have a question about the behavior when launching an app with an implicit intent from the outside on Android. If you throw an implicit intent with URL1 and URL2 from the outside, multiple tasks of the app will be started. Also, if you throw an implicit intent with URL1 set from the outside after launching from the...
I have a question about the behavior when launching an app with an implicit intent from the outside on Android. If you throw an implicit intent with URL1 and URL2 from the outside, multiple tasks of the app will be started. Also, if you throw an implicit intent with URL1 set from the outside after launching from the la...
android|android-intent|process|task
0
2022-03-05T08:06:00.380Z
2,022
3
8
5
28
0
889
69
4
2
true
true
false
false
false
false
zero
71,397,093
tools:overrrideLibrary doesn't recognize library and forces to use AndroidX
<p>My Android Studio project has minSdk 10. It still uses legacy libraries. Indeed the build.gradle file contains:</p> <pre><code>android.useAndroidX=false android.enableJetifier=false </code></pre> <p>I imported a Maven legacy dependency that requires minSdk 14. <code>implementation 'com.android.support:webkit:28.0.0'...
My Android Studio project has minSdk 10. It still uses legacy libraries. Indeed the build.gradle file contains: [CODE] I imported a Maven legacy dependency that requires minSdk 14. implementation 'com.android.support:webkit:28.0.0' . Obliviously I got a compiling error. Since I don't want to increase the project minSDK...
android|maven|gradle|dependencies|android-support-library
0
2022-03-08T14:58:53.793Z
2,022
3
14
1
28
0
888
75
5
3
true
true
false
false
false
false
zero
71,441,619
Canvas drawing not visible on DialogFragment
<p>I have trying make a custom dialog, and I want to draw some shapes on it's layout. The shapes are drawn fine when I put in an activity, but disappears when I use in the a dialog fragment.</p> <p>The example below has a button that shows MyDialog() which inflates view_ticket, which contains CanvasView. However, the r...
I have trying make a custom dialog, and I want to draw some shapes on it's layout. The shapes are drawn fine when I put in an activity, but disappears when I use in the a dialog fragment. The example below has a button that shows MyDialog() which inflates view_ticket, which contains CanvasView. However, the red dot is ...
android|kotlin|canvas
0
2022-03-11T16:26:21.133Z
2,022
3
16
4
28
0
522
44
3
4
true
true
false
false
false
false
zero
71,213,642
requireActivity instead of requireContext in fragment
<p>I am having a LiveData observer inside fragment, sometimes the code inside <code>Observer{}</code> throws error</p> <pre><code>Exception: java.lang.IllegalStateException: Fragment not attached to an activity. at androidx.fragment.app.Fragment.requireActivity(Fragment.java:833) </code></pre> <p>It is happening becaus...
I am having a LiveData observer inside fragment, sometimes the code inside Observer{} throws error [CODE] It is happening because requireActivity() is returning null so the exception [CODE] I confirmed there is no scenario that my fragment being detached from the activity. I am suspecting the crash might be happening b...
android-livedata|android-lifecycle|android-context|lifecycleowner
1
2022-02-21T22:13:15.353Z
2,022
2
22
0
284
0
381
53
4
2
true
true
false
false
false
false
low