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
59,968,554
I'm trying custom bottom navigation
<p>I want to design bottom layout like in the picture but I unable to do that now.<a href="https://i.stack.imgur.com/78Inx.png" rel="nofollow noreferrer">I'm getting this </a> I tried many code. but <a href="https://i.stack.imgur.com/l2WR5.png" rel="nofollow noreferrer">I need this curve in bottom</a></p> <p>I need e...
I want to design bottom layout like in the picture but I unable to do that now. I'm getting this I tried many code. but I need this curve in bottom I need exactly like in this picture. Bottom navigation bar working fine. but layout look so bad Below my code [CODE]
android|user-interface
1
2020-01-29T13:52:58.840Z
2,020
1
13
2
38
0
264
35
2
1
true
true
false
false
false
false
low
59,968,560
How to center text in textView in this case?
<p>I want to put the text in <code>textView_title</code> and <code>textView_subtitle</code> to the center of the screen. May I know what is a good way to do it? I tried <code>android:layout_gravity</code> <code>and android:gravity</code> and they do not work. </p> <p>Below is the XML file with a constraint layout.</p>...
I want to put the text in textView_title and textView_subtitle to the center of the screen. May I know what is a good way to do it? I tried android:layout_gravity and android:gravity and they do not work. Below is the XML file with a constraint layout. [CODE]
android|android-constraintlayout
2
2020-01-29T13:53:13.247Z
2,020
1
13
2
108
2
259
44
2
1
true
false
false
false
false
false
low
59,968,574
Flutter / Dart Error: The argument type 'Null Function(Key)' can't be assigned to the parameter type 'void Function(Object)'
<p>Android Studio: Launching lib/main.dart on iPhone 11 Pro Max in debug mode...</p> <pre><code>Compiler message: /Users/[User]/.pub-cache/hosted/pub.dartlang.org/reorderables-0.2.12/lib/src/widgets/reorderable_flex.dart:727:18: Error: The argument type 'Null Function(Key)' can't be assigned to the parameter type 'voi...
Android Studio: Launching lib/main.dart on iPhone 11 Pro Max in debug mode... [CODE] Can't get an answer to pass trough this issue, any help will be greatly appreciated ☃
android-studio|flutter|dart|compiler-errors
3
2020-01-29T13:54:04.957Z
2,020
1
13
2
4,264
1
170
124
4
1
true
false
true
false
false
false
low
59,968,582
Kotlin For Loop with filter only producing 1 result
<p>I'm running a <code>for</code> <code>loop</code> to match <code>string</code> entries in a list to entries in a <code>setOf strings</code> but it only returns one result when there are multiple matches</p> <pre><code>fun fetchResults() { var favelist = preferenceProvider.getStringSet("fave list") var episod...
I'm running a for loop to match string entries in a list to entries in a setOf strings but it only returns one result when there are multiple matches [CODE] The faveList set has 5 matches to the archiveJSON but only displays 1
android|kotlin
0
2020-01-29T13:54:38.870Z
2,020
1
13
2
73
1
226
51
2
1
true
false
false
false
false
false
zero
59,968,863
Special link for Mobile Chrome to open page on Desktop Chrome
<p>I have a website which is designed <strong>uniquely for Desktop Chrome Browsers</strong>. Not surprising, many of my users first arrive at my website through mobile browsing and I indeed detect that and display a dedicated message inviting them to open the link on their desktop Chrome Browser.</p> <p>What i'm looki...
I have a website which is designed uniquely for Desktop Chrome Browsers . Not surprising, many of my users first arrive at my website through mobile browsing and I indeed detect that and display a dedicated message inviting them to open the link on their desktop Chrome Browser. What i'm looking for is a special URL tha...
android|ios|google-chrome|google-chrome-app
0
2020-01-29T14:08:46.580Z
2,020
1
14
2
656
0
771
61
4
0
false
true
false
false
false
false
zero
59,968,915
Transition in MotionLayout causing TextInputLayout setError message not work in Android 9
<p>I have created a sample project on <a href="https://github.com/AzizKholmatov/MotionLayout_with_TextInputLayout" rel="nofollow noreferrer">github</a> Please check it out to reproduce the problem I am facing. </p> <p>Project Structure: I have basic <code>TabLayout</code> and <code>Viewpager</code> in <code>MainActivi...
I have created a sample project on github Please check it out to reproduce the problem I am facing. Project Structure: I have basic TabLayout and Viewpager in MainActivity . I also have FirstFragment and SecondFragment which are hosted by my TabLayout . Everything fairly simple and straightforward there. Look at the sc...
android|android-textinputlayout|android-motionlayout
1
2020-01-29T14:11:22.190Z
2,020
1
14
2
281
0
2,777
89
3
2
true
true
false
false
false
false
low
59,968,996
Custom phonestatelistener only calling few times and then stops
<p>I want to detect an incoming phone call and I want to know the phonenumber. I also want to know when the call is finished.</p> <p>I found this code here: <a href="https://stackoverflow.com/a/11182720/10858753">https://stackoverflow.com/a/11182720/10858753</a></p> <p>It works fine in the beginning but after some ca...
I want to detect an incoming phone call and I want to know the phonenumber. I also want to know when the call is finished. I found this code here: https://stackoverflow.com/a/11182720/10858753 It works fine in the beginning but after some calls I don't get any response from the class anymore. Can anybody help me with i...
android-studio|telephonymanager|phone-state-listener
0
2020-01-29T14:15:01.607Z
2,020
1
14
2
47
0
386
63
3
2
true
true
false
false
false
false
zero
59,969,111
How to list all root collections and get all products?
<p>I have this project in Firestore:</p> <pre><code>root \_ bags \_ id \_ name: "Bag1" \_ id \_ name: "Bag2" \_ shoes \_ id \_ name: "Shoe1" \_ id \_ name: "Shoe2" </code></pre> <p>And I want to get the names of all collections (bags, shoes, t-shirts etc) and ...
I have this project in Firestore: [CODE] And I want to get the names of all collections (bags, shoes, t-shirts etc) and display in a list. On item click, I want to get all specific products. For example, when someone clicks on bags, then I display all the bags. When someone clicks on shoes, I display all the shoes. I k...
java|android|firebase|kotlin|google-cloud-firestore
1
2020-01-29T14:20:14.410Z
2,020
1
14
2
390
1
466
54
5
2
true
false
false
false
false
false
low
59,969,182
Getting inflateException at layout inside aar library file
<p>I converted my project into library having included some java, layout, string, resources and menifest file. Now i want to use that aar file in another project. After export when i am trying to call activity from aar library I am getting error of Binary XML file line #: Error inflating class. I used MovableFloatingAc...
I converted my project into library having included some java, layout, string, resources and menifest file. Now i want to use that aar file in another project. After export when i am trying to call activity from aar library I am getting error of Binary XML file line #: Error inflating class. I used MovableFloatingActio...
java|android|aar|lib
0
2020-01-29T14:23:42.880Z
2,020
1
14
2
348
1
417
58
4
1
true
false
false
false
false
false
zero
59,969,187
Blur Surrounding Of Expanded RecyclerView Item (Blur RecyclerView Except Of One Of Its Items)
<p>I have a <code>RecyclerView</code> containing its children:</p> <p><a href="https://i.stack.imgur.com/0vIdi.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0vIdi.jpg" alt="enter image description here"></a></p> <p>As you can see in the picture, each item can be expanded (for example item i in th...
I have a RecyclerView containing its children: As you can see in the picture, each item can be expanded (for example item i in the picture). In my project I use this blur library to blur things, for example, clicking the FloatingActionButton expands it to a dialog, and the dialog's surrounding is blurred, like this: I ...
java|android|android-layout|android-recyclerview|android-viewholder
2
2020-01-29T14:23:53.020Z
2,020
1
14
2
2,787
2
1,274
93
5
1
true
false
true
false
false
false
low
59,969,206
My app is not working in some phones and sometimes
<p>I have developed an Android application while debugging it was worked properly and also it worked well in my phone. But after sometime it was not working ( I didn't change any code). In some phones it was working but some phones it was not working(app crashed after splash screen).</p>
I have developed an Android application while debugging it was worked properly and also it worked well in my phone. But after sometime it was not working ( I didn't change any code). In some phones it was working but some phones it was not working(app crashed after splash screen).
java|android|android-studio
-1
2020-01-29T14:24:36.723Z
2,020
1
14
2
59
2
281
50
3
0
false
false
false
false
false
true
negative
59,969,276
In-app billing. If user closes the application while the Payments Successful dialog is not closed
<p>While the Payments Successful dialog is not closed, the user closes the application, as a result, the money is withdrawn and Google considers the transaction USER_CANCELED how to make it work even if the user kills the application ?</p> <pre><code>public class MyFragment extends Fragment{ private MyPresenter prese...
While the Payments Successful dialog is not closed, the user closes the application, as a result, the money is withdrawn and Google considers the transaction USER_CANCELED how to make it work even if the user kills the application ? [CODE] Maybe I'm doing something wrong. Tell me, do you have any thoughts or opinions l...
android|in-app-purchase|payment|billing
1
2020-01-29T14:28:13.377Z
2,020
1
14
2
125
0
340
97
4
1
true
true
false
false
false
false
low
59,969,443
Why Firebase Realtime Database is not updated?
<p>I have created a list. When I tried to update the values, the values captured correctly in Edittext. However, when I click the update button after correction, it doesn't work and force closing the app. </p> <p>My update code is given below</p> <pre><code>public class UpdateActivity extends AppCompatActivity { pri...
I have created a list. When I tried to update the values, the values captured correctly in Edittext. However, when I click the update button after correction, it doesn't work and force closing the app. My update code is given below [CODE] I am a learner. Please help me where my code went wrong?
java|android|firebase-realtime-database
0
2020-01-29T14:36:52.093Z
2,020
1
14
2
652
1
295
46
3
1
true
false
false
false
false
false
zero
59,969,465
Android studio one usage was filtered out
<p>Since today I have this message when I want to check all usages of my variable "1 usage was filtered out"</p> <p><a href="https://i.stack.imgur.com/mR3OO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mR3OO.png" alt="enter image description here"></a></p> <p>I would like to see where I'm assign...
Since today I have this message when I want to check all usages of my variable "1 usage was filtered out" I would like to see where I'm assign value to variable like I was doing before. How can I remove this filter ?
android|android-studio
1
2020-01-29T14:37:46.843Z
2,020
1
14
2
342
1
216
41
2
0
false
false
false
false
false
false
low
59,969,596
how to set multiple ImageViews in a row in Constraint Layout?
<p>I am trying to recreate this Layout with ImageViews instead of buttons.</p> <p>This is what I had so far when using buttons:</p> <p><a href="https://i.stack.imgur.com/gyIqm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gyIqm.png" alt="enter image description here"></a></p> <p>The buttons were...
I am trying to recreate this Layout with ImageViews instead of buttons. This is what I had so far when using buttons: The buttons were all in a row and with equal distance to each other. Thats the old xml code btw (only the buttons): [CODE] I tried to recreate this using ImageViews. This is how it looks so far: I kept ...
java|android|android-imageview|android-constraintlayout
2
2020-01-29T14:44:59.663Z
2,020
1
14
2
516
4
634
61
4
2
true
false
false
false
false
false
low
59,969,623
Single Responsibility Principle with JetPack Compose -- is there a reference guide?
<p>Since Jetpack Compose is following the Single Responsibility Principle I'm wondering where I can get my hands on a mapping of all the functions to "responsibilities", so to say. As an example, how could I have figured out on my own that the Surface function is responsible for the background color, and only the Surfa...
Since Jetpack Compose is following the Single Responsibility Principle I'm wondering where I can get my hands on a mapping of all the functions to "responsibilities", so to say. As an example, how could I have figured out on my own that the Surface function is responsible for the background color, and only the Surface ...
android|android-jetpack|single-responsibility-principle|android-jetpack-compose
1
2020-01-29T14:46:50.707Z
2,020
1
14
2
106
0
329
83
4
0
false
true
false
false
false
false
low
59,969,738
Screen navigationOptions: how to use translations
<p>In the code below I have SettingsScreen with translations, which works prefectly. I use Android emulator for developing.</p> <pre><code>import { View, Text } from 'react-native'; import { HeaderBackButton } from 'react-navigation-stack'; import React, { useContext } from 'react'; import { LocalizationContext } from...
In the code below I have SettingsScreen with translations, which works prefectly. I use Android emulator for developing. [CODE] Now I would like to access translations also from SettingsScreen.navigationOptions, but currently I can not: [CODE] ReferenceError: translations is not defined How can I manage to use translat...
javascript|android|react-native|localization
0
2020-01-29T14:53:22.957Z
2,020
1
14
2
160
1
351
49
4
2
true
false
false
false
false
false
zero
59,969,873
Black status bar doesn't disappear when closing Contex Action Mode
<p>To be able to make the drawer layout go under the status bar, I've needed to set its color to transparent and set <code>SystemUIVisibility</code> to fullscreen. When starting Context Action Mode the status bar becomes black.</p> <p>This can be "solved" by setting the color of the status bar in the <code>OnCreateAct...
To be able to make the drawer layout go under the status bar, I've needed to set its color to transparent and set SystemUIVisibility to fullscreen. When starting Context Action Mode the status bar becomes black. This can be "solved" by setting the color of the status bar in the OnCreateActionMode and making it transpar...
android|navigation-drawer|drawerlayout|android-statusbar|contextual-action-bar
0
2020-01-29T15:00:24.863Z
2,020
1
15
2
171
1
1,719
66
5
3
true
false
false
false
false
false
zero
59,969,970
What's the right size for an Image Asset?
<p>I have a picture and want to use it as the app icon for my android app. I use the <code>ImageAsset</code> in <code>Android Studio</code> to create multiple icons for different phones, so I only need one picture.</p> <p>My picture turned out too small (<code>144px x 144px</code>) and I cannot find information about ...
I have a picture and want to use it as the app icon for my android app. I use the ImageAsset in Android Studio to create multiple icons for different phones, so I only need one picture. My picture turned out too small ( 144px x 144px ) and I cannot find information about the sizes on the developer pages. Who can help m...
java|android|image|icons
0
2020-01-29T15:06:24.797Z
2,020
1
15
2
3,043
5
341
41
4
0
false
false
true
false
false
false
zero
59,969,976
Firebase does not collect age and gender data
<p>I am linking my Android and iOS app to Firebase Analytics, and it seems to work well except I cannot collect the "automatic" information about the user, such as gender and age.</p> <p><a href="https://i.stack.imgur.com/kutbS.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kutbS.png" alt="enter image descr...
I am linking my Android and iOS app to Firebase Analytics, and it seems to work well except I cannot collect the "automatic" information about the user, such as gender and age. I can see some thousands of users, and I can also track custom events (like in-app purchases) But in the same view, gender and age are not pres...
android|ios|firebase|google-analytics|firebase-analytics
14
2020-01-29T15:07:23.863Z
2,020
1
15
2
3,026
3
528
45
5
0
false
false
true
false
true
false
medium
59,970,024
ReactNative Android all requests fail while iOS works
<h2>Suddenly while debugging Android all network requests fail, but within iOS, it works.</h2> <p><code>curl --data "email=test@gmail.com" https://unblnd.com/api/login</code> works correctly and provides the expected result. Using http the request returns moved permanently, but as the local connection does not work ei...
Suddenly while debugging Android all network requests fail, but within iOS, it works. curl --data "email=test@gmail.com" https://unblnd.com/api/login works correctly and provides the expected result. Using http the request returns moved permanently, but as the local connection does not work either this should not be th...
javascript|android|connection|react-native
1
2020-01-29T15:09:38.663Z
2,020
1
15
2
173
0
865
53
4
4
true
true
false
false
false
false
low
59,970,060
How to get the tag of a view in an Espresso test?
<p>I am working in some end to end test using Espresso.<br> In the test I need to know the user id (because I need to call one endpoint that mocks some external party).<br> To get the user id, I was thinking about setting it as a tag in a view and get the tag with Espresso. </p> <p>Is there a way to do that? </p> <...
I am working in some end to end test using Espresso. In the test I need to know the user id (because I need to call one endpoint that mocks some external party). To get the user id, I was thinking about setting it as a tag in a view and get the tag with Espresso. Is there a way to do that? I only find ways to get a vie...
android|kotlin|android-espresso|end-to-end|uitest
2
2020-01-29T15:11:37.500Z
2,020
1
15
2
703
2
401
49
5
0
false
false
false
false
false
false
low
59,970,084
Gradle Dependency Management without Downloading to Cache
<h1>Motivation:</h1> <p>I have a small set of rather exceptional dependencies I'd like to introduce into my gradle build. Those dependecies are huge and are not necessarily part of the software I build. They are kind of an extra piece and are currently handled completely manually.</p> <p>What I'd like to do is introd...
Motivation: I have a small set of rather exceptional dependencies I'd like to introduce into my gradle build. Those dependecies are huge and are not necessarily part of the software I build. They are kind of an extra piece and are currently handled completely manually. What I'd like to do is introduce a new configurati...
java|android|gradle
1
2020-01-29T15:13:49Z
-1
-1
-1
-1
37
0
1,850
57
3
0
false
true
false
false
false
false
low
59,970,125
getters and setters between java and kotlin
<p>Hi I have a got a piece of code that works strangly.</p> <p>I have a setter and getter method which is in java</p> <pre><code>public void setCalcA(Float calcA) { this.calcA = calcA; } public Float getCalcA() { return calcA; } </code></pre> <p>And I am trying to set it from Kotlin file like this,...
Hi I have a got a piece of code that works strangly. I have a setter and getter method which is in java [CODE] And I am trying to set it from Kotlin file like this, but it gives me a varied result, works correctly some times but not always set with the right value. Setting the values work fine but when I try to access ...
java|android|kotlin
1
2020-01-29T15:16:23.573Z
2,020
1
15
2
89
0
518
43
3
3
true
true
false
false
false
false
low
59,970,151
Possible causes of massive amount of logs in logcat? (Background concurrent copying GC freed)
<p>What are the possible causes that could cause MASSIVE amounts of logs in logcat between UI automated tests on an android app? When I say massive, I mean thousand of logs like:</p> <pre><code>12-11 18:32:04.071 6857 6868 I zygote : Background concurrent copying GC freed 970(64KB) AllocSpace objects, 14(56MB) LOS obj...
What are the possible causes that could cause MASSIVE amounts of logs in logcat between UI automated tests on an android app? When I say massive, I mean thousand of logs like: [CODE] Useful info: - within a suite with, let's say, 4 tests, the first test runs in less than 2 minutes, the second test runs in about 6 minut...
android|garbage-collection|logcat
0
2020-01-29T15:17:46.733Z
2,020
1
15
2
319
0
1,018
93
3
1
true
true
false
false
false
false
zero
59,970,259
How to make material floating action button with inner rings?
<p>I would like to make a floating action button that has an outer ring and inner ring. I need those both to be clickable. Right now I have an ImageView with the src set to a drawable I created. The layout looks simple and I want to give it a better look and feel. </p> <pre><code>&lt;androidx.appcompat.widget.AppCompa...
I would like to make a floating action button that has an outer ring and inner ring. I need those both to be clickable. Right now I have an ImageView with the src set to a drawable I created. The layout looks simple and I want to give it a better look and feel. [CODE] [CODE]
android|material-design|floating-action-button
0
2020-01-29T15:23:45.230Z
2,020
1
15
2
61
0
275
61
3
2
true
true
false
false
false
false
zero
59,970,386
Dealing with Imageview & guidelines
<p>I am creating a quizz game and struggling with constraining the image of my Imageview in the guidelines I have declared.</p> <p>In Android Studio preview everything seems fine and as expected. Below is a printscreen of this expected result:</p> <p><a href="https://i.stack.imgur.com/puaq2.png" rel="nofollow norefer...
I am creating a quizz game and struggling with constraining the image of my Imageview in the guidelines I have declared. In Android Studio preview everything seems fine and as expected. Below is a printscreen of this expected result: But when I run the app in the emulator (Pixel 3 XL API 29 on AVD Manager), I get the r...
android|xml|imageview|android-constraintlayout|constraintlayout-guideline
1
2020-01-29T15:29:41.980Z
2,020
1
15
2
471
1
900
35
5
1
true
false
false
false
false
false
low
59,970,395
How to copy text form multiple fragments using Clipboard
<p>I have implemented same fragment multiple times in single activity. Now I want to copy text from all the fragments but I am getting text only from 1st fragment. How I can append text in clipboard from multiple fragment?</p>
I have implemented same fragment multiple times in single activity. Now I want to copy text from all the fragments but I am getting text only from 1st fragment. How I can append text in clipboard from multiple fragment?
android|android-fragments|copy|clipboard
0
2020-01-29T15:30:07.180Z
2,020
1
15
2
124
1
219
56
4
0
false
false
false
false
false
false
zero
59,970,415
Android Espresso - Clicking on the first RecyclerView Item with a certain string after swipeUp to ending of list
<p>Basically, Espresso scrollTo doesn't work on this view, so to assert that an item was created, I must swipeUp to end of list and check the first item with certain string. That item is the result of another test where the item is created. It's normal for that item to be repeated several times depending on how many te...
Basically, Espresso scrollTo doesn't work on this view, so to assert that an item was created, I must swipeUp to end of list and check the first item with certain string. That item is the result of another test where the item is created. It's normal for that item to be repeated several times depending on how many tests...
android|scroll|click|android-espresso
0
2020-01-29T15:31:16.357Z
2,020
1
15
2
503
1
756
112
4
3
true
false
false
false
false
false
zero
59,970,466
How to open an SGF file with an external application in an android app?
<p>I'm trying to open an SGF file (a format popular for storing go games) in an external app. My current code manages to fire up an app which then fails to load it by default. I can't seem to change this behaviour.</p> <p>Using other apps to open the file I get inconsistent behaviour. The file browser says there is no...
I'm trying to open an SGF file (a format popular for storing go games) in an external app. My current code manages to fire up an app which then fails to load it by default. I can't seem to change this behaviour. Using other apps to open the file I get inconsistent behaviour. The file browser says there is no app capabl...
python|android|kivy
1
2020-01-29T15:34:22.347Z
2,020
1
15
2
101
0
829
71
3
1
true
true
false
false
false
false
low
59,970,551
Expected BEGIN ARRAY but was BEGIN_OBJECT at line 1 and colum2
<p>This is json array data / json object data from api getting error expected begin_array but was begin_object at line 3 and column 2 path$</p> <p>This is json array data / json object data from api getting error expected begin_array but was begin_object at line 3 and column 2 path$</p> <p>This is json array data / j...
This is json array data / json object data from api getting error expected begin_array but was begin_object at line 3 and column 2 path$ This is json array data / json object data from api getting error expected begin_array but was begin_object at line 3 and column 2 path$ This is json array data / json object data fro...
java|android|retrofit
2
2020-01-29T15:39:29.097Z
2,020
1
15
2
2,374
2
596
62
3
4
true
false
false
false
false
false
low
59,970,571
Alert dialog is not being displayed
<p>Im trying to make an alert dialog when a Preference on the preferenceScreen is tapped.</p> <p>My code is as follows:</p> <pre><code>public class AlertDialogFragment extends DialogFragment { @NotNull public Dialog onCreateDialog(Bundle savedInstanceState){ AlertDialog.Builder builder = new AlertDial...
Im trying to make an alert dialog when a Preference on the preferenceScreen is tapped. My code is as follows: [CODE] I created an object from this class and called the show() method, but after running the application and tapping on the preference, nothing happens. Here is my other class: [CODE] Does anyone have any ide...
android|sharedpreferences|android-alertdialog
0
2020-01-29T15:40:12.803Z
2,020
1
15
2
30
0
322
35
3
2
true
true
false
false
false
false
zero
59,970,597
How to specify programming language for 'Fastfile' in Android Studio?
<p>I use Fastlane in my Android Project. And when I open 'fastlfile' file, Android Studio doesn't recognize this file as ruby code. And the code is not colorful. How can I specify programming language for the file? </p>
I use Fastlane in my Android Project. And when I open 'fastlfile' file, Android Studio doesn't recognize this file as ruby code. And the code is not colorful. How can I specify programming language for the file?
android|android-studio|fastlane
5
2020-01-29T15:41:05.657Z
2,020
1
15
2
968
2
211
69
3
0
false
false
false
false
false
false
low
59,970,601
Setting the color of a shape programmatically
<p>I am trying to set the color of my shape programmatically, inside my drawable I created a rounded shape (rounded_button.xml):</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"&gt; &lt;solid android:color...
I am trying to set the color of my shape programmatically, inside my drawable I created a rounded shape (rounded_button.xml): [CODE] And now I want to change it color in my activity. [CODE] But it does not work and holds still the same color.
java|android|android-layout
1
2020-01-29T15:41:27.293Z
2,020
1
15
2
196
4
242
45
3
2
true
false
false
false
false
false
low
59,970,624
Android and Firebase Firestore: Wait nested tasks to complete
<p>I think it is a simple problem, I have 3 main collections: collection_A, collection_B and collection_C. The problem is: I need a document "A" of collection_A. The document "A" contains an array attribute "collection_B_uids", after get document "A" I need to get every document of collection_B that is in collection_B_...
I think it is a simple problem, I have 3 main collections: collection_A, collection_B and collection_C. The problem is: I need a document "A" of collection_A. The document "A" contains an array attribute "collection_B_uids", after get document "A" I need to get every document of collection_B that is in collection_B_uid...
android|firebase|google-cloud-firestore|task
0
2020-01-29T15:42:42.450Z
2,020
1
15
2
399
0
915
61
4
2
true
true
false
false
false
false
zero
59,970,662
IndexOutOfBounds Exception while calling String replace()
<p>I understand that IndexOutOfBounds exception is the most common error, but in my case it is showing up in some devices and working perfectly fine on others. What I was trying to do is get the last typed character in a Edittext and replace it with another character with the help of <code>TextWatcher</code> like this....
I understand that IndexOutOfBounds exception is the most common error, but in my case it is showing up in some devices and working perfectly fine on others. What I was trying to do is get the last typed character in a Edittext and replace it with another character with the help of TextWatcher like this. [CODE] For Clar...
java|android
0
2020-01-29T15:44:19.240Z
2,020
1
15
2
97
3
881
57
2
1
true
false
false
false
false
false
zero
59,970,690
How to use Adapter to access views in Recycler View
<p>I want to use some methods on this switch which is within a RecyclerView. I want to use methods like mSwitch.setEnabled(true) in the MainActivity: <br><br> <a href="https://i.stack.imgur.com/wjFRA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wjFRA.png" alt="enter image description here"></a></...
I want to use some methods on this switch which is within a RecyclerView. I want to use methods like mSwitch.setEnabled(true) in the MainActivity: how do I do this? Please help! I'm new to android and the sad part, I haven't subscribed any android course
android|android-recyclerview
0
2020-01-29T15:46:01.713Z
2,020
1
15
2
127
1
254
51
2
0
false
false
false
false
false
false
zero
59,970,725
Sharing intents (queryIntentActivities) on Android 10 does no return all the expected ones
<p>I have a simple code to share photos through external apps that have been working as expected in previous Android versions. But we are getting some reports saying that users can not share photos with their apps because only some of them appears in the share sheet.</p> <p>We did some tests in different phones (with...
I have a simple code to share photos through external apps that have been working as expected in previous Android versions. But we are getting some reports saying that users can not share photos with their apps because only some of them appears in the share sheet. We did some tests in different phones (with Android 10)...
android|share
8
2020-01-29T15:47:24.653Z
2,020
1
15
2
1,460
1
827
90
2
1
true
false
false
false
false
false
medium
59,970,753
Why commitNow does not set fragment to null?
<p>I have tried to use <code>commitNow</code> for ensuring that fragment transactions are synchronous. However, after my testing, I found that for some reason <code>commitNow</code> does not remove fragments immediately. </p> <p>I have added a Handler with postDelayed 100 milliseconds and the fragment was still not nu...
I have tried to use commitNow for ensuring that fragment transactions are synchronous. However, after my testing, I found that for some reason commitNow does not remove fragments immediately. I have added a Handler with postDelayed 100 milliseconds and the fragment was still not null. After that, I changed postDelayed ...
android|android-fragments|fragmenttransaction
0
2020-01-29T15:48:54.497Z
2,020
1
15
2
167
1
844
44
3
1
true
false
false
false
false
false
zero
59,970,786
Imageview cropping mechanism best approach
<p>What should be the ideal way to crop a 100 X 100 bitmap image from left side / centre side / right side in Android using co-ordinate system ? </p> <p>Let's say the left side image crop would provide 1/3 rd of the image starting from co-ordinate 0,0 [bottom left] to 33,100 [top right]</p> <p>right side cropped imag...
What should be the ideal way to crop a 100 X 100 bitmap image from left side / centre side / right side in Android using co-ordinate system ? Let's say the left side image crop would provide 1/3 rd of the image starting from co-ordinate 0,0 [bottom left] to 33,100 [top right] right side cropped image will be 66,0 to 10...
android|algorithm|matrix|bitmap
-1
2020-01-29T15:51:17.727Z
2,020
1
15
2
80
3
373
42
4
0
false
false
false
false
false
true
negative
59,970,794
Change emulated front camera image?
<p>There is a way i can change the default image for the emulated front camera in the avd settings?</p> <p>The closest infos i found are regarding the rear camera with the virtual scene, here's a link: <a href="https://gist.github.com/gabrieljoelc/df8256b896cac46bd51fd2deb412da5f" rel="nofollow noreferrer">https://gis...
There is a way i can change the default image for the emulated front camera in the avd settings? The closest infos i found are regarding the rear camera with the virtual scene, here's a link: https://gist.github.com/gabrieljoelc/df8256b896cac46bd51fd2deb412da5f Do you know how to load images to the emulated front camer...
android|android-camera
3
2020-01-29T15:51:48.010Z
2,020
1
15
2
631
0
367
35
2
0
false
true
false
false
false
false
low
59,970,818
NavController no current navigation node after device rotation
<p>I am making app, which supports different device orientations. Navigation is carried out by Android Jetpack's Navigation. App main screen for landscape orientation is present below. It is list wrapper fragment (it is <code>NavHostFragment</code>, it is added to activity's layout in <code>fragment</code> tag), wrappe...
I am making app, which supports different device orientations. Navigation is carried out by Android Jetpack's Navigation. App main screen for landscape orientation is present below. It is list wrapper fragment (it is NavHostFragment , it is added to activity's layout in fragment tag), wrapper includes list fragment ( f...
android|android-fragments|kotlin|android-architecture-components
18
2020-01-29T15:53:01.523Z
2,020
1
15
2
9,165
5
1,197
62
4
2
true
false
true
false
true
false
medium
59,970,831
Context Menu in TabLayout
<p>How can I insert a Context Menu in a single Tab. For example, I click on the Sort Tab and I want to display a Menu with "Popularity, Increasing Price, Descending Price"</p> <pre><code>@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.a...
How can I insert a Context Menu in a single Tab. For example, I click on the Sort Tab and I want to display a Menu with "Popularity, Increasing Price, Descending Price" [CODE]
java|android|contextmenu|android-tablayout
1
2020-01-29T15:53:42.200Z
2,020
1
15
2
91
0
175
25
4
1
true
true
false
false
false
false
low
59,970,890
SQLiteBlobTooBigException for query with small data
<p>I have a strange problem when executing a query in SQLite-Database I created for cities and their locations:</p> <blockquote> <p>2020-01-29 16:45:17.506 13110-13169/xxx.debug E/CursorWindow: Failed to read row 0, column 0 from a CursorWindow which has 1 rows, 0 columns. 2020-01-29 16:45:17.507 13110-13169/xxx...
I have a strange problem when executing a query in SQLite-Database I created for cities and their locations: 2020-01-29 16:45:17.506 13110-13169/xxx.debug E/CursorWindow: Failed to read row 0, column 0 from a CursorWindow which has 1 rows, 0 columns. 2020-01-29 16:45:17.507 13110-13169/xxx.debug E/SQLiteQuery: exceptio...
android|sqlite|android-sqlite
1
2020-01-29T15:56:41.037Z
2,020
1
15
2
303
0
1,742
51
3
1
true
true
false
false
false
false
low
59,970,980
java.util.ArrayList cannot be cast to com.github.mikephil.charting.interfaces.datasets.IBarDataSet
<p>I have a problem when I'm using "MPAndroidCharts" when I try to charge data into Bachar I use two ArrayList one ArrayList for Dates and one for data but it show's me a red line on <code>BarData theData = new BarData(theDates,barDataSet);</code></p> <p>My hole code for charts: </p> <pre><code> protected void onCre...
I have a problem when I'm using "MPAndroidCharts" when I try to charge data into Bachar I use two ArrayList one ArrayList for Dates and one for data but it show's me a red line on BarData theData = new BarData(theDates,barDataSet); My hole code for charts: [CODE] And when I cast "theDates" into IBarDataSet it display a...
android|mpandroidchart
1
2020-01-29T16:00:42.963Z
2,020
1
16
2
670
1
2,522
98
2
1
true
false
false
false
false
false
low
59,971,076
get notification Intent from Activity
<p>CODE:</p> <pre><code>NotificationManager notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); NotificationCompat.Builder notificationBuilder; Intent notifyIntent = new Intent(this, MainActivity.class); notifyIntent.putExtra("notification", "notificationIntentBlahHello"); notifyInte...
CODE: [CODE] } In this case, How and when to get notificationIntentBlahHello from intent on MainActivity??
android|notifications
0
2020-01-29T16:06:02.840Z
2,020
1
16
2
41
1
106
37
2
1
true
false
false
false
false
false
zero
59,971,201
which method is called in android on Recent App Button
<p>In my application I need to call a method as Recent App Button is pressed, I am developing an application in which I need to change a value on Firebase on Recent App Button Pressed. </p>
In my application I need to call a method as Recent App Button is pressed, I am developing an application in which I need to change a value on Firebase on Recent App Button Pressed.
java|android|debugging|android-recents|recent-screens
0
2020-01-29T16:12:09.833Z
2,020
1
16
2
108
0
181
54
5
0
false
true
false
false
false
false
zero
59,971,311
Android programmatically change background of Button
<p>I fail changing the background of my button in my activity. It is a basic button which a shape as a background.</p> <p>In my main.xml it looks like this in my RelativeLayout:</p> <pre><code>&lt;Button android:id="@+id/mybtn" android:background = "@drawable/rounded_button" android:elevation="0dp" /&gt; ...
I fail changing the background of my button in my activity. It is a basic button which a shape as a background. In my main.xml it looks like this in my RelativeLayout: [CODE] In my MainActivity I try to change the button like this: [CODE] But it says: cannot resolve method setBackgroundColor
android|android-layout|android-button
-5
2020-01-29T16:17:28.950Z
2,020
1
16
2
2,551
5
292
52
3
2
true
false
false
false
false
true
negative
59,971,338
Why does my Android Bluetooth app sometimes not receive any messages for some time?
<p>I modified the Android Bluetooth chat example a bit and notice strange delays in the arrival of messages. My setup:</p> <ul> <li>One side (A) sends 10 messages per second. </li> <li>The other side (B) then receives the messages an measures the time difference between them.</li> </ul> <p>They arrive at regular int...
I modified the Android Bluetooth chat example a bit and notice strange delays in the arrival of messages. My setup: One side (A) sends 10 messages per second. The other side (B) then receives the messages an measures the time difference between them. They arrive at regular intervals: For each sample of 100 messages, th...
android|bluetooth|android-bluetooth
0
2020-01-29T16:18:57.920Z
2,020
1
16
2
126
0
1,408
83
3
0
false
true
false
false
false
false
zero
59,971,497
Android Auto custom notification sound
<p>I have created a messaging app that support Android Auto and is able to push notifications to it. My problem is that I can not override the notification sound for my notifications. I have tried to set sound on Notification Builder and on Notification channel but no luck. From the documentation, those methods are not...
I have created a messaging app that support Android Auto and is able to push notifications to it. My problem is that I can not override the notification sound for my notifications. I have tried to set sound on Notification Builder and on Notification channel but no luck. From the documentation, those methods are not fo...
android-auto|android-automotive
1
2020-01-29T16:27:21.463Z
2,020
1
16
2
101
0
496
38
2
0
false
true
false
false
false
false
low
59,971,758
android i`importantForA11y=false` vs. `setConentDescription=@null` vs. `focusable=false`
<p>I can see <code>importantForA11y</code> is for <code>minSdk=6+</code></p> <p>But why would one have to use it, if they can just use <code>setConentDescription=@null</code>?</p> <p>What is the difference between <code>importantForA11y=false</code> vs. <code>setConentDescription=@null</code> vs. <code>focusable=fals...
I can see importantForA11y is for minSdk=6+ But why would one have to use it, if they can just use setConentDescription=@null ? What is the difference between importantForA11y=false vs. setConentDescription=@null vs. focusable=false
android|accessibility|focusable|android-a11y
0
2020-01-29T16:41:16.290Z
2,020
1
16
2
105
1
232
88
4
0
false
false
false
false
false
false
zero
59,971,908
Iterating through the results of the JSON response - Android + Retrofit + Moshi
<pre><code>{ "data": [ { "id": 4, "customer_id": 3, "service_type_id": 1, "full_name": "Teja Babu S", "email": "testemail@gmail.com", camera_types": 1, "dvr_types": 1, "created_at": "2020-01-04 14:18:30", "update...
[CODE] I am using the http://www.jsonschema2pojo.org/ for converion. I am not pasting the result to keep the question simple. package - package com.tesmachino.saycure.entities.OrderHistory.OrderDetail; ClassName - OrderDetailsResponse Target language: Java Source type: JSON Annotation style: Moshi I would like to acces...
java|android|gson|retrofit|moshi
0
2020-01-29T16:49:06.840Z
2,020
1
16
2
253
1
463
79
5
4
true
false
false
false
false
false
zero
59,971,914
I can't get object from JSON array
<p><a href="https://api.github.com/events" rel="nofollow noreferrer">This is the JSON URL</a></p> <p>I want to get all object in <strong>actor</strong>, how can I do that?</p> <pre><code>private void parseJSON() { String url = "https://api.github.com/events"; final JsonObjectRequest request = new JsonObjectR...
This is the JSON URL I want to get all object in actor , how can I do that? [CODE]
java|android|json
3
2020-01-29T16:49:24.167Z
2,020
1
16
2
74
2
82
34
3
1
true
false
false
false
false
false
low
59,971,948
Android - How to relaunch an app in background without restarting it?
<p>I want to open an app and then navigate to settings and comeback to app and continue from the place were i left.</p> <p>Tried using noReset and fullReset but nthgn worked.</p>
I want to open an app and then navigate to settings and comeback to app and continue from the place were i left. Tried using noReset and fullReset but nthgn worked.
appium|appium-android
0
2020-01-29T16:51:23.787Z
2,020
1
16
2
323
3
164
69
2
0
false
false
false
false
false
false
zero
59,972,043
Is there a way to add a button or anything under a RecyclerView
<p>The RecyclerView have to load n number of items initially, when the user scroll to the bottom of it I want a button or any other View on the bottom so that the user can click on it and a method to add n more items is triggered.</p> <p>I'm new to android app development and I really need help, Thanks.</p>
The RecyclerView have to load n number of items initially, when the user scroll to the bottom of it I want a button or any other View on the bottom so that the user can click on it and a method to add n more items is triggered. I'm new to android app development and I really need help, Thanks.
java|android|android-recyclerview|heterogeneous
0
2020-01-29T16:57:33.647Z
2,020
1
16
2
154
2
294
63
4
0
false
false
false
false
false
false
zero
59,972,263
Different types of users logging in to Android App with SQLite Database
<p>Sorry if this is a stupid question but I am new to Android Development. I am trying to create a login screen which will direct doctors to a one activity and nurses to another activity when they login. This does not seem to work. I have put code into the login.java class: </p> <pre><code>btLogin.setOnClickListener(n...
Sorry if this is a stupid question but I am new to Android Development. I am trying to create a login screen which will direct doctors to a one activity and nurses to another activity when they login. This does not seem to work. I have put code into the login.java class: [CODE] And I also have this code in the database...
java|android|sqlite|android-sqlite
1
2020-01-29T17:10:57.457Z
2,020
1
17
2
166
1
407
71
4
2
true
false
false
false
false
false
low
59,972,356
getting images from firebase in recylcler view with glide
<p>I am able to insert images into firebase(cloud firestore) but not be able to retrieve images in recycler view , I am using Glide instead of picaso .. my buid.gradle(app) :</p> <pre><code> apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId &quot;com.example.f...
I am able to insert images into firebase(cloud firestore) but not be able to retrieve images in recycler view , I am using Glide instead of picaso .. my buid.gradle(app) : [CODE] my ImageAdapter.java [CODE] } my activity_images.xml [CODE] ImageActivity.java [CODE] please help me where i am getting wrong the app is runn...
android|firebase|android-recyclerview|android-glide
0
2020-01-29T17:17:10.660Z
2,020
1
17
2
546
0
353
57
4
4
true
true
false
false
false
false
zero
59,972,380
How to execute a tap with given coordinates in Android
<p>I need to have an automatic tap executed onscreen with given coordinates without any user input.</p> <p>So when i call this function with given coordinates that i already found out via developer tools, then it should simulate the user clicking the screen right there.</p> <p>this is the code:</p> <pre><code>public...
I need to have an automatic tap executed onscreen with given coordinates without any user input. So when i call this function with given coordinates that i already found out via developer tools, then it should simulate the user clicking the screen right there. this is the code: [CODE] Yet it doesnt work or do anything,...
java|android
0
2020-01-29T17:18:40.357Z
2,020
1
17
2
105
0
377
54
2
1
true
true
false
false
false
false
zero
59,972,463
Firebase Cloud Messaging for Flutter - Optionally handle background messages ERROR
<p>I wanted to add this field to my project but I got an error. <a href="https://pub.dev/packages/firebase_messaging#optionally-handle-background-messages" rel="nofollow noreferrer">https://pub.dev/packages/firebase_messaging#optionally-handle-background-messages</a></p> <p>I want to use firebase notifications in my a...
I wanted to add this field to my project but I got an error. https://pub.dev/packages/firebase_messaging#optionally-handle-background-messages I want to use firebase notifications in my application. I'm adding Aplication.java for this. After adding this file, the word registry is underlined in red. GeneratedPluginRegis...
android|firebase|flutter|notifications|firebase-cloud-messaging
1
2020-01-29T17:23:36.067Z
2,020
1
17
2
2,023
2
448
82
5
2
true
false
false
false
false
false
low
59,972,614
Do i need to create a banner ad for each page?
<p>I am creating an app for Android. It has almost 13 pages(layouts). Should i create a new banner ad for each page in Admob? or just one is enough.</p>
I am creating an app for Android. It has almost 13 pages(layouts). Should i create a new banner ad for each page in Admob? or just one is enough.
android|android-studio|admob|ads
-1
2020-01-29T17:33:12.487Z
2,020
1
17
2
52
1
145
46
4
0
false
false
false
false
false
true
negative
59,972,680
Flutter: update was called on null
<p>I am trying to make a game with flutter's library Flame. But I am getting this error every time. It is saying that the update is called on null. But I have initialized in the initialize function. I have tried several ways but nothing seems to work. Please help me fix the bug.</p> <pre><code> import 'dart:math'; ...
I am trying to make a game with flutter's library Flame. But I am getting this error every time. It is saying that the update is called on null. But I have initialized in the initialize function. I have tried several ways but nothing seems to work. Please help me fix the bug. [CODE] My error: I/flutter (20131): ══╡ EXC...
android-studio|flutter|flame
1
2020-01-29T17:37:49.287Z
2,020
1
17
2
2,270
1
5,096
34
3
1
true
false
false
false
false
false
low
59,972,835
How do I fill this RecyclerView using MySQL database?
<p>I have a RecylerView setup and a database setup. They are both working correctly, the database is connected to the application using a BackgroundWorker.java. But I'm trying to get the RecyclerView to display text and images from the MySQl database.</p> <p><a href="https://i.stack.imgur.com/10DVi.png" rel="nofollow ...
I have a RecylerView setup and a database setup. They are both working correctly, the database is connected to the application using a BackgroundWorker.java. But I'm trying to get the RecyclerView to display text and images from the MySQl database. From these examples of the MySQL database and the recyclerview, I hope ...
java|android|mysql|android-studio|android-recyclerview
0
2020-01-29T17:47:21.207Z
2,020
1
17
2
64
0
561
53
5
3
true
true
false
false
false
false
zero
59,972,856
using Android.Support.V4.App.Fragment not functioning in C# Xamarin
<p>I am trying to get FragmentTransation and FragmentManager to work in C# using Android.Support.V4.App.Fragment however the namespace is greyed out and VS says 'Using directive is unnecessary'. I have installed the Xamarin Android Support V4 NuGet Package, cleaned and rebuilt my project, installed Xamarin.Android.Supp...
I am trying to get FragmentTransation and FragmentManager to work in C# using Android.Support.V4.App.Fragment however the namespace is greyed out and VS says 'Using directive is unnecessary'. I have installed the Xamarin Android Support V4 NuGet Package, cleaned and rebuilt my project, installed Xamarin.Android.Support...
c#|android|xamarin|fragment|deprecated
0
2020-01-29T17:49:16.087Z
2,020
1
17
2
1,406
3
466
67
5
1
true
false
false
false
false
false
zero
59,972,906
react native store notification data when app is close or in backaground
<p>I'm trying to build a react native app that includes chat, I'm using realm for storing my data on the device, and FCM to get a remote notification with 'react-native-firebase'.</p> <p><strong>I would like to know if there is any way that I can save the data of the remote notification to realm without entering the a...
I'm trying to build a react native app that includes chat, I'm using realm for storing my data on the device, and FCM to get a remote notification with 'react-native-firebase'. I would like to know if there is any way that I can save the data of the remote notification to realm without entering the app or to the notifi...
android|ios|react-native|firebase-cloud-messaging|react-native-firebase
1
2020-01-29T17:52:20.030Z
2,020
1
17
2
241
0
507
72
5
0
false
true
false
false
false
false
low
59,972,979
Updating Elements of Listview in a Fragment from a Catalog within another Fragment
<p>The title might be a little confusing so I hope that I can express my problem correctly. So I'm working on a simple workout log app. I have fragment ActiveWorkout as in Image 1. When I press the pink add button I am directed to another fragment, which contains different exercises as a List, which is shown in Image 2...
The title might be a little confusing so I hope that I can express my problem correctly. So I'm working on a simple workout log app. I have fragment ActiveWorkout as in Image 1. When I press the pink add button I am directed to another fragment, which contains different exercises as a List, which is shown in Image 2. T...
android|android-fragments|android-listview
1
2020-01-29T17:57:17.980Z
2,020
1
17
2
28
1
1,467
82
3
2
true
false
false
false
false
false
low
59,973,009
Database for data and pictures
<p>I know, that I probably could try to learn everything about databases, but my way of learning is to get first push/hint from pro's and then try to figure out the rest. It narrows down the amount of things to learn at once. So far it works for me.</p> <p>Long story short- my goal is to create Flutter app for iOS and...
I know, that I probably could try to learn everything about databases, but my way of learning is to get first push/hint from pro's and then try to figure out the rest. It narrows down the amount of things to learn at once. So far it works for me. Long story short- my goal is to create Flutter app for iOS and Android, t...
android|ios|database|flutter|firebase-realtime-database
1
2020-01-29T17:59:35.227Z
2,020
1
17
2
55
1
1,063
30
5
0
false
false
false
false
false
false
low
59,973,187
I want this..map zoom on my multiple markers, in one frame.right now my map zoom is showing centerlized position of country
<pre><code>LatLngBounds bounds = builder.build(); int width = getResources().getDisplayMetrics().widthPixels; int height = getResources().getDisplayMetrics().heightPixels; int padding = (int) (width * 0.10); // offset from edges of the map 10% of screen CameraUpdate cu = CameraUpdateFactory.newLatLngBounds(bounds, wi...
[CODE] below attached image you can check. Image link
java|android|google-maps|kotlin
1
2020-01-29T18:12:36.747Z
2,020
1
18
2
54
2
53
123
4
1
true
false
false
false
false
false
low
59,973,218
How to make only one document write to Firestore using GeoFirestore
<p>I have the next code (in kotlin), following the <code>README</code> at <a href="https://github.com/imperiumlabs/GeoFirestore-Android" rel="nofollow noreferrer">geofirestore-android</a>, that writes the geopoint and geohash to an existing firestore document.</p> <pre><code>val collectionRef = FirebaseFirestore.getIn...
I have the next code (in kotlin), following the README at geofirestore-android , that writes the geopoint and geohash to an existing firestore document. [CODE] The flow I am follow currently is: Write user info to a new document in Firestore Add GeoFirestore information to that document This result in two writes into F...
java|android|kotlin|google-cloud-firestore|geofirestore
1
2020-01-29T18:15:06.140Z
2,020
1
18
2
65
0
481
67
5
1
true
true
false
false
false
false
low
59,973,303
How to Get JSON Object Within JSON Array
<p>i want to get <strong>avatar_url</strong> in <strong>actor</strong> object. i can get <strong>"id"</strong> and <strong>"type"</strong> to show in recyclerview. but avatar_url not show image why?</p> <p><a href="https://api.github.com/events" rel="nofollow noreferrer">json url</a></p> <pre><code>final JsonArrayReq...
i want to get avatar_url in actor object. i can get "id" and "type" to show in recyclerview. but avatar_url not show image why? json url [CODE] how i get avatar_url from actor field? and yes i can run because i delete article.setAvatar_url(jsonObject.getString("avatar_url")); Thanks
json|android-studio
0
2020-01-29T18:20:47.993Z
2,020
1
18
2
35
1
283
40
2
1
true
false
false
false
false
false
zero
59,973,324
Android - Implement method from FileUtils get error
<p>If I use the method which getFilePlayTimeString() in the CutFragment class will no get an error but will cause other bugs. Therefore, I use the method from class FileUtils but it will get an error.</p> <p><strong>CutFragment.java</strong></p> <pre><code> public class CutFragment extends Fragment { private v...
If I use the method which getFilePlayTimeString() in the CutFragment class will no get an error but will cause other bugs. Therefore, I use the method from class FileUtils but it will get an error. CutFragment.java [CODE] FileUtils.java [CODE] Error [CODE]
java|android
1
2020-01-29T18:22:21.430Z
2,020
1
18
2
24
0
256
51
2
3
true
true
false
false
false
false
low
59,973,414
Android: In-Call Volume Mute
<p>I would like to know if there's any way to completely mute the android In-Call volume. Using the codes below, I managed to get it to be very low, but not completely mute. Is there any way to achieve this?</p> <pre><code>mAudioManager.setStreamMute(AudioManager.STREAM_VOICE_CALL, true); mAudioManager.setStreamVolume...
I would like to know if there's any way to completely mute the android In-Call volume. Using the codes below, I managed to get it to be very low, but not completely mute. Is there any way to achieve this? [CODE] I'm using API 26 and the most recent version of Android Studio. Thanks!
java|android
1
2020-01-29T18:28:20.543Z
2,020
1
18
2
518
0
283
28
2
1
true
true
false
false
false
false
low
59,973,450
Activity flashed and closed after sending text from an activity to another
<p>In this project, I am trying to pass the retrieved username and bio information to another activity. It was working fine before, but now when I press the button that help pass that to another activity, the target activity would appear with the correct username and bio for less than a second, and then crashed. Anybod...
In this project, I am trying to pass the retrieved username and bio information to another activity. It was working fine before, but now when I press the button that help pass that to another activity, the target activity would appear with the correct username and bio for less than a second, and then crashed. Anybody k...
java|android|firebase|google-cloud-firestore
0
2020-01-29T18:30:43.860Z
2,020
1
18
2
240
0
610
74
4
3
true
true
false
false
false
false
zero
59,973,476
Build Failed on Android Studio Google Codelabs 01.3 Text and Scrolling Views
<p>I am working through the <a href="https://codelabs.developers.google.com/codelabs/android-training-text-and-scrolling-views/index.html?index=..%2F..%2Fandroid-training#2" rel="nofollow noreferrer">Google Codelabs Android Fundamentals 01.3</a>. I am catching errors during the build. I believe the problem has to do wi...
I am working through the Google Codelabs Android Fundamentals 01.3 . I am catching errors during the build. I believe the problem has to do with resource id but after combing through the code and comparing it to the Codelabs solution code I am not finding the bug. I'm sure its something simple but I'm unable to find it...
java|android
2
2020-01-29T18:32:56.650Z
2,020
1
18
2
46
0
1,723
76
2
1
true
true
false
false
false
false
low
59,973,585
Android Studio - Auto Import won't work even after 'fixing' the problem
<p><strong>Straight forward -></strong> The Auto import function won't work on my Android Studio. Example: I declare a variable '<em>Button btn</em>' and I get no option to auto import (ALT+Enter) the Button library.</p> <p>I have tried by going to Settings->General->Auto Import and changed the settings to this: <a h...
Straight forward -> The Auto import function won't work on my Android Studio. Example: I declare a variable ' Button btn ' and I get no option to auto import (ALT+Enter) the Button library. I have tried by going to Settings->General->Auto Import and changed the settings to this: Screen shot It still ain't working. So I...
android|android-studio|kotlin
0
2020-01-29T18:41:22.657Z
2,020
1
18
2
85
1
460
71
3
0
false
false
false
false
false
false
zero
59,973,740
Android Studio WebView only displaying white screen
<p>Hi everyone I have this activity which display this link that I'm trying to embed, but it only display a blank white screen. It doesn't show any errors. I also tried links like googe.com and it loads just fine.</p> <p>Here's my code:</p> <pre><code> import androidx.annotation.NonNull; import androidx.appcompat.ap...
Hi everyone I have this activity which display this link that I'm trying to embed, but it only display a blank white screen. It doesn't show any errors. I also tried links like googe.com and it loads just fine. Here's my code: [CODE] I've also attached a screenshot of the display on my screen HERE How do I solve this? ...
android|android-webview
0
2020-01-29T18:52:13.387Z
2,020
1
18
2
167
1
366
51
2
1
true
false
false
false
false
false
zero
59,973,742
ContiguousPagedList onPageError while I'm not using ContiguousPagedList
<p>I have implementation of PositionalDataSource that defines <code>loadInitial</code> and <code>loadRange</code>. Paging works fine however under some boundary condition (likely related with loading next page in progress while exiting the screen) app crashes with <code>androidx.paging.ContiguousPagedList$1.onPageError...
I have implementation of PositionalDataSource that defines loadInitial and loadRange . Paging works fine however under some boundary condition (likely related with loading next page in progress while exiting the screen) app crashes with androidx.paging.ContiguousPagedList$1.onPageError (ContiguousPagedList.java:153) . ...
android|androidx|android-jetpack|android-paging-library
4
2020-01-29T18:52:17.973Z
2,020
1
18
2
407
2
672
71
4
1
true
false
false
false
false
false
low
59,973,757
Nested RecyclerView not scrolling
<p>I'm having a problem adding a recycler view inside another recycler view. The child recycler is inside a CardView and the CardView is inside the parent recycler view. I tried all solutions on the internet and no use. I want the child recycler view to scroll vertically while the parent recycler view also scroll verti...
I'm having a problem adding a recycler view inside another recycler view. The child recycler is inside a CardView and the CardView is inside the parent recycler view. I tried all solutions on the internet and no use. I want the child recycler view to scroll vertically while the parent recycler view also scroll vertical...
android|kotlin|android-recyclerview
3
2020-01-29T18:53:33.480Z
2,020
1
18
2
3,188
2
421
33
3
2
true
false
true
false
false
false
low
59,974,005
I'm need to know how put an interface of a method inside When() mockito method
<p>I'm trying to simulate a method with mockito in Android Studio, but, one of the methods in the presenter class need an interface as parameter, but, when i call the method inside When() of Mockito this not recognize the interface. See the below code:</p> <p>This is my MVP code example.</p> <p><strong>SignUpContract...
I'm trying to simulate a method with mockito in Android Studio, but, one of the methods in the presenter class need an interface as parameter, but, when i call the method inside When() of Mockito this not recognize the interface. See the below code: This is my MVP code example. SignUpContract interface: [CODE] SignUpMo...
java|android|mockito
1
2020-01-29T19:11:01.307Z
2,020
1
19
2
141
1
404
78
3
5
true
false
false
false
false
false
low
59,974,166
correct way of deleting items from firebase
<p>I'm trying to use removeValue() to remove items from my database. when i do my app crashes because there obviously becomes a null pointer in the onChange method.</p> <p>What is the best way to remove Values from the database to stop my app from crashing?</p> <p>these are the values I'm removing</p> <pre><code> Da...
I'm trying to use removeValue() to remove items from my database. when i do my app crashes because there obviously becomes a null pointer in the onChange method. What is the best way to remove Values from the database to stop my app from crashing? these are the values I'm removing [CODE] and in another activity, i call...
java|android|firebase|firebase-realtime-database|nullpointerexception
0
2020-01-29T19:21:36.733Z
2,020
1
19
2
183
2
415
43
5
3
true
false
false
false
false
false
zero
59,974,253
Android Studio Problem | Timed out waiting for process to appear on device
<p>I am having the following problem when I try to launch an app on my phone (screenshot attached)</p> <p><img src="https://i.stack.imgur.com/zsTmS.png" alt="screenshot" /></p> <p>Timed out waiting for process to appear on 'device'...</p> <p>I am using Android Studio 3.5.3 and I am trying to launch the app on a Huawei ...
I am having the following problem when I try to launch an app on my phone (screenshot attached) Timed out waiting for process to appear on 'device'... I am using Android Studio 3.5.3 and I am trying to launch the app on a Huawei P20 Lite with Android 9. I have not used Android Studio since last month and this is the fi...
java|android|ide
0
2020-01-29T19:27:53.197Z
2,020
1
19
2
2,118
1
431
74
3
0
false
false
false
false
false
false
zero
59,974,428
Have both GMS and HMS in the project
<p>How does one go about having both Google Mobile Services and <strong>Huawei</strong> Mobile Services in the app?</p> <p>Being that <strong>Huawei</strong> have lost the license over <strong>GMS</strong>, it seems we need to replace all the <strong>GMS</strong> services used in the apps with <strong>Huawei</strong> p...
How does one go about having both Google Mobile Services and Huawei Mobile Services in the app? Being that Huawei have lost the license over GMS , it seems we need to replace all the GMS services used in the apps with Huawei provided ones. What would a &quot;best practice&quot; be for this? Use flavors and somehow hand...
android|google-play-services|huawei-mobile-services
66
2020-01-29T19:39:56.813Z
2,020
1
19
2
19,594
6
616
36
3
0
false
false
true
true
true
false
high
59,974,513
Fragment duplicates when I clean the cache
<p>I'm new here, my english is a little bit bad but I'll try.</p> <p>In Android I have a <code>Fragment</code> inside an <code>Activity</code> with a <code>TextView</code> and a <code>RecyclerView</code>. When the <code>Activity</code> opens the <code>Fragment</code> is attached to it, but when I get out of the app an...
I'm new here, my english is a little bit bad but I'll try. In Android I have a Fragment inside an Activity with a TextView and a RecyclerView . When the Activity opens the Fragment is attached to it, but when I get out of the app and delete the cache and open the app again the Fragment duplicate itself. Whithout cleani...
java|android|xml|android-layout|android-recyclerview
0
2020-01-29T19:47:13.820Z
2,020
1
19
2
37
0
396
42
5
2
true
true
false
false
false
false
zero
59,974,704
Android Preference. How to force update summary for the preference with SummaryProvider setted?
<p>I have a modified <code>EditTextPreference</code> with using <code>SimpleSummaryProvider</code>:</p> <pre><code>&lt;NumberPreference android:key="pref_key" android:defaultValue="0" android:title="Some title" app:useSimpleSummaryProvider="true"/&gt; </code></pre> <p>If I change this preference progr...
I have a modified EditTextPreference with using SimpleSummaryProvider : [CODE] If I change this preference programmatically (for example in the onSharedPreferenceChanged event), then the summary in the graphical interface will not update. Is there any way to notify the Preference widget that it needs to read the value ...
android|kotlin|sharedpreferences|preferencefragment|edittextpreference
2
2020-01-29T20:01:13.443Z
2,020
1
20
2
490
1
543
95
5
1
true
false
false
false
false
false
low
59,974,884
navigation Screen opening when i click on button but its not closing again when i click it again
<p>navigation Screen opening when i click on button but its not closing again when i click it again. below is my code. this is my java code:</p> <pre><code> toolbar = findViewById(R.id.maintoolbar); toolbar.setTitleTextAppearance(this, R.style.ActionBarTitle); // Sets the Toolbar to act as the ActionBar for this ...
navigation Screen opening when i click on button but its not closing again when i click it again. below is my code. this is my java code: [CODE]
java|android|xml|android-studio|android-fragments
0
2020-01-29T20:12:39.320Z
2,020
1
20
2
33
1
144
96
5
1
true
false
false
false
false
false
zero
59,974,896
how to filter list data in descending order in kotlin?
<p>From the Android app, I wrote for I want to add, add a button in the toolbar that acts as a toggle. When the toggle is disabled (the default state) all posts should be shown, when it is enabled (after a tap) the list should only show the posts having user_id set to 1 and sorted by descending published_at. Tapping on...
From the Android app, I wrote for I want to add, add a button in the toolbar that acts as a toggle. When the toggle is disabled (the default state) all posts should be shown, when it is enabled (after a tap) the list should only show the posts having user_id set to 1 and sorted by descending published_at. Tapping on th...
android|kotlin|filter|togglebutton
-1
2020-01-29T20:14:07.177Z
2,020
1
20
2
964
1
701
54
4
2
true
false
false
false
false
true
negative
59,974,906
Could not find or load main class java.se.ee' while running sdkmanager on windows
<p>I'm Not using Android Studio, I'm trying to run sdkmanager.bat file under /sdk/tools/bin but getting below error - </p> <pre><code>Could not find or load main class java.se.ee' </code></pre> <p><a href="https://i.stack.imgur.com/PSnEW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PSnEW.png" al...
I'm Not using Android Studio, I'm trying to run sdkmanager.bat file under /sdk/tools/bin but getting below error - [CODE] I have tried solutions available on below question. But none worked. &quot;Could not find or load main class java.se.ee&quot; while running sdkmanager --licences I don't know how can i unset JAVA_OP...
java|android|sdk|android-sdk-tools
0
2020-01-29T20:14:53.670Z
2,020
1
20
2
612
0
396
81
4
1
true
true
false
false
false
false
zero
59,974,951
How to start activity from background in android 10 - android Q - MIUI 11
<p>I have problem with starting activity from background in android 10 - android Q - MIUI 11 on real device. In this thread: <a href="https://stackoverflow.com/a/59421118/10060903">start activity background in android 10</a> I found information how to do this on Android 10 and everything working perfectly on emulator.<...
I have problem with starting activity from background in android 10 - android Q - MIUI 11 on real device. In this thread: start activity background in android 10 I found information how to do this on Android 10 and everything working perfectly on emulator. I tested this on Xiaomi Mi 9T Pro with Android 10 (MIUI 11) and...
android|miui
14
2020-01-29T20:18:48.953Z
2,020
1
20
2
2,487
0
917
73
2
3
true
true
false
false
true
false
medium
59,974,967
Rive(flare) files with Flutter show and works fine on QEMU Android Emulator but won't shows on a builted APK in real android device
<p>Flutter Doctor:</p> <pre><code>[√] Flutter (Channel master, v1.14.7-pre.24, on Microsoft Windows [versão 10.0.18363.592], locale pt-BR) [√] Android toolchain - develop for Android devices (Android SDK version 28.0.3) [√] Chrome - develop for the web [X] Visual Studio - develop for Windows X Visual Studio not i...
Flutter Doctor: [CODE] I have two flare objects explicity declared on pubspec.yalm : [CODE] I'm already tried flare_flutter: ^2.0.1 and smart_flare dependences, neither works on a builted apk. I test on two diferent android devices. The flr (rive) files shows up just on emulator. https://github.com/ericodex/ericodigos
android|flutter|dart|flare|rive
0
2020-01-29T20:20:09.530Z
2,020
1
20
2
200
1
319
131
5
2
true
false
false
false
false
false
zero
59,974,969
cannot be provided without an @Provides-annotated method, A binding with matching key exists in component
<p>I'm trying to add dagger2 in a seed project for learn pourposes (I'm not an expert), but i havving the same problem:</p> <blockquote> <p>e: /Users/foca/projects/personalProjects/bar-droid-application/bar-droid/app/build/tmp/kapt3/stubs/debug/com/bar/bar_droid/di/AppComponent.java:8: error: [Dagger/MissingBinding]...
I'm trying to add dagger2 in a seed project for learn pourposes (I'm not an expert), but i havving the same problem: e: /Users/foca/projects/personalProjects/bar-droid-application/bar-droid/app/build/tmp/kapt3/stubs/debug/com/bar/bar_droid/di/AppComponent.java:8: error: [Dagger/MissingBinding] com.bar.bar_droid.domain....
android|kotlin|dependency-injection|dagger-2|dagger
1
2020-01-29T20:20:24.197Z
2,020
1
20
2
1,071
1
2,942
105
5
6
true
false
false
false
false
false
low
59,974,987
Read Samsung's and other OEM dark/night mode system setting
<p>I'm inheriting the "Theme.AppCompat.DayNight" theme to support dark mode automatically on Android Q and manually on previous versions. On Settings I let the user choose either On, Off or Automatic and then I use this code:</p> <pre><code>AppCompatDelegate.setDefaultNightMode(settings.darkMode()) </code></pre> <p>W...
I'm inheriting the "Theme.AppCompat.DayNight" theme to support dark mode automatically on Android Q and manually on previous versions. On Settings I let the user choose either On, Off or Automatic and then I use this code: [CODE] Where settings.darkMode is: [CODE] However I'd like to add support for Samsung One UI's " ...
android|kotlin|samsung-mobile
1
2020-01-29T20:21:54.440Z
2,020
1
20
2
145
1
420
59
3
3
true
false
false
false
false
false
low
59,975,017
Not able to use ViewHolder right in RecyclerView
<p>After a long time i am trying to use a recylcerview and when i am generating the onBindViewHolder methode, it is using RecyclerView.ViewHolder as a holder. but to use the holder on the Textview mFach, i need to use my ViewHolder, that i created below. </p> <pre><code> private ArrayList&lt;DatenItem&gt; mDatenLi...
After a long time i am trying to use a recylcerview and when i am generating the onBindViewHolder methode, it is using RecyclerView.ViewHolder as a holder. but to use the holder on the Textview mFach, i need to use my ViewHolder, that i created below. [CODE]
java|android|android-recyclerview
0
2020-01-29T20:23:26.443Z
2,020
1
20
2
200
2
258
48
3
1
true
false
false
false
false
false
zero
59,975,113
How to connect 3+ devices using Google-Nearby Connection APIs
<p>I am building an app that should connect at least 4 devices using nearby connection api. I am able to connect them intermittently, other wise only two devices are getting connected. </p> <p>I am using P2P-CLUSTER Topology and sending data as file payloads which are successfully sent. I have two questions: </p> <o...
I am building an app that should connect at least 4 devices using nearby connection api. I am able to connect them intermittently, other wise only two devices are getting connected. I am using P2P-CLUSTER Topology and sending data as file payloads which are successfully sent. I have two questions: Any suggestion on how...
android|google-nearby|google-nearby-connections
1
2020-01-29T20:31:16.257Z
2,020
1
20
2
171
0
632
61
3
1
true
true
false
false
false
false
low
59,975,294
Checking for root (via /system/xbinx/su) Android Q (Google APIs vs Google Play)
<p>I'm performing root checks during application startup by utilizing <a href="https://github.com/scottyab/rootbeer" rel="nofollow noreferrer">RootBeer</a>. One of the common checks for root is by checking for the existence of <code>/system/xbin/su</code>.</p> <p>I've noticed that emulators running an Android Q x86 (w...
I'm performing root checks during application startup by utilizing RootBeer . One of the common checks for root is by checking for the existence of /system/xbin/su . I've noticed that emulators running an Android Q x86 (with Google APIs ) image contain this file, and thus the root check returns true . However, emulator...
android|android-emulator|root|avd
1
2020-01-29T20:45:09.500Z
2,020
1
20
2
116
0
742
79
4
0
false
true
false
false
false
false
low
59,975,305
Toast Message will not display if placed at the beggining of the try catch
<p>I am having an issue with displaying a toast message. I want it to display when a button is initially clicked, so that the user is aware the app is working( in my case, generating a QR code). If I place the toast at the beginning of the try catch it does not display right away when the button is clicked. It displa...
I am having an issue with displaying a toast message. I want it to display when a button is initially clicked, so that the user is aware the app is working( in my case, generating a QR code). If I place the toast at the beginning of the try catch it does not display right away when the button is clicked. It displays th...
android-studio|try-catch|android-toast
0
2020-01-29T20:46:00.623Z
2,020
1
20
2
127
1
1,503
74
3
1
true
false
false
false
false
false
zero
59,975,419
Kotlin: gson conversion "Unable to invoke no-args constructor for class"
<p>I am getting the following error <code>Unable to invoke no-args constructor for class Entry. Registering an InstanceCreator with Gson for this type may fix this problem.</code></p> <p>My code extends an Entry class.</p> <pre><code>abstract class Data : ArrayList&lt;Entry&gt;() { //code removed for simplicity ...
I am getting the following error Unable to invoke no-args constructor for class Entry. Registering an InstanceCreator with Gson for this type may fix this problem. My code extends an Entry class. [CODE] I have a handler class to handle the transaction. [CODE] I call [CODE] previously I had it setup where Entry was just...
android|kotlin
0
2020-01-29T20:54:11.140Z
2,020
1
20
2
1,008
1
752
72
2
4
true
false
false
false
false
false
zero
59,975,465
Android - Getting null pointer when starting activity from external app module
<p>I've got an application that tries to open the main activity from a library/module that I created and I get the following error:</p> <pre><code>java.lang.RuntimeException: Unable to start activity ComponentInfo java.lang.IllegalStateException: findViewById(R.id.toolbar) must not be null </code></pre> <p>To import ...
I've got an application that tries to open the main activity from a library/module that I created and I get the following error: [CODE] To import the module I created a new module, selected the .aar file, added the dependency in gradle as [CODE] In the project of my module I am using apply plugin: 'com.android.library'...
android|kotlin|module|aar
0
2020-01-29T20:57:21.447Z
2,020
1
20
2
358
1
1,038
78
4
7
true
false
false
false
false
false
zero
59,975,553
Parcelables don't support default values. Android navigation deeplink argument
<p>During the implementation of the passing parameter solution, in navigation between modules, I came across a serialization error. Deeplinks, as far as I know, accepts custom argument types, which are Parcelables or Serializable.</p> <p>Im using newest version of navigation 2.2.0</p> <p>Error message:</p> <blockquo...
During the implementation of the passing parameter solution, in navigation between modules, I came across a serialization error. Deeplinks, as far as I know, accepts custom argument types, which are Parcelables or Serializable. Im using newest version of navigation 2.2.0 Error message: java.lang.UnsupportedOperationExc...
android|navigation|parcelable|deeplink|android-safe-args
20
2020-01-29T21:04:27.697Z
2,020
1
21
2
2,929
1
687
78
5
3
true
false
true
false
true
false
medium
59,975,739
How to split data in retrofit to add horizontal progressBar in android?
<p>I want to add horizontal progressBar instead of circle progressBar so I have to split data of images list that i want to post it how I can do it </p> <p>this is my code progressBar here is not horizontal , Thanks in advance</p> <pre><code> public void postImages() { for (int i = 0; i &lt; uploadedImagesL...
I want to add horizontal progressBar instead of circle progressBar so I have to split data of images list that i want to post it how I can do it this is my code progressBar here is not horizontal , Thanks in advance [CODE]
java|android|android-activity|retrofit
1
2020-01-29T21:21:05.663Z
2,020
1
21
2
54
0
222
71
4
1
true
true
false
false
false
false
low
59,975,747
Login app with existing user - phone Auth Firebase Android -
<p>I'm developing an app where I use the firebase phone auth method. It works great with first time users, they get the sms code and get registered in the firebase console. But if they signout or reinstall the app, they can't access to the app menu since they are already in the firebase console database.</p> <p>I don'...
I'm developing an app where I use the firebase phone auth method. It works great with first time users, they get the sms code and get registered in the firebase console. But if they signout or reinstall the app, they can't access to the app menu since they are already in the firebase console database. I don't know how ...
java|android|firebase-authentication
2
2020-01-29T21:21:40.390Z
2,020
1
21
2
2,441
2
643
60
3
1
true
false
false
false
false
false
low
59,975,765
Can't find menu item
<p>Edit : Solved, I detailed the solution in an answer.</p> <p>I might be missing something easy and I think the solution will be quite simple but I can't find it.</p> <p>My problem is that I want to change the text of my menu items (displayed in a navigation drawer) dynamically, but when i try to use <code>findItem(...
Edit : Solved, I detailed the solution in an answer. I might be missing something easy and I think the solution will be quite simple but I can't find it. My problem is that I want to change the text of my menu items (displayed in a navigation drawer) dynamically, but when i try to use findItem(R.id.item1) I get a null ...
android|menu
0
2020-01-29T21:22:56.570Z
2,020
1
21
2
1,150
1
510
20
2
3
true
false
false
false
false
false
zero