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
60,148,997
Mockk - spyk mock method only once
<p>I have <code>spyk</code> from <code>mockk</code> library:</p> <pre><code>my = spyk(My()) </code></pre> <p>later I am mocking one of the method to return something like:</p> <pre><code>every { my.method("someString") } returns something </code></pre> <p>I'm creating this <code>spyk</code> in a <code>@BeforeAll</c...
I have spyk from mockk library: [CODE] later I am mocking one of the method to return something like: [CODE] I'm creating this spyk in a @BeforeAll method and I'm reusing it a few times but, sometimes I need to call real my.method("someString") instead of mocked version, but this every{} mocked it everywhere. How to fo...
android|kotlin|mockk
5
2020-02-10T11:01:14.690Z
2,020
2
11
0
12,715
1
398
34
3
2
true
false
true
true
false
false
low
60,149,159
Android sensors don't gather data when phone is idle
<p>I’m trying to develop an app for Android in which I pick up data from several sensors (if available on the device) and write it down to a file which will later be analyzed for certain uses. I’m facing several problems, a minor one which I can kind of ignore and a major one that I haven’t been able to solve and makes...
I’m trying to develop an app for Android in which I pick up data from several sensors (if available on the device) and write it down to a file which will later be analyzed for certain uses. I’m facing several problems, a minor one which I can kind of ignore and a major one that I haven’t been able to solve and makes th...
android|background-process|android-sensors|battery-saver|android-doze-and-standby
0
2020-02-10T11:11:29.320Z
2,020
2
11
0
683
1
3,706
52
5
4
true
false
false
false
false
false
zero
60,149,283
How do i get the current date every time i send a report to server (android)?
<p>I send a report to server with this method </p> <pre><code>public void sendReport(Activity activity, final Report report) { Interface communicator = RestAdapterHelper.getInstance().createAdapter(activity); Calendar c = Calendar.getInstance(); c.getTime(); SimpleDateFormat df = new SimpleDateForma...
I send a report to server with this method [CODE] } I add the data with this method [CODE] And this is the method i create the database [CODE] Every data is sent to server except the date ,it keeps displaying to server 12/12/2019 15:42:19. Can you please tell me what am i doing wrong ?Why can't i change the date?
android|api|server|retrofit2
0
2020-02-10T11:18:42.773Z
2,020
2
11
0
65
1
314
77
4
3
true
false
false
false
false
false
zero
60,149,303
Volley sends null parameters to server when using post method
<p>I used volley for connect to Wordpress site. It worked correctly .But Volley send null parameters to server When the PHP is updated to PHP2.7. </p> <p>MyPHP Code is : </p> <pre class="lang-php prettyprint-override"><code>&lt;?php require_once("../wp-load.php"); require_once("class.aesCrypt.php"); $tell...
I used volley for connect to Wordpress site. It worked correctly .But Volley send null parameters to server When the PHP is updated to PHP2.7. MyPHP Code is : [CODE] I cheacked My php code in Postman like above. It got null parameters from Post Method . [CODE] When my PHP code like above, it is work correctly in postma...
java|php|android|wordpress
1
2020-02-10T11:19:53.527Z
2,020
2
11
0
105
1
529
61
4
3
true
false
false
false
false
false
low
60,149,382
HTTP request failed, HTTP status: 504
<p>I have an android application which I made with android studio and I use <code>KSOAP2</code> library to access a <code>WCFservice</code> which I made by myself too. I'm facing a strange problem. I use the below code to create <code>HttpTransportSE</code> object and set <code>timeOut</code> on it:</p> <pre><code>Htt...
I have an android application which I made with android studio and I use KSOAP2 library to access a WCFservice which I made by myself too. I'm facing a strange problem. I use the below code to create HttpTransportSE object and set timeOut on it: [CODE] I can call any methods of WCF service without any problem. But when...
android|ksoap2
0
2020-02-10T11:24:39.033Z
2,020
2
11
0
368
0
1,048
37
2
1
true
true
false
false
false
false
zero
60,149,473
JSON.typeMismatch(JSON.java:112) with url JSON file
<p>it my method call</p> <pre><code>if(guest){ new JsonTask().execute("URL"); }else{ new AsyncTaskGetMareker().execute(); } </code></pre> <p>This is my method:</p> <pre><code>private class JsonTask extends AsyncTask&lt;String, String, String&gt; { protected void onPreExecute() { super.on...
it my method call [CODE] This is my method: [CODE] This is my error [CODE] I found this code on this site and am trying to implement it in my project. I make sure that when checking, either a local or external file is loaded. What i do wrong in my code?Please help me...I don't understand English well, please understand...
java|android|json
2
2020-02-10T11:30:43.913Z
2,020
2
11
0
192
1
335
51
3
3
true
false
false
false
false
false
low
60,149,531
Is there how to solve an error of "unable to install intel haxm" on android studio?
<ol> <li><p>I tried to open run my program on the Android studio. <code>Error: Unable to install HAXM</code></p></li> <li><p>I uninstalled the HAXM from the android studio to reinstall. <code>Error: Unable to install Intel HAXM Unknown Error Please file a bug against Android Studio.</code></p></li> <li><p>I tried to do...
I tried to open run my program on the Android studio. Error: Unable to install HAXM I uninstalled the HAXM from the android studio to reinstall. Error: Unable to install Intel HAXM Unknown Error Please file a bug against Android Studio. I tried to download another emulator and a new operating system and the error is th...
android|android-studio|android-emulator|avd|haxm
0
2020-02-10T11:34:15.593Z
2,020
2
11
0
183
0
336
83
5
0
false
true
false
false
false
false
zero
60,149,550
is there an efficient way to pass an array to an asyncTask?
<p>I have a function which takes some time to execute. currently Im running it inside a Thread, because i cant make the AsyncTask working. i need to pass a double[] variable as input to doInBackground, then it should return the result which is also a double[] variable to onPostExecute where the result will be printed i...
I have a function which takes some time to execute. currently Im running it inside a Thread, because i cant make the AsyncTask working. i need to pass a double[] variable as input to doInBackground, then it should return the result which is also a double[] variable to onPostExecute where the result will be printed in a...
android-asynctask
0
2020-02-10T11:35:29.063Z
2,020
2
11
0
31
2
737
59
1
1
true
false
false
false
false
false
zero
60,149,650
Scroll RecyclerView with current Complete visible item height
<p>I have RecyclerView that contains user post , post height is not fixed , I have attached <code>PagerSnapHelper</code> to this RecyclerView .</p> <p>How can I make scrolling distance of this RecyclerView with current complete visible item in RecyclerView .</p> <pre><code>binding.videoTrendsRecycle.setLayoutManager(...
I have RecyclerView that contains user post , post height is not fixed , I have attached PagerSnapHelper to this RecyclerView . How can I make scrolling distance of this RecyclerView with current complete visible item in RecyclerView . [CODE]
android|android-recyclerview|pagersnaphelper
0
2020-02-10T11:40:55.257Z
2,020
2
11
0
137
0
242
61
3
1
true
true
false
false
false
false
zero
60,149,735
AutoCompleteTextView set width to longest adapter item
<p>I have an AutoCompleteTextView (as part of an <a href="https://material.io/develop/android/components/menu/#exposed-dropdown-menus" rel="nofollow noreferrer">Exposed Dropdownmenu</a>). I don't want to set a fixed width to it, instead the width shall be determined by the widest item from the adapter. So I've set the ...
I have an AutoCompleteTextView (as part of an Exposed Dropdownmenu ). I don't want to set a fixed width to it, instead the width shall be determined by the widest item from the adapter. So I've set the width to wrap_content, but this changes every time another item is selected. Example: I currently have two items: [COD...
android|android-adapter|autocompletetextview|mdc-components
0
2020-02-10T11:45:52.820Z
2,020
2
11
0
235
0
794
54
4
4
true
true
false
false
false
false
zero
60,149,742
How to avoid sending notifications to 'Miscellaneous' channel at Firebase?
<p>I want to show my notifications in a channel that I create so I can fully customize my channel with my preferences. I'm using a Firebase function to send notifications (messages) from user to user:</p> <pre><code>const functions = require('firebase-functions'); const admin = require('firebase-admin'); admin.initial...
I want to show my notifications in a channel that I create so I can fully customize my channel with my preferences. I'm using a Firebase function to send notifications (messages) from user to user: [CODE] I have implemented my FirebaseMessagingService service: [CODE] And created my own notification channel at my Applic...
javascript|google-cloud-functions|firebase-cloud-messaging|android-notifications|firebase-admin
2
2020-02-10T11:46:17.193Z
2,020
2
11
0
1,629
1
747
74
5
3
true
false
false
false
false
false
low
60,149,770
Android studio download with downloadmanager and then open downloaded file
<p>(to make things clearer :) I am using <strong>WebView</strong>. The idea is that users can visit any page and download any file, the idea is to support as many basic features as i can to get closer feel to built in web browser.</p> <p>As the title says, i am trying to make my app <strong>download files and open the...
(to make things clearer :) I am using WebView . The idea is that users can visit any page and download any file, the idea is to support as many basic features as i can to get closer feel to built in web browser. As the title says, i am trying to make my app download files and open them once theyre downloaded . There ar...
java|android|android-download-manager
0
2020-02-10T11:48:13.067Z
2,020
2
11
0
1,394
0
3,531
74
3
6
true
true
false
false
false
false
zero
60,149,911
How to observe Emited LiveData with MVVM
<p>I am struggling to understand how to handle emitted liveData. I have written four different examples of liveData here,</p> <pre><code>class MainViewModel : ViewModel() { val viewModelValue = MyRepo.liveValue fun viewModelGetNextValue(){ MyRepo.getNextValue() } val viewModelSquareValue = MyR...
I am struggling to understand how to handle emitted liveData. I have written four different examples of liveData here, [CODE] And part of the Fragment code is, [CODE] First Two examples of LiveData ( viewModelValue and viewModelSquareValue ) is easy to observe. and can be invoked with the button's click listener. The t...
android|android-livedata|kotlin-coroutines|android-viewmodel
0
2020-02-10T11:56:30.253Z
2,020
2
11
0
410
1
712
40
4
2
true
false
false
false
false
false
zero
60,150,166
Regex to split string in kotlin
<p>I want to group strings based on character.</p> <p>For eg. I want to split following url in two groups</p> <pre><code>group 1 - /viewarticle/abd-fdj-gfg-to group2 - 628882 (last string) /viewarticle/abd-fdj-gfg-to-628882 </code></pre> <p>I tried this " -(?!.*-) " but it is not working.</p> <p>I have to use on...
I want to group strings based on character. For eg. I want to split following url in two groups [CODE] I tried this " -(?!.*-) " but it is not working. I have to use only regex not split function. Any help would be appreciated.
android|kotlin
3
2020-02-10T12:10:32.583Z
2,020
2
12
0
1,043
2
227
31
2
1
true
false
false
false
false
false
low
60,150,174
Android Studio RecyclerView import problem
<p>I'm currently receiving an error when trying to import recycler view for my project.</p> <pre><code>import android.support.v7.widget.RecyclerView; </code></pre> <p>Here is my build.gradle:</p> <pre><code>apply plugin: 'com.android.application' android { compileSdkVersion 29 buildToolsVersion "29.0.2" ...
I'm currently receiving an error when trying to import recycler view for my project. [CODE] Here is my build.gradle: [CODE] And here is the start of my code: [CODE] When it is like this and I try to click a button to open a new activity ( where the recycler view is supposed to be ) the app just crashes and says: [CODE]...
android|android-studio|android-recyclerview|import|widget
0
2020-02-10T12:10:58.583Z
2,020
2
12
0
921
4
640
42
5
5
true
false
false
false
false
false
zero
60,150,210
How to check if copy/paste options are disable in android with espresso
<p>I am kind of new to Android-espresso-Kotlin and I am trying to check if an application has the following type of menu disabled (paste option) using espresso android. <a href="https://i.stack.imgur.com/zdegG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zdegG.png" alt="enter image description her...
I am kind of new to Android-espresso-Kotlin and I am trying to check if an application has the following type of menu disabled (paste option) using espresso android. So far I have been able to make the menu appear with a longClick; but when the menu is deactivated I am having the issue with the following approach: [COD...
android|kotlin|android-espresso
1
2020-02-10T12:13:06.807Z
2,020
2
12
0
142
0
755
71
3
1
true
true
false
false
false
false
low
60,150,441
Force close occurs while doing Fragment transaction to an Activity which is going to background
<p><strong>Error message:</strong></p> <p>java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:2080) at android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.ja...
Error message: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:2080) at android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:837) [CODE] I have also changed code frag...
java|android|android-layout|android-fragments
0
2020-02-10T12:26:34.387Z
2,020
2
12
0
59
0
482
95
4
2
true
true
false
false
false
false
zero
60,150,451
How to establish a VPN connection (Cisco IPSec Xauth PSK) within my android app instead of activating it through Android's inbuilt VPN tool?
<p>I am developing an app where I have to connect to a remote server through VPN. Presently I am using Android's inbuilt tool for VPN configuration and connection (Settings>More>VPN>...), which I have to activate and deactivate several times during the use of the app (the server blocks other internet connection when co...
I am developing an app where I have to connect to a remote server through VPN. Presently I am using Android's inbuilt tool for VPN configuration and connection (Settings>More>VPN>...), which I have to activate and deactivate several times during the use of the app (the server blocks other internet connection when conne...
java|android|openvpn|android-vpn-service
1
2020-02-10T12:27:11.527Z
2,020
2
12
0
1,598
0
1,430
140
4
0
false
true
false
false
false
false
low
60,150,468
How to find distinct folders which contains songs in Android Q using Mediastore, since MediaStore.Audio.Media.DATA is deprecated
<p>How to find distinct folders which contains songs in Android Q using Mediastore, since MediaStore.Audio.Media.DATA is deprecated</p> <p>the old code which was used was</p> <pre><code> public ArrayList&lt;Song&gt; FolderFilesList(Context context, String FolderPath) { //folder-exclude-sub-folders ...
How to find distinct folders which contains songs in Android Q using Mediastore, since MediaStore.Audio.Media.DATA is deprecated the old code which was used was [CODE] since MediaStore.Audio.Media.DATA is deprecated in Android Q how can we find distinct folder using Mediastore Can we use URI for finding distinct folder...
android|mediastore|android-10.0
0
2020-02-10T12:28:19.700Z
2,020
2
12
0
278
0
336
128
3
1
true
true
false
false
false
false
zero
60,150,477
date format Calendar in Android
<p>This is how it is written, I want to change the way it is written. I want it to be written in Turkish as Friday Mar 27. Returns null when I change the spelling in SimpleDateFormat. I am printing the data I have pulled from the database. </p> <p><strong>The output I want is:</strong> <code>Cuma Mar 27</code>(Turkish...
This is how it is written, I want to change the way it is written. I want it to be written in Turkish as Friday Mar 27. Returns null when I change the spelling in SimpleDateFormat. I am printing the data I have pulled from the database. The output I want is: Cuma Mar 27 (Turkish) Database output: [CODE] Android output:...
java|android|simpledateformat
0
2020-02-10T12:28:39.390Z
2,020
2
12
0
918
2
340
31
3
3
true
false
false
false
false
false
zero
60,150,516
Android Dagger fragment can access AppModule and ActivityModule dependencies but can't access FragmentModule dependencies
<p>I have an application using Dagger 2 having AppScope which has ActivityScope beneath it, which in turn contains FragmentScope. the Fragment @Inject fields can be injected with @Provides methods of the AppModule, and ActivityModule but not the @Provides methods inside the FragmentModule. </p> <p>I made sure to inclu...
I have an application using Dagger 2 having AppScope which has ActivityScope beneath it, which in turn contains FragmentScope. the Fragment @Inject fields can be injected with @Provides methods of the AppModule, and ActivityModule but not the @Provides methods inside the FragmentModule. I made sure to include the Fragm...
android|dagger-2
0
2020-02-10T12:31:06.927Z
2,020
2
12
0
176
1
1,587
121
2
6
true
false
false
false
false
false
zero
60,150,537
Processing a Broadcast in a background thread
<p>I was reading up on <code>Broadcast receivers</code> in the <a href="https://developer.android.com/guide/components/broadcasts#effects-process-state" rel="nofollow noreferrer">official docs</a> and came across moving <code>Broadcasts</code> to a background thread using <code>goAsync()</code> to flag that the <code>B...
I was reading up on Broadcast receivers in the official docs and came across moving Broadcasts to a background thread using goAsync() to flag that the Broadcast receiver needs more time to finish after onReceive() is complete. Now, Broadcast receivers are allowed to run for up to 10 seconds before the system will consi...
android|android-asynctask|broadcastreceiver|android-broadcast|kotlin-coroutines
0
2020-02-10T12:32:53.547Z
2,020
2
12
0
208
0
813
45
5
0
false
true
false
false
false
false
zero
60,150,619
Augmented image getting detected but not tracked
<p>I am working on augmented image example in arcore where I am able to detect the image but the image is not getting tracked and the object is not getting placed.I am referring augmented image example from codelabs. I have changed the image (hand made image), whose arcoreimg score in 100 and also done following change...
I am working on augmented image example in arcore where I am able to detect the image but the image is not getting tracked and the object is not getting placed.I am referring augmented image example from codelabs. I have changed the image (hand made image), whose arcoreimg score in 100 and also done following changes t...
android|augmented-reality|arcore|sceneform
4
2020-02-10T12:37:48.410Z
2,020
2
12
0
958
2
390
48
4
1
true
false
false
false
false
false
low
60,150,679
Adding views dynamically to LinearLayout not working as expected
<p>I'm inflating views inside a linearlayout dynamically, however once the linear layout reaches the end of the first row, it cuts off the rest and doesn't start on the second row. </p> <p><a href="https://i.stack.imgur.com/FmFjz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FmFjz.png" alt="enter ...
I'm inflating views inside a linearlayout dynamically, however once the linear layout reaches the end of the first row, it cuts off the rest and doesn't start on the second row. [CODE] For the linear layout I have it set to wrap_content for the height: [CODE] I've tried setting it to a defined height e.g 300dp however ...
android
1
2020-02-10T12:42:33.187Z
2,020
2
12
0
200
3
420
64
1
2
true
false
false
false
false
false
low
60,150,708
An intent redirects me to a wrong activity
<p>Unfortunately the button I tried to design doesn't work. I have three activities: Login, Register and MainActivity (which is a blank activity) and on the Login activity I have this register button ("button") that I want to redirect to Register activity but it redirects me to a blank page when I run the app. What sho...
Unfortunately the button I tried to design doesn't work. I have three activities: Login, Register and MainActivity (which is a blank activity) and on the Login activity I have this register button ("button") that I want to redirect to Register activity but it redirects me to a blank page when I run the app. What should...
java|android|authentication|button
0
2020-02-10T12:44:23.167Z
2,020
2
12
0
214
1
333
42
4
1
true
false
false
false
false
false
zero
60,150,872
PendingIntent in notification message
<p>I have function <code>sendNotification</code> that creates notification: </p> <pre><code>public class MainActivity extends AppCompatActivity { public Handler timerHandler = new Handler(); public Runnable timerRunnable = new Runnable() { @Override public void run() { //ti...
I have function sendNotification that creates notification: [CODE] In case I set PendingIntent my application restarts when clicking on message: [CODE] This is not acceptable. I need to show current running application and do not restart it. In case I comment mentioned PendingIntent code message is show, but clicking o...
android
1
2020-02-10T12:54:05.287Z
2,020
2
12
0
34
2
514
37
1
3
true
false
false
false
false
false
low
60,150,980
How to style font size of event text in RadCalendar Day Cell
<p>I am using nativescript <a href="https://docs.nativescript.org/ui/components/Calendar/Styling/month-view" rel="nofollow noreferrer">radCalendar</a> component in my svelte native application. I am unable to update Font size of the Event displayed in day cell. I am able to update font size of date but event text has n...
I am using nativescript radCalendar component in my svelte native application. I am unable to update Font size of the Event displayed in day cell. I am able to update font size of date but event text has no effect. Testing device is pixel1 with android10. my function to build month view [CODE] Edit: Playground link: Ex...
android|nativescript|svelte|svelte-component
2
2020-02-10T13:00:45.737Z
2,020
2
13
0
158
1
325
60
4
1
true
false
false
false
false
false
low
60,150,987
Xamarin.Forms when click on ListView ViewCell background color changed to orange , but not initialized to a color
<p>This is my code</p> <pre><code>&lt;ListView x:Name="listViewClient" ItemsSource="{Binding Client}" HasUnevenRows="True"&gt; &lt;ListView.ItemTemplate&gt; &lt;DataTemplate&gt; &lt;ViewCell &gt; &lt;Grid Margin="10"&gt; ...
This is my code [CODE] I dont know from where get that orange background color when i tap on the listview. From the code you can see that i dont have choosed samo backgroud color . Is there a default tap event to make the color orange? I tried everything but cant find is there anyplace i forgot to add a color.
xamarin.forms|xamarin.android|xamarin.ios
4
2020-02-10T13:00:57.867Z
2,020
2
13
0
1,910
3
311
113
3
1
true
false
false
false
false
false
low
60,151,147
start a service from device browser
<p>I have 2 application, a web app and an android app. I need tor start a service in my android application by pressing a button in the web application and send some data to it. is it possible?</p>
I have 2 application, a web app and an android app. I need tor start a service in my android application by pressing a button in the web application and send some data to it. is it possible?
android|intentfilter
0
2020-02-10T13:09:17.207Z
2,020
2
13
0
21
0
190
35
2
0
false
true
false
false
false
false
zero
60,151,226
How to implement swipe on views in android
<p>I want to build a movie app where the first page shows a button that takes to actions on swipe. On swipe right the pages for all movies should be shown and on swipe left shows the favourite movies. I am thinking of using Recycler-view swipe effect on the button as it is the easiest, flexible and effective way I can...
I want to build a movie app where the first page shows a button that takes to actions on swipe. On swipe right the pages for all movies should be shown and on swipe left shows the favourite movies. I am thinking of using Recycler-view swipe effect on the button as it is the easiest, flexible and effective way I can thi...
java|android|android-layout|android-fragments|kotlin
0
2020-02-10T13:14:16.497Z
2,020
2
13
0
86
1
387
42
5
0
false
false
false
false
false
false
zero
60,151,254
One onAnimationUpdate listener for some ValueAnimator-s
<p>I'm trying to use <code>ValueAnimator</code> to generate values from different ranges at one time.</p> <p>For example, first <code>ValueAnimator</code> generate values from the range of floats [0.3, 0.8], second from the range [0.9, 0.65] etc with one duration.</p> <p>And I need a listener like <code>onAnimationUp...
I'm trying to use ValueAnimator to generate values from different ranges at one time. For example, first ValueAnimator generate values from the range of floats [0.3, 0.8], second from the range [0.9, 0.65] etc with one duration. And I need a listener like onAnimationUpdate which would take values from every ValueAnimat...
android
0
2020-02-10T13:15:43.153Z
2,020
2
13
0
32
1
604
55
1
0
false
false
false
false
false
false
zero
60,151,275
Android ViewPager2 with fragment containing a recyclerview not scrolling
<p>I'm using ViewPager2 with FragmentStateAdapter to bind fragments. Each of my fragment has 3 recycler views laid out vertically. The problem is I'm not able to scroll the recycler view inside the fragments and also when I try to scroll the content vertically, the view pager changes tabs. How to fix this?</p>
I'm using ViewPager2 with FragmentStateAdapter to bind fragments. Each of my fragment has 3 recycler views laid out vertically. The problem is I'm not able to scroll the recycler view inside the fragments and also when I try to scroll the content vertically, the view pager changes tabs. How to fix this?
android|android-recyclerview|fragment|android-viewpager2
3
2020-02-10T13:16:51.697Z
2,020
2
13
0
6,736
3
304
72
4
0
false
false
true
false
false
false
low
60,151,351
What is the proper way to get Android NDK version
<p>I'm wondering how can I get android ndk version. I've installed ndk on my mac here: ~/Library/Android/sdk/ndk-bundle but it seems there is nothing capable to inform me about the version of this bundle.</p> <p>By analyzing this script <a href="https://gist.github.com/jorgenpt/1961404" rel="nofollow noreferrer">http...
I'm wondering how can I get android ndk version. I've installed ndk on my mac here: ~/Library/Android/sdk/ndk-bundle but it seems there is nothing capable to inform me about the version of this bundle. By analyzing this script https://gist.github.com/jorgenpt/1961404 I've came to conclusion that there should be RELEASE...
android|android-ndk|version
0
2020-02-10T13:21:11.557Z
2,020
2
13
0
4,290
3
552
49
3
0
false
false
true
false
false
false
zero
60,151,411
Android: Adding column in GridLayout breaks the grid, makes the first column overflow
<p>I am trying to use gridlayout to have a 5x5 grid of evenly spaced buttons. The first four columns of the row turned out nicely and exactly how I wanted it (and the new row seemed to also start off nicely when I tested it).</p> <p>Here is the relevant xml:</p> <pre><code> &lt;androidx.gridlayout.widget.GridLayou...
I am trying to use gridlayout to have a 5x5 grid of evenly spaced buttons. The first four columns of the row turned out nicely and exactly how I wanted it (and the new row seemed to also start off nicely when I tested it). Here is the relevant xml: [CODE] And here is how it looks like: So far so good. The reason it's s...
android|grid-layout
1
2020-02-10T13:24:40.703Z
2,020
2
13
0
145
1
698
85
2
2
true
false
false
false
false
false
low
60,151,414
Android xamarin app shows when screen is locked
<p>I have a cross-platform xamarin app, everything compiles and app works as it should.</p> <p>Problem is with the behavior of the Android app.</p> <ol> <li>I open app and use it, then press the power button to lock screen.</li> <li>When I press the power button again it takes me back to the app and this is not norma...
I have a cross-platform xamarin app, everything compiles and app works as it should. Problem is with the behavior of the Android app. I open app and use it, then press the power button to lock screen. When I press the power button again it takes me back to the app and this is not normal or usual like any other app on t...
c#|android|xamarin
0
2020-02-10T13:24:49.093Z
2,020
2
13
0
197
0
680
47
3
1
true
true
false
false
false
false
zero
60,151,440
Checkbox listview scrolling issue
<p>I am unable to properly check and uncheck (on clicking select all and unselect all respectively) the checkbox if listview have more items( more items in the sense items exceeding a mobile screen page). Only first page items get checked or unchecked on clicking the select all or unselect checkbox.</p> <p>Below is my...
I am unable to properly check and uncheck (on clicking select all and unselect all respectively) the checkbox if listview have more items( more items in the sense items exceeding a mobile screen page). Only first page items get checked or unchecked on clicking the select all or unselect checkbox. Below is my Activity c...
android
1
2020-02-10T13:26:38.110Z
2,020
2
13
0
57
2
578
33
1
5
true
false
false
false
false
false
low
60,151,511
Android Bottom Navigation Bar Colors Show Lighter
<h2>The colors in the Bottom Navigation Bar show lighter than selected.</h2> <p>I wish to implement the tab bar as shown in the image below. </p> <p><a href="https://i.stack.imgur.com/wgQpi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wgQpi.png" alt=""></a></p> <p>The selected tab will be highl...
The colors in the Bottom Navigation Bar show lighter than selected. I wish to implement the tab bar as shown in the image below. The selected tab will be highlighted as shown. I am using the library com.google.android.material:material:1.0.0 However on implementation I am, getting the output as such with the colors muc...
java|android|android-layout|android-xml
0
2020-02-10T13:30:33.273Z
2,020
2
13
0
74
0
495
49
4
3
true
true
false
false
false
false
zero
60,151,533
Xamarin Forms Modify NavigationPage created from code
<p>I have a problem. I created a NavigationPage with a TabbedPage in it, by using the following code:</p> <pre><code>TabbedPage tabbedPage = new TabbedPage(); tabbedPage.Children.Add(new productPage{ Title = "Products" }); tabbedPage.Children.Add(new setPage{ Title = "Sets" }); App.Current.MainPage = new NavigationPa...
I have a problem. I created a NavigationPage with a TabbedPage in it, by using the following code: [CODE] But now I want at the bottom of the navigation page a bar (stacklayout) with a total amount selected, so this bar doesn't need to be set in the TabbedPage, but in the NavigationPage, because it's the total amount o...
c#|xamarin|xamarin.forms|xamarin.android|xamarin.ios
0
2020-02-10T13:32:07.777Z
2,020
2
13
0
375
1
510
53
5
1
true
false
false
false
false
false
zero
60,151,763
Implement stale-while-revalidate using Retrofit and okhttp
<p>Does anyone know how to implement stale-while-revalidate using Retrofit and okhttp in Android?</p>
Does anyone know how to implement stale-while-revalidate using Retrofit and okhttp in Android?
android|http|retrofit|okhttp
1
2020-02-10T13:44:04.127Z
2,020
2
13
0
127
0
94
58
4
0
false
true
false
false
false
false
low
60,151,796
getSpeed() always 0
<p>It's a location tracking application. I test it in home, so location doesn't change. To do that I change them manually by incrementing the latitude and longitude by 2 everytime. I see the location change in my phone everytime, but the speed is still always 0! I don't know if it's working because I haven't tried this...
It's a location tracking application. I test it in home, so location doesn't change. To do that I change them manually by incrementing the latitude and longitude by 2 everytime. I see the location change in my phone everytime, but the speed is still always 0! I don't know if it's working because I haven't tried this me...
java|android|location
0
2020-02-10T13:46:14.567Z
2,020
2
13
0
70
0
383
19
3
1
true
true
false
false
false
false
zero
60,151,800
Stickerview Matrix Scale
<p>I wanted to scale with the stickerview in the matrix, but the result was as follows.</p> <p><img src="https://i.stack.imgur.com/Ki0ZZ.jpg" alt="image"></p> <p>When my request matrix is ​​returned, the scale will not be distorted like the picture. <img src="https://i.stack.imgur.com/wDryD.jpg" alt="image"> how can ...
I wanted to scale with the stickerview in the matrix, but the result was as follows. When my request matrix is ​​returned, the scale will not be distorted like the picture. how can I do that?
android|matrix|scale
0
2020-02-10T13:46:33.360Z
2,020
2
13
0
91
0
191
24
3
0
false
true
false
false
false
false
zero
60,151,856
How to check Room database integrity?
<p>I have the following simple database:</p> <p><code>NameList.kt</code></p> <pre><code>@Entity(tableName = "name_list") data class NameList( @PrimaryKey(autoGenerate = true) var id: Long = 0L, @ColumnInfo(name = "name") var name: String = "") </code></pre> <p><code>NameListDao.kt</c...
I have the following simple database: NameList.kt [CODE] NameListDao.kt [CODE] NameListRepository.kt [CODE] Now, when I change the table in NameList.kt by adding/removing a column such as [CODE] without deleting/changing the database on the phone, the app crashes with the following error message when the database is ac...
android|kotlin|android-room
0
2020-02-10T13:50:23.470Z
2,020
2
13
0
959
1
952
37
3
5
true
false
false
false
false
false
zero
60,151,928
How to update AppCompat?
<p>Hi currently new to Android Studio and Java. Attempting to use the design dependency to create floating labels for a login application. However, I require 'com.android.support.AppCompat-7:26.1.0' minimum. </p> <p>I current have 'androidx.appcompat:appcompat:1.1.0'. I am just unsure how i update or change this. I am...
Hi currently new to Android Studio and Java. Attempting to use the design dependency to create floating labels for a login application. However, I require 'com.android.support.AppCompat-7:26.1.0' minimum. I current have 'androidx.appcompat:appcompat:1.1.0'. I am just unsure how i update or change this. I am using minim...
java|android
0
2020-02-10T13:54:45.473Z
2,020
2
13
0
129
0
394
24
2
0
false
true
false
false
false
false
zero
60,151,974
android, how to use MaterialCardView while using Theme.AppCompat.Light.DarkActionBar
<p>The app is using androidX with minSdk 21, and using</p> <p><code>AppCompatActivity</code> with theme: </p> <pre><code>&lt;style name="myAppTheme" parent="Theme.AppCompat.Light.DarkActionBar"&gt; &lt;item name="colorPrimary"&gt;@color/theme_colorPrimary&lt;/item&gt; &lt;item name="colorPrimaryDark"&...
The app is using androidX with minSdk 21, and using AppCompatActivity with theme: [CODE] for the AppCompat DayNight theme, and switching day or night theme like: [CODE] But when uses com.google.android.material.card.MaterialCardView (with implementation 'com.google.android.material:material:1.1.0' ) [CODE] it got crash...
android|android-night-mode|materialcardview
2
2020-02-10T13:57:22.620Z
2,020
2
13
0
679
1
850
84
3
7
true
false
false
false
false
false
low
60,151,980
How to use Singleton class method inside xml data binding?
<p>I have a singleton class in my android studio kotlin project and I want to use its method inside the xml. For example, I have a variable inside the xml with the tag <code>@{appointment.startTime}</code>. I want to format this appointment.start time using a global function and that function exists inside my singlet...
I have a singleton class in my android studio kotlin project and I want to use its method inside the xml. For example, I have a variable inside the xml with the tag @{appointment.startTime} . I want to format this appointment.start time using a global function and that function exists inside my singleton class with the...
android|android-studio|mvvm|data-binding|singleton
2
2020-02-10T13:57:45.400Z
2,020
2
13
0
834
1
605
58
5
1
true
false
false
false
false
false
low
60,152,045
Set an edittext in a fragment after getting the result from a scanning activity
<p>I have a CaptureActivity to scan barcodes with mobile camera. I'm trying to launch this activity from a fragment, and let the fragment waiting for the activity to complete the scanning of a barcode. With the result of the scanning I'd like to fill an edittext inside the parent fragment. How to can I do that?</p>
I have a CaptureActivity to scan barcodes with mobile camera. I'm trying to launch this activity from a fragment, and let the fragment waiting for the activity to complete the scanning of a barcode. With the result of the scanning I'd like to fill an edittext inside the parent fragment. How to can I do that?
android|android-studio|android-fragments|android-camera
1
2020-02-10T14:01:10.910Z
2,020
2
14
0
101
1
309
79
4
0
false
false
false
false
false
false
low
60,152,143
java.lang.NullPointerException: Attempt to invoke virtual method '.getPackageName()' on a null object reference
<p>I'm trying to get lists from a db and suddenly this error appear.</p> <p>Errors are from here:</p> <pre><code>TinyDB tinydb = new TinyDB(MyApp.getContext()); SharedPreferences mPrefs = getPreferences(MODE_PRIVATE); </code></pre> <p>Here's the MyApp's class</p> <pre><code>public class MyApp extends Application {...
I'm trying to get lists from a db and suddenly this error appear. Errors are from here: [CODE] Here's the MyApp's class [CODE] I have no idea how to fix this right now. EDIT: Process: com.example.pangelyn, PID: 7750 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.pangelyn/com.exampl...
java|android
0
2020-02-10T14:07:55.180Z
2,020
2
14
0
2,759
2
2,321
111
2
3
true
false
true
false
false
false
zero
60,152,255
Library folding-cell-android not working, giving null cannot cast to non null error
<h1> Library</h1> <p><strong><em>Repo:</em></strong></p> <p><a href="https://github.com/Ramotion/folding-cell-android/" rel="nofollow noreferrer">https://github.com/Ramotion/folding-cell-android/</a></p> <p><strong><em>Version:</em></strong> </p> <blockquote> <p>com.ramotion.foldingcell:folding-cell:1.2.3</p> </b...
Library Repo: https://github.com/Ramotion/folding-cell-android/ Version: com.ramotion.foldingcell:folding-cell:1.2.3 I am facing some issue when I try to run the folding cell list example from the github repo I am receiving this error: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.rebocar.guincho7, PID: 13693 ko...
android|kotlin
0
2020-02-10T14:13:26.473Z
2,020
2
14
0
278
1
818
83
2
2
true
false
false
false
false
false
zero
60,152,280
GetKey method returns null in dataSnapshot
<p>I'm a beginner struggling to grasp Android Studio and I'm currently stuck on a problem. I'm trying to pull a read data from my Database in text view. When I use getKey method, it returns null even though there are values in the DB. Note I am trying to display "name" (222) in a text view box. Here is my code</p>
I'm a beginner struggling to grasp Android Studio and I'm currently stuck on a problem. I'm trying to pull a read data from my Database in text view. When I use getKey method, it returns null even though there are values in the DB. Note I am trying to display "name" (222) in a text view box. Here is my code
java|android|firebase|firebase-realtime-database
0
2020-02-10T14:14:59.453Z
2,020
2
14
0
295
1
308
42
4
0
false
false
false
false
false
false
zero
60,152,751
Google Maps work with Android Release APK but not AAB
<p>I have an app developed with Xamarin.Android and I recently added a map to it. I created my Key in the Developer console and restricted it with my fingerprints for Debug and Release. In Debug the map works fine.</p> <p>If I build an APK of the Release app and sign it (with the certificate I used to get the fingerpr...
I have an app developed with Xamarin.Android and I recently added a map to it. I created my Key in the Developer console and restricted it with my fingerprints for Debug and Release. In Debug the map works fine. If I build an APK of the Release app and sign it (with the certificate I used to get the fingerprint) and de...
android|xamarin.android|google-maps-api-2
6
2020-02-10T14:44:27.633Z
2,020
2
14
0
1,531
2
842
53
3
0
false
false
false
false
false
false
medium
60,152,753
Pass data to Service in Kotlin
<p>I have an app that uses Service class to perform task in foreground.</p> <p>This service also contains a Handler object to run same function multiple times. I want to change attributes in my activity_main.xml while functions are running in Service. For example when function calculates something in Service the resul...
I have an app that uses Service class to perform task in foreground. This service also contains a Handler object to run same function multiple times. I want to change attributes in my activity_main.xml while functions are running in Service. For example when function calculates something in Service the result prints in...
android|kotlin|service
0
2020-02-10T14:44:43.290Z
2,020
2
14
0
1,184
1
506
30
3
2
true
false
false
false
false
false
zero
60,152,755
Save Geolocalization
<p>I have a problem in my Android app. I have a service for geolocalization and I need to save the position on my DB.</p> <p>When the app is running in the foreground I can to save the position, but when the app is running in the background the information isn't saved.</p> <p>I used Firebase with Android.</p> <p>Tha...
I have a problem in my Android app. I have a service for geolocalization and I need to save the position on my DB. When the app is running in the foreground I can to save the position, but when the app is running in the background the information isn't saved. I used Firebase with Android. Thanks.
android|firebase
-3
2020-02-10T14:44:49.840Z
2,020
2
14
0
38
1
297
20
2
0
false
false
false
false
false
true
negative
60,152,758
Must extending class have the same access level as the class it extends
<p>I want to extend a class that is declared <em>public class A</em></p> <p>It seems that if I want to create a <em>Class B</em> which extends class A, I must declare it with public modifier. Is it correct? I will be happy to get an explanation why I can't make access level "stronger" when extending a class? </p> <p>...
I want to extend a class that is declared public class A It seems that if I want to create a Class B which extends class A, I must declare it with public modifier. Is it correct? I will be happy to get an explanation why I can't make access level "stronger" when extending a class? I encounter this problem when I tried ...
java|android|inheritance
0
2020-02-10T14:44:54.640Z
2,020
2
14
0
47
1
530
71
3
1
true
false
false
false
false
false
zero
60,152,919
How to exchange AndroidTouch+Keyprocessor after 1.12 update(FlutterView deprecation)
<p>I need <a href="https://github.com/RainwayApp/flutter_gamepad/issues/3#issue-558180218" rel="nofollow noreferrer">this GitHub issue</a> fixed, so I did some digging into the error myself. I am kind of stuck but here is what I've got:</p> <p>After the Flutter 1.12 update, the API using <a href="https://github.com/fl...
I need this GitHub issue fixed, so I did some digging into the error myself. I am kind of stuck but here is what I've got: After the Flutter 1.12 update, the API using FlutterView is now depracted and instead the new embedding packages should be used. Mainly, platform specific java/android/kotlin code should talk to fl...
android|flutter|kotlin|plugins|gamepad-api
1
2020-02-10T14:55:26.073Z
2,020
2
14
0
112
0
962
84
5
1
true
true
false
false
false
false
low
60,152,998
Custom markers not visible in mapbox-android
<p>I'm using mapbox-sdk android for location tracking. I want to add few custom markers to the map in specified location. But the below code doesn't works for me.</p> <pre><code>MarkerOptions options = new MarkerOptions(); options.title("pos"); IconFactory iconFactory = IconFactory.getInstance(MainActivity.this); Icon...
I'm using mapbox-sdk android for location tracking. I want to add few custom markers to the map in specified location. But the below code doesn't works for me. [CODE] I use mapox-sdk:6.0.1
android|mapbox-android|mapbox-marker
1
2020-02-10T14:59:43.417Z
2,020
2
14
0
485
2
188
44
3
1
true
false
false
false
false
false
low
60,153,024
Fit title text on a tabbedpage xamarin forms?
<p>Hello friends how are you? I tell you that I have a tabbedpage that aims to show a list of elements. These elements have different states and not to saturate a listview, I decided to create a tab for each state. This works well, the only problem is that the text of the tabs titles are cut. I understand that it is be...
Hello friends how are you? I tell you that I have a tabbedpage that aims to show a list of elements. These elements have different states and not to saturate a listview, I decided to create a tab for each state. This works well, the only problem is that the text of the tabs titles are cut. I understand that it is becau...
xamarin.forms|xamarin.android|xamarin.ios
0
2020-02-10T15:01:06.680Z
2,020
2
15
0
676
1
609
45
3
1
true
false
false
false
false
false
zero
60,153,312
FrameLayout$LayoutParams cannot be cast to ConstraintLayout$LayoutParams
<p>I'm getting the following error in my fragment:</p> <pre><code>java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to androidx.constraintlayout.widget.ConstraintLayout$LayoutParams </code></pre> <p>I'm using a Skeleton to hide data when aren't yet loaded and I notice that if I don'...
I'm getting the following error in my fragment: [CODE] I'm using a Skeleton to hide data when aren't yet loaded and I notice that if I don't use this Skeleton layout, the error doesn't appear. I don't understand why because I'm using the Skeleton layout also in other fragments and doesn't give to me any problems. This ...
android|fragment|android-constraintlayout
1
2020-02-10T15:16:53.463Z
2,020
2
15
0
383
0
412
72
3
4
true
true
false
false
false
false
low
60,153,442
Get the current language of a device
<p>Salem alaykom,</p> <p>I'm working on an automation project. I need to test an Arabic application. First, i need to check the language of the android device. I tried with:</p> <pre><code>Locale.getDefault().getDisplayLanguage(); </code></pre> <p>But it always give me the English language as result when the languag...
Salem alaykom, I'm working on an automation project. I need to test an Arabic application. First, i need to check the language of the android device. I tried with: [CODE] But it always give me the English language as result when the language of device is french or Arabic. Any idea please?
java|android|selenium|selenium-webdriver
-1
2020-02-10T15:25:04.667Z
2,020
2
15
0
41
2
289
36
4
1
true
false
false
false
false
true
negative
60,153,444
org.greenrobot.greendao.DaoException in android release mode when using androidx
<p>I'm using <strong>greenDAO</strong> for a long time in my app without any problem! But after migrating my project to using <strong>androidX</strong> , I received an Exception (<strong>org.greenrobot.greendao.DaoException</strong>) like below.</p> <pre><code>Non-fatal Exception: org.greenrobot.greendao.DaoException:...
I'm using greenDAO for a long time in my app without any problem! But after migrating my project to using androidX , I received an Exception ( org.greenrobot.greendao.DaoException ) like below. [CODE] I searched a lot in google for solving this problem but I didn't find an answer helping me. And this is my model class ...
androidx|greendao
0
2020-02-10T15:25:09.760Z
2,020
2
15
0
251
1
382
80
2
2
true
false
false
false
false
false
zero
60,153,465
Flutter not updating its animated text widget (Animated_Text_kit)
<p>So this is the main code where I fetch the data from json and update my UI. I have placed&quot; //Area of Interest &quot; comments where the code related to the problem lies.</p> <pre><code> class MainScreen extends StatefulWidget { final curLocdata; MainScreen({this.curLocdata}); @override _MainScreenSta...
So this is the main code where I fetch the data from json and update my UI. I have placed&quot; //Area of Interest &quot; comments where the code related to the problem lies. [CODE] Now the weather.dart file from where I am returning RotateAnimatedTextKit widget depending upon the condition [CODE] The thing is that the...
android|flutter|dart|flutter-layout|flutter-dependencies
1
2020-02-10T15:26:27.460Z
2,020
2
15
0
997
2
549
65
5
2
true
false
false
false
false
false
low
60,153,474
Null Pointer on RecyclerView
<p>I am getting a null pointer exception on the following statement within my recyclersetup method. </p> <pre><code>recyclerView.setLayoutManager(new LinearLayoutManager(getContext())); </code></pre> <p>It is due to the following statement not setting a pointer to recyclerView in the previous statement which is </p> ...
I am getting a null pointer exception on the following statement within my recyclersetup method. [CODE] It is due to the following statement not setting a pointer to recyclerView in the previous statement which is [CODE] I cannot determine why I am not getting the recyclerView pointer established via this statement. th...
java|android|android-fragments|android-recyclerview|nullpointerexception
0
2020-02-10T15:26:57.553Z
2,020
2
15
0
42
1
581
28
5
6
true
false
false
false
false
false
zero
60,153,540
AsyncTask - How can i pass an object as parameter to an anonymous AsyncTask class
<p>I am doing some coding stuff with android. Nearly I faced a problem and to solve this I need an <strong>anonymous</strong> <em>AsyncTask</em> class to execute. But I also need to pass and object to this class before execution. I tried the below code but it's not working and I did not find any solution by googling al...
I am doing some coding stuff with android. Nearly I faced a problem and to solve this I need an anonymous AsyncTask class to execute. But I also need to pass and object to this class before execution. I tried the below code but it's not working and I did not find any solution by googling also. [CODE]
java|android|android-asynctask
1
2020-02-10T15:30:33.667Z
2,020
2
15
0
79
2
301
81
3
1
true
false
false
false
false
false
low
60,153,688
Room: error: Not sure how to convert a Cursor to this method's return type (void)
<p>I have this query set up to return all the records from these tables and display the information on a recyclerview in android. the DB is set up using the Room persistence library aka SQLITE.</p> <pre><code>@Query ("SELECT moodBeforetable.userId, moodBeforetable.moodBefore, moodBeforetable.cbtId, cbtTable.automat...
I have this query set up to return all the records from these tables and display the information on a recyclerview in android. the DB is set up using the Room persistence library aka SQLITE. [CODE] When I try to compile the app I get the following error: The query returns some columns which are not used by com.example....
android|sql|database|sqlite|android-room
1
2020-02-10T15:39:03.287Z
2,020
2
15
0
304
1
510
81
5
1
true
false
false
false
false
false
low
60,153,772
How to use material design?
<p>Hi currently following a tutorial for creating floating labels on an application. Attempting to use the design dependencies before realising AndroidX requires the use of 'com.google.android.material:material-rc1' Im just confused as to how to use it and how to resolve the dependency.</p> <pre><code> implementati...
Hi currently following a tutorial for creating floating labels on an application. Attempting to use the design dependencies before realising AndroidX requires the use of 'com.google.android.material:material-rc1' Im just confused as to how to use it and how to resolve the dependency. [CODE] Any help would be great!
java|android|gradle|material-design
0
2020-02-10T15:43:21.623Z
2,020
2
15
0
61
0
316
27
4
1
true
true
false
false
false
false
zero
60,153,829
Build failed with an exception: Task '—' not found in root project
<p>This what I got when I tried to integrate with SonarQube. I cannot find the error.</p> <p>The error is as follows:</p> <pre><code>/AndroidStudioProjects/ExamDutyAlterationHelper$ ./gradlew clean test jacocoTestReport sonarqube -Dsonar.host.url=http://localhost:9000 — info -stacktrace FAILURE: Build failed with an...
This what I got when I tried to integrate with SonarQube. I cannot find the error. The error is as follows: [CODE] This is the build.gradle file: [CODE]
java|android|gradle|sonarqube
2
2020-02-10T15:47:21.930Z
2,020
2
15
0
5,212
1
152
66
4
2
true
false
true
false
false
false
low
60,153,914
Primary directory Download not allowed for media
<p>Trying to save a PDF file in downloads directory, but after <code>getExternalStoragePublicDirectory</code> got completely deprecated after Android Q, there is no way to save files in any other location than DCIM or Pictures folder as the following exception got thrown when trying to save file there.</p> <blockquote...
Trying to save a PDF file in downloads directory, but after getExternalStoragePublicDirectory got completely deprecated after Android Q, there is no way to save files in any other location than DCIM or Pictures folder as the following exception got thrown when trying to save file there. IllegalArgumentException: Primar...
android|pdf|save|media|android-10.0
6
2020-02-10T15:52:10.503Z
2,020
2
15
0
10,236
2
654
48
5
1
true
false
true
false
false
false
medium
60,153,988
how do I add a comment on a wordpress post using wp rest api v2?
<p>I want to add comments on the wordpress web post from the Android APP using the Rest API : <a href="https://developer.wordpress.org/rest-api/reference/comments/" rel="nofollow noreferrer">https://developer.wordpress.org/rest-api/reference/comments/</a></p>
I want to add comments on the wordpress web post from the Android APP using the Rest API : https://developer.wordpress.org/rest-api/reference/comments/
java|android|wordpress|api|kotlin
0
2020-02-10T15:56:27.747Z
2,020
2
15
0
135
1
151
64
5
0
false
false
false
false
false
false
zero
60,154,011
How do I get Wireguard-Android make file to function on Windows?
<p>I'm trying to build the <a href="https://github.com/WireGuard/wireguard-android" rel="noreferrer">wireguard-android</a> sources on my windows machine, fixing the problems step by step with trial and error. </p> <p>I have CMake and Make installed, the first problem I encountered was the 'bad' value reported by <code...
I'm trying to build the wireguard-android sources on my windows machine, fixing the problems step by step with trial and error. I have CMake and Make installed, the first problem I encountered was the 'bad' value reported by uname (mingw64), not matching with the golang filenames hosted by Google. I've edited (hacked) ...
android|makefile|cmake|android-ndk|wireguard
9
2020-02-10T15:57:49.390Z
2,020
2
15
0
980
2
2,421
64
5
2
true
false
false
false
false
false
medium
60,154,058
Why can't I use an intent to transition back to a previous fragment in my Android app?
<p>I make a transition from a fragment to an activity but I am unable to transition back to the fragment without my app crashing.</p> <p>Here is my fragment code:</p> <pre><code>package com.riverstonetech.gositeuk.ui.scotland import android.content.Intent import android.os.Bundle import android.util.Log import andro...
I make a transition from a fragment to an activity but I am unable to transition back to the fragment without my app crashing. Here is my fragment code: [CODE] And here is the relevant code in my activity class RegionActivity : [CODE] Here is the error output in the logcat window: [CODE] I don't have enough knowledge o...
android|kotlin|android-activity|fragment
0
2020-02-10T16:00:44.610Z
2,020
2
16
0
70
2
412
86
4
3
true
false
false
false
false
false
zero
60,154,062
Get server data using web services
<p>I want to get the data from server database using retrofit library and save it to sqlite database in android. I cannot find any tutorials regarding this problem. Which method i should follow to solve this problem</p>
I want to get the data from server database using retrofit library and save it to sqlite database in android. I cannot find any tutorials regarding this problem. Which method i should follow to solve this problem
android|sqlite|web-services|android-sqlite|retrofit
0
2020-02-10T16:01:02.460Z
2,020
2
16
0
43
1
212
34
5
0
false
false
false
false
false
false
zero
60,154,123
How to multiply layouts dynamically and know witch one is clicked by user?
<p>Fristly, sorry for my english.</p> <p>Then, I'm trying to develop an app with android studio. I'm doing well, thank to stackoverflow ! </p> <p>But now I have a problem. In my app, I need to create new layouts (from an original one) when the user wants a new one in the main layout. The layout I want to duplicate : ...
Fristly, sorry for my english. Then, I'm trying to develop an app with android studio. I'm doing well, thank to stackoverflow ! But now I have a problem. In my app, I need to create new layouts (from an original one) when the user wants a new one in the main layout. The layout I want to duplicate : [CODE] After adding ...
java|android|android-layout
0
2020-02-10T16:05:05.330Z
2,020
2
16
0
93
0
620
74
3
1
true
true
false
false
false
false
zero
60,154,176
I'm getting an error while running my app
<p>When i try to run my app i get this error:</p> <pre><code>java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.mysolver/com.example.mysolver.MainActivity}: java.lang.ClassCastException: androidx.constraintlayout.widget.ConstraintLayout cannot be cast to android.widget.Button at an...
When i try to run my app i get this error: [CODE] Other people have had this problem but none of the solutions worked for me. Here is my "content_main.xml" [CODE] Here's my "activity_main.xml": [CODE] Here's my "MainActivity.java": [CODE]
java|android
1
2020-02-10T16:08:16.663Z
2,020
2
16
0
73
2
238
41
2
4
true
false
false
false
false
false
low
60,154,247
can't phone call directly from flutter app
<p>I am trying to make a phone call using flutter app; I have found <code>url_launcher</code> package. However, it only directs the user to the phone itself and click the green call button to make a regular phone call. Is there a way to make the app call directly and and not using the phone of the user itself?</p>
I am trying to make a phone call using flutter app; I have found url_launcher package. However, it only directs the user to the phone itself and click the green call button to make a regular phone call. Is there a way to make the app call directly and and not using the phone of the user itself?
android|flutter
1
2020-02-10T16:12:53.307Z
2,020
2
16
0
229
1
295
42
2
0
false
false
false
false
false
false
low
60,154,291
Notification is not displayed in notification drawer if app is in foreground
<p>I am sending a notification into my app using Firebase cloud messaging and it's working fine. However, when I send a notification and if my app is in the foreground, the notification will not show in the notification tray. The notification only shows in the notification tray if my app is in the background. </p> <p>...
I am sending a notification into my app using Firebase cloud messaging and it's working fine. However, when I send a notification and if my app is in the foreground, the notification will not show in the notification tray. The notification only shows in the notification tray if my app is in the background. Below is my ...
java|android|firebase-cloud-messaging
0
2020-02-10T16:16:15.300Z
2,020
2
16
0
60
1
332
76
3
1
true
false
false
false
false
false
zero
60,154,311
How to get the metadata in real time with Camera2 API
<p>I need to get the current ISO, exposure time and focal length in numeric variables. If it cannot be done then I would like to get that metadata data from a previously saved video.</p>
I need to get the current ISO, exposure time and focal length in numeric variables. If it cannot be done then I would like to get that metadata data from a previously saved video.
android|android-imageview|android-videoview|android-camera2
-1
2020-02-10T16:17:17.683Z
2,020
2
16
0
263
1
179
53
4
0
false
false
false
false
false
true
negative
60,154,356
Samsung S7 (Oreo) BLE scan and disconnect problems
<p>Our app needs to connect with BLE device to collecting data, the code has two problems when running on Samsung S7 (model name SM-930W8, Android 8.0): </p> <ol> <li>BluetoothLeScanner.startScan(filters, settings, mScanCallback) fails to find our device (can be solved if we passes an empty filters and filter by our c...
Our app needs to connect with BLE device to collecting data, the code has two problems when running on Samsung S7 (model name SM-930W8, Android 8.0): BluetoothLeScanner.startScan(filters, settings, mScanCallback) fails to find our device (can be solved if we passes an empty filters and filter by our code later on); Blu...
android|bluetooth-lowenergy|disconnect
0
2020-02-10T16:20:07.367Z
2,020
2
16
0
111
0
664
50
3
2
true
true
false
false
false
false
zero
60,154,362
Android Background Notification - Tap not working
<p>I have an Ionic app and a .NET backend and I'm trying to send push notifications through the Firebase Admin SDK (v1.9.0), like this:</p> <pre><code>public void SendToOneDeviceAsync(string registrationToken, PushNotificationMessage notificationMessage) { var firebaseMessage = BuildMessage(registrationToken, noti...
I have an Ionic app and a .NET backend and I'm trying to send push notifications through the Firebase Admin SDK (v1.9.0), like this: [CODE] And the message is built like this: [CODE] It worked before but it's not working anymore. I've checked for updates of the Admin SDK and there's none. The notification is received, ...
android|firebase|ionic-framework|firebase-cloud-messaging|ionic4
1
2020-02-10T16:20:28.253Z
2,020
2
16
0
37
0
604
49
5
2
true
true
false
false
false
false
low
60,154,418
why the graddle update failed while testing my first flutter hello world app
<p>I am totally new to the mobile application development, I have started with flutter and I am using Microsoft visual code editor for development. But while When I am testing the hello world app in my android mobile it throws the graddle update failed error. Please let me know the reasons why it is happening.</p> <p>...
I am totally new to the mobile application development, I have started with flutter and I am using Microsoft visual code editor for development. But while When I am testing the hello world app in my android mobile it throws the graddle update failed error. Please let me know the reasons why it is happening. Running Gra...
android|flutter
0
2020-02-10T16:23:17.867Z
2,020
2
16
0
70
0
538
76
2
0
false
true
false
false
false
false
zero
60,154,529
RecyclerView remains empty with Paging Library and PositionalDataSource
<p>I am trying to configure the Android Paging library in my project to load a paginated list of messages into a RecyclerView. Since my API uses offset and max, I'm using a PositionalDataSource.</p> <p>Here is my DataSource implementation, where DataStore is using RetroFit to load the messages, and I can see in the co...
I am trying to configure the Android Paging library in my project to load a paginated list of messages into a RecyclerView. Since my API uses offset and max, I'm using a PositionalDataSource. Here is my DataSource implementation, where DataStore is using RetroFit to load the messages, and I can see in the console that ...
android|android-recyclerview|android-paging|android-paging-library
6
2020-02-10T16:29:54.847Z
2,020
2
16
0
3,541
2
1,279
71
4
5
true
false
true
false
false
false
medium
60,154,849
Get users that have "x" in firebase database in android studio
<p>I put data in realtime database like this: </p> <p><a href="https://i.stack.imgur.com/DI9Qq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DI9Qq.png" alt="enter image description here"></a></p> <p>And I want FOR EVERY user (in this case KXya0 ...) to get "zile" I have this code </p> <pre><cod...
I put data in realtime database like this: And I want FOR EVERY user (in this case KXya0 ...) to get "zile" I have this code [CODE] I know that i need to say smth like child(user).child("zile") etc.. But I want to do it for all the users. How can I do that?
java|android|firebase|firebase-realtime-database
1
2020-02-10T16:49:55.613Z
2,020
2
16
0
32
1
257
62
4
1
true
false
false
false
false
false
low
60,154,853
How to test Android Workers with In-Memory Room database injected by Koin
<p>My current Android Application employs <code>Koin</code> for <code>DI</code></p> <pre><code>def koin_version = '2.0.1' api "org.koin:koin-androidx-scope:$koin_version" api "org.koin:koin-androidx-viewmodel:$koin_version" api "org.koin:koin-androidx-ext:$koin_version" androidTestImplementation "org.koin:koin-test:$...
My current Android Application employs Koin for DI [CODE] I wish to test my Workers that have my Room database injected into them For testing I wish to inject an In Memory version of my Room database. the worker version I have is [CODE] This is the test I am running [CODE] My Koin testDatabase Module resembles this :- ...
android|android-testing|android-workmanager|koin
0
2020-02-10T16:50:04.887Z
2,020
2
16
0
684
1
512
73
4
5
true
false
false
false
false
false
zero
60,154,992
FeathersJS login error when building for Android
<p>I am building an Android app using Ionic. And using the following <strong><em>feathers_client.js</em></strong></p> <pre><code>const feathers = require('@feathersjs/feathers'); const socketio = require('@feathersjs/socketio-client'); const auth = require('@feathersjs/authentication-client'); const io = require('sock...
I am building an Android app using Ionic. And using the following feathers_client.js [CODE] When I run the app at the browser it works fine. But when I run it at an Android device I only get "NotAuthenticated". I am assuming this is happening because FeathersJS stores the JWT token at window.localStorage and this is no...
android|jwt|feathersjs|jwt-auth
0
2020-02-10T16:59:19.197Z
2,020
2
16
0
62
1
576
48
4
2
true
false
false
false
false
false
zero
60,155,142
Dagger injection to Workamanager AssistedInject_AppAssistedInjectModule
<p>I want to inject repositories and others in the workmanager. Since workmanager is and Android Component i cannot just inject stuff in the construcotr but i have to make a Factory class. So i found an example on Medium and i followed it. I have the dependencies</p> <pre><code>// Dagger 2 def dagger_version = '2....
I want to inject repositories and others in the workmanager. Since workmanager is and Android Component i cannot just inject stuff in the construcotr but i have to make a Factory class. So i found an example on Medium and i followed it. I have the dependencies [CODE] Then i have the WorkManager Module where i bind my W...
android|dagger-2|android-workmanager|assisted-inject
0
2020-02-10T17:09:42.740Z
2,020
2
17
0
1,160
2
676
71
4
7
true
false
false
false
false
false
zero
60,155,165
How do I import androidx.work.WorkManager?
<p>Can't import androidx.work.WorkManager. Working with Studio 3.4</p> <p><a href="https://i.stack.imgur.com/Dim9d.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Dim9d.png" alt="enter image description here"></a></p>
Can't import androidx.work.WorkManager. Working with Studio 3.4
android|android-workmanager
8
2020-02-10T17:10:56.260Z
2,020
2
17
0
6,847
2
63
42
2
0
false
false
true
false
false
false
medium
60,155,180
Reason of error "Application not installed"
<p>I have very basic application with single MainActivy class that has only one default method <code>onCreate</code> . Trying to build APK application by using Gradle. I do <code>Edit Configurations -&gt; Add New Configuration -&gt; Gradle -&gt; Gradle project - Minimas; Task - assemble.</code></p> <p>Gradle build wit...
I have very basic application with single MainActivy class that has only one default method onCreate . Trying to build APK application by using Gradle. I do Edit Configurations -> Add New Configuration -> Gradle -> Gradle project - Minimas; Task - assemble. Gradle build without errors and I got app-release-unsigned.apk...
android
0
2020-02-10T17:12:20.360Z
2,020
2
17
0
94
1
805
43
1
0
false
false
false
false
false
false
zero
60,155,199
Get OnTouchListener object from View by reflection
<p>I need modify <code>onTouch</code> action on same View. So I needed in field <code>mOnTouchListener</code> that stored at <code>static class ListenerInfo</code> in <code>public class View</code> I try this:</p> <p><code>Field onTouchListenerField = myView.getClass().getDeclaredField("ListenerInfo.mOnTouchListener")...
I need modify onTouch action on same View. So I needed in field mOnTouchListener that stored at static class ListenerInfo in public class View I try this: Field onTouchListenerField = myView.getClass().getDeclaredField("ListenerInfo.mOnTouchListener"); and I get error: No field ListenerInfo.mOnTouchListener in class My...
java|android|reflection|android-view|android-reflection
0
2020-02-10T17:13:30.510Z
2,020
2
17
0
107
1
462
50
5
0
false
false
false
false
false
false
zero
60,155,237
Display an object as Gson in Android studio logcat
<p>I get Gson object from API, and want to see either am I receiving the right list of items. When display it in logcat, it is too difficult to read. Is it possible to apply any formatter as in google chrome?</p>
I get Gson object from API, and want to see either am I receiving the right list of items. When display it in logcat, it is too difficult to read. Is it possible to apply any formatter as in google chrome?
android-studio|gson
1
2020-02-10T17:16:17.317Z
2,020
2
17
0
87
0
205
50
2
0
false
true
false
false
false
false
low
60,155,313
How to get a Java request response from PHP page in an array
<p>I am new to Java... But I have tried to achieve this in JS successfully, but I don't know how to do same in Java.</p> <h2>Question</h2> <p>I am building an android app in Android Studio, and I have this code that sends a POST request to a PHP page in my local server.</p> <pre><code>String url = "http://localhost/...
I am new to Java... But I have tried to achieve this in JS successfully, but I don't know how to do same in Java. Question I am building an android app in Android Studio, and I have this code that sends a POST request to a PHP page in my local server. [CODE] And in my signUp.php I am outputting the response JSON_ENCODE...
java|php|android-studio
0
2020-02-10T17:21:25.640Z
2,020
2
17
0
312
1
420
60
3
2
true
false
false
false
false
false
zero
60,155,434
Post request returns empty response body Android?
<p>I'm using <a href="https://github.com/android-async-http" rel="nofollow noreferrer">android-async-http</a> for rest request. When I doing post request then the response body is empty. When I use postman for the same request I received a response as JSONObject.</p> <pre><code> AsyncHttpClient client = new AsyncHttpC...
I'm using android-async-http for rest request. When I doing post request then the response body is empty. When I use postman for the same request I received a response as JSONObject. [CODE]
android|android-async-http
0
2020-02-10T17:28:58.890Z
2,020
2
17
0
339
1
189
49
2
1
true
false
false
false
false
false
zero
60,155,439
Make part of coroutine continue past cancellation
<p>I have a file managing class that can save a big file. The file manager class is an application singleton, so it outlives my UI classes. My Activity/Fragment can call the <code>save</code> suspend function of the file manager from a coroutine and then show success or failure in the UI. For example:</p> <pre><code>/...
I have a file managing class that can save a big file. The file manager class is an application singleton, so it outlives my UI classes. My Activity/Fragment can call the save suspend function of the file manager from a coroutine and then show success or failure in the UI. For example: [CODE] The problem with this appr...
android|kotlin|kotlin-coroutines
3
2020-02-10T17:29:15.740Z
2,020
2
17
0
2,360
3
1,346
49
3
3
true
false
false
false
false
false
low
60,155,498
How to retrieve a username from firebase realtime database
<p>I have a firebase realtime db set up with a node for ratings and a node for users. Each user has their unique key, within which their details are found including location, username etc. </p> <p>For a welcome back screen, I want to display the username. The user logs in with their email and password. I can get the ...
I have a firebase realtime db set up with a node for ratings and a node for users. Each user has their unique key, within which their details are found including location, username etc. For a welcome back screen, I want to display the username. The user logs in with their email and password. I can get the email to disp...
java|android|firebase|firebase-realtime-database
2
2020-02-10T17:32:43.900Z
2,020
2
17
0
2,230
1
509
58
4
1
true
false
false
false
false
false
low
60,155,507
App crashes when going onto another activity that uses getSupportActionbar?
<p>I'm already using <code>getSupportActionBar().setTitle("MainMenu");</code> for my main menu java file but when i want to use it for my second activity's java file it crashes the app. I've looked around for a solution but i cannot seem to find the correct one.</p> <p>This is the code for the java file of my second a...
I'm already using getSupportActionBar().setTitle("MainMenu"); for my main menu java file but when i want to use it for my second activity's java file it crashes the app. I've looked around for a solution but i cannot seem to find the correct one. This is the code for the java file of my second activity (room service): ...
android-studio
0
2020-02-10T17:33:13.707Z
2,020
2
17
0
42
1
363
75
1
2
true
false
false
false
false
false
zero
60,155,707
Does Apple DeviceCheck still work on a jailbroken iPhone?
<p>Simple question, no biggie.</p> <p>I'm trying to secure a React-Native application by validating tokens on the backend that were generated by Android SafetyNet and Apple DeviceCheck. I then create an access token to the API after the device passes the attestation/device check on the backend. </p> <p>My question is...
Simple question, no biggie. I'm trying to secure a React-Native application by validating tokens on the backend that were generated by Android SafetyNet and Apple DeviceCheck. I then create an access token to the API after the device passes the attestation/device check on the backend. My question is, could a hacker byp...
android|ios|security|safetynet|devicecheck
1
2020-02-10T17:45:58.253Z
2,020
2
17
0
457
1
466
57
5
0
false
false
false
false
false
false
low
60,155,731
Android Studio get a txt file from web in widget
<p>I am new to android studio and just want an app to do one thing: check if the bytewerk is open (domain is <strong>stats.bytewerk.org/status.txt</strong> just one word either open or closed) and display it on a widget. But I tried all kind of httpconections like volley or okhttp, but never got a result. I already add...
I am new to android studio and just want an app to do one thing: check if the bytewerk is open (domain is stats.bytewerk.org/status.txt just one word either open or closed) and display it on a widget. But I tried all kind of httpconections like volley or okhttp, but never got a result. I already added the uses permissi...
java|android
0
2020-02-10T17:48:07.960Z
2,020
2
17
0
135
2
444
48
2
3
true
false
false
false
false
false
zero
60,155,764
Android: set package name depending on device running on
<p>I have functional autotests for some SDK (as aar-libs) and TeamCity CI server with several Android devices and emulators connected on. If I use gradle to run my tests (<code>./gradlew connectedDebugAndroidTest</code>), all tests will run on each device, but each next results will overwrite previous ones and TeamCity...
I have functional autotests for some SDK (as aar-libs) and TeamCity CI server with several Android devices and emulators connected on. If I use gradle to run my tests ( ./gradlew connectedDebugAndroidTest ), all tests will run on each device, but each next results will overwrite previous ones and TeamCity will show onl...
android|gradle|automation|teamcity
0
2020-02-10T17:51:06.077Z
2,020
2
17
0
38
1
440
56
4
0
false
false
false
false
false
false
zero
60,155,806
Using FragmentScenario with nested NavHostFragments makes certain navigations impossible to verify during testing
<p>In my app I have a MainActivity that holds a NavHostFragment. That NavHostFragment is used to display Fragments, some of which have their own NavHostFragments.</p> <p>For example, MainActivity hold NavHostFragment1 which points to main_nav_graph.xml which displays FragmentA by default. The user interacts with Fragm...
In my app I have a MainActivity that holds a NavHostFragment. That NavHostFragment is used to display Fragments, some of which have their own NavHostFragments. For example, MainActivity hold NavHostFragment1 which points to main_nav_graph.xml which displays FragmentA by default. The user interacts with Fragment A to la...
android|android-fragments|android-architecture-navigation|android-fragmentscenario
1
2020-02-10T17:53:55.853Z
2,020
2
17
0
231
0
2,729
113
4
1
true
true
false
false
false
false
low
60,155,825
How to change another activity field text
<p>I want to change the login/password EditText with the login/password values of register activity.</p> <p>The issue is that the EditText is not created in the register activity, giving a null error reference it (obviously because the activity is different from the current - register cannot access the login xml compo...
I want to change the login/password EditText with the login/password values of register activity. The issue is that the EditText is not created in the register activity, giving a null error reference it (obviously because the activity is different from the current - register cannot access the login xml components) Proc...
android|kotlin|android-activity
-1
2020-02-10T17:55:07.543Z
2,020
2
17
0
36
1
737
41
3
0
false
false
false
false
false
true
negative
60,155,835
Firebase FirebaseAuth.getInstance().getCurrentUser().getDisplayName() returns null with a certain Gmail address
<p>From the title, you would think that there is a published solution to my problem, but in fact I believe I read everything pertinent to my question, but nothing quite matched up. Here's what I've got:</p> <p>First of all, this problem has never happened in my app before today, nor did my sign-in change in any way: s...
From the title, you would think that there is a published solution to my problem, but in fact I believe I read everything pertinent to my question, but nothing quite matched up. Here's what I've got: First of all, this problem has never happened in my app before today, nor did my sign-in change in any way: same Google ...
java|android|firebase|firebase-authentication
2
2020-02-10T17:55:58.623Z
2,020
2
17
0
245
1
1,059
111
4
0
false
false
false
false
false
false
low
60,155,905
How do I get the versionCode and versionName (badging) of an Android AAB file?
<p>Similar to <a href="https://stackoverflow.com/q/13469147/9636">Get Android .apk file VersionName or VersionCode WITHOUT installing apk</a>, I want to get the <code>versionCode</code> and/or <code>versionName</code> with just an <a href="https://developer.android.com/guide/app-bundle" rel="noreferrer"><code>.aab</cod...
Similar to Get Android .apk file VersionName or VersionCode WITHOUT installing apk , I want to get the versionCode and/or versionName with just an .aab file. I've tried simply using the classic answer for .apk files , but substituting my .aab file instead, and it didn't work: [CODE] I also tried attempting to dump the ...
android|apk|android-manifest|android-app-bundle
11
2020-02-10T17:59:33.163Z
2,020
2
17
0
5,738
2
344
78
4
2
true
false
true
false
true
false
medium
60,155,907
build own cache, in Kotlin
<p>I have a list with four elements: <code>created_at</code>, <code>text</code>, <code>name</code>, <code>screen_name</code>. The first represent a date of creation, the second the texto of a tweet and the latest the name and screen name of user. I want to storage this information with lifespan, a random lifespan. For ...
I have a list with four elements: created_at , text , name , screen_name . The first represent a date of creation, the second the texto of a tweet and the latest the name and screen name of user. I want to storage this information with lifespan, a random lifespan. For this i thinking using the cache and the implementat...
android|kotlin|caching
1
2020-02-10T17:59:36.793Z
2,020
2
17
0
771
0
755
26
3
1
true
true
false
false
false
false
low