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
44,308,649
How to get RecycleView item to re-render after making change (resetting text in textview)
<p>I am dynamically adjusting Text in TextView that is within a RecycleView item's RelativeLayout. I am doing this to to resize it. It looks like after resetting the Text the item does not get payed out for a while. I am inside the Adapter onBindToView() method so it does not seem like calling an adapter method like ...
I am dynamically adjusting Text in TextView that is within a RecycleView item's RelativeLayout. I am doing this to to resize it. It looks like after resetting the Text the item does not get payed out for a while. I am inside the Adapter onBindToView() method so it does not seem like calling an adapter method like onDat...
android|android-layout
0
2017-06-01T13:18:15.587Z
2,017
6
13
3
80
1
542
89
2
0
false
false
false
false
false
false
zero
44,161,097
Compressing bitmap returns always the same byte size
<p>I'm trying to compress a bitmap with JPG compression function.</p> <p>This is my piece of code:</p> <pre><code> ByteArrayOutputStream out = new ByteArrayOutputStream(); originalBitmap.compress(Bitmap.CompressFormat.JPEG, 80, out); byte[] newArray = out.toByteArray(); Bitmap compressed = BitmapFactory.decodeByte...
I'm trying to compress a bitmap with JPG compression function. This is my piece of code: [CODE] The strange behavior is that if I change the compression factor (ie. from 80 to 50) the size of the "out" array will change.... but the bitmap "compressed" remain always with the same byte number as the "originalBitmap". Som...
android|bitmapimage|image-compression
0
2017-05-24T14:18:41.027Z
2,017
5
14
2
336
1
370
52
3
1
true
false
false
false
false
false
zero
43,984,921
Testing phone call service or wifi with appium in python
<p>In python I want to know if i can test phone call service with appium so as Wifi or bluetooth . the point is i can with appium press phone call button and dial number but how actually i can test that phone call is established ? same is for bluetooth - wifi - phone pairing </p> <p>one dumb way is to press dial butto...
In python I want to know if i can test phone call service with appium so as Wifi or bluetooth . the point is i can with appium press phone call button and dial number but how actually i can test that phone call is established ? same is for bluetooth - wifi - phone pairing one dumb way is to press dial button and compar...
python|selenium|appium|android-uiautomator|selendroid
0
2017-05-15T16:51:30.437Z
2,017
5
16
0
592
1
482
56
5
0
false
false
false
false
false
false
zero
44,168,664
AAR Android Library - disable compression on assets
<p>I have to distribute some files under <code>assets</code> in my AAR that should not be compressed.</p> <p>So for example, in an Android app you would do the following in <code>build.gradle</code>:</p> <pre><code>android { ... aaptOptions { noCompress 'dll' } } </code></pre> <p>Is there a way t...
I have to distribute some files under assets in my AAR that should not be compressed. So for example, in an Android app you would do the following in build.gradle : [CODE] Is there a way to apply this from an AAR file? I would rather not have to include instructions for developers consuming my AAR to modify their build...
android|android-studio|gradle|aar
2
2017-05-24T21:22:30.617Z
2,017
5
21
2
848
1
333
51
4
1
true
false
false
false
false
false
low
44,287,603
Trouble implementing login to Keycloak with AppAuth
<p>I am trying to use the AppAuth example app to implement a login on my OAuth2 server (Keycloak). I am not sure on what to write in the .json file, specifically, in "authorization_endpoint_uri","token_endpoint_uri" and "registration_endpoint_uri". Could somebody explain to me which would be those URL?</p> <p>This is ...
I am trying to use the AppAuth example app to implement a login on my OAuth2 server (Keycloak). I am not sure on what to write in the .json file, specifically, in "authorization_endpoint_uri","token_endpoint_uri" and "registration_endpoint_uri". Could somebody explain to me which would be those URL? This is my config f...
android|appauth
0
2017-05-31T14:33:42.480Z
2,017
5
14
2
1,616
1
425
51
2
1
true
false
false
false
false
false
zero
44,092,708
how to use cursorloader with kotlin
<p>I try to convert my java project to kotlin, but one problem confused me.<br> Project structure: </p> <p><code>App</code>: Application used to declare global variable<br> <code>MainActivity</code>: AppCompatActivity<br> <code>Provider</code>: ContentProvider<br> <code>SectionsPagerAdapter</code>: FragmentPagerAdapt...
I try to convert my java project to kotlin, but one problem confused me. Project structure: App : Application used to declare global variable MainActivity : AppCompatActivity Provider : ContentProvider SectionsPagerAdapter : FragmentPagerAdapter fragment0 : fragment1 : Fragment implements LoaderManager.LoaderCallbacks ...
java|android|kotlin|android-cursorloader
3
2017-05-21T02:53:03.110Z
2,017
5
2
6
1,872
1
457
35
4
2
true
false
false
false
false
false
low
71,807,957
How test a ViewModel function that launch a viewModelScope coroutine? Android Kotlin
<p>I´m trying to figure out the simplest way to test this kind on function members, I´ve seen more complex cases like <a href="https://stackoverflow.com/questions/55765190/coroutines-unit-testing-viewmodelscope-launch-methods">Coroutines - unit testing viewModelScope.launch methods</a> but didn´t solved</p> <blockquote...
I´m trying to figure out the simplest way to test this kind on function members, I´ve seen more complex cases like Coroutines - unit testing viewModelScope.launch methods but didn´t solved ListScreenViewModel.kt [CODE] ListScreenViewModelTest.kt [CODE] Error message [CODE]
android|unit-testing|kotlin|viewmodel|kotlin-coroutines
4
2022-04-09T12:15:52.080Z
2,022
4
12
5
2,560
1
273
84
5
3
true
false
false
false
false
false
low
71,877,641
Inflating view using data binding
<p>this is my code inside onCreateView:</p> <pre><code>val binding = DataBindingUtil.inflate&lt;SplashFragmentBinding&gt;( inflater,R.layout.splash_fragment,container,false) </code></pre> <p>My question is, why it is requred to add the type <code>&lt;SplashFragmentBinding&gt;</code> and also send the layoutId <code>R.l...
this is my code inside onCreateView: [CODE] My question is, why it is requred to add the type <SplashFragmentBinding> and also send the layoutId R.layout.splash_fragment as they practically the same. If my type is <SplashFragmentBinding> there is no other possibility for other layoutId. Its redundancy I think. As seen ...
android|kotlin|android-databinding
0
2022-04-14T21:09:03.287Z
2,022
4
21
3
257
1
347
33
3
2
true
false
false
false
false
false
zero
71,951,707
How to find root cause for "The Report.enabled property has been deprecated." warning
<p>I see a warning in my code about a deprecated property <code>Report.enabled</code></p> <pre><code>The Report.enabled property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the required property instead. See https://docs.gradle.org/7.4.2/dsl/org.gradle.api.reporting.Report.html#org....
I see a warning in my code about a deprecated property Report.enabled [CODE] That I don't directly use. Is there a way to find out from which dependency is it coming from without the &quot;raw&quot; solution of removing dependencies until the warning is gone?
android|gradle|gradle-plugin
1
2022-04-21T09:03:06.663Z
2,022
4
9
3
769
1
259
85
3
1
true
false
false
false
false
false
low
71,976,279
How to croping image with source just from camera with Canhub Android Image Cropper with Java
<p>I want to croping image from other activity to another activity with Canhub Android Image Cropper library. This is my code :</p> <pre><code>@Override protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) { super.onActivityResult(requestCode, resultCode, data); if (requestCo...
I want to croping image from other activity to another activity with Canhub Android Image Cropper library. This is my code : [CODE] and this when i access the camera : [CODE] with these code, i open camera but source include galery. My question is how to open the croper with source just from camera. I already read the ...
java|android|cropper
0
2022-04-23T02:11:51.470Z
2,022
4
2
5
514
1
400
93
3
2
true
false
false
false
false
false
zero
71,991,516
When using Retrofit I get the error Cannot call adapter
<p>I want to pull crypto data with the retrofit library using the view model and live data functions, but I am getting the following error, I would be very grateful if you could help.</p> <p>The part that builds the retrofit structure :</p> <pre><code>object RetrofitInstance { private val retrofit by lazy { ...
I want to pull crypto data with the retrofit library using the view model and live data functions, but I am getting the following error, I would be very grateful if you could help. The part that builds the retrofit structure : [CODE] Interface part in this project : [CODE] The repository part in this project : [CODE] T...
android-studio|kotlin|retrofit2|kotlin-coroutines|android-viewmodel
0
2022-04-24T19:05:12.157Z
2,022
4
19
6
514
1
475
55
5
6
true
false
false
false
false
false
zero
72,046,460
Android crashes after signaturepad
<p>I am building an android app with two activities. The first activity has 50 Fields ( textinputedittext, radiobuttons and toggle buttons). I am saving the data of those fields in a json file and then I navigate to my second activity where the user cab draw its signature on this signature pad:</p> <p><a href="https://...
I am building an android app with two activities. The first activity has 50 Fields ( textinputedittext, radiobuttons and toggle buttons). I am saving the data of those fields in a json file and then I navigate to my second activity where the user cab draw its signature on this signature pad: https://github.com/gcacace/...
android|android-studio
0
2022-04-28T15:29:13.843Z
2,022
4
15
3
514
1
804
34
2
1
true
false
false
false
false
false
zero
71,929,841
Material Design 3 uses colorPrimary for actionBar, navBar and calendar background color. How do I disable this?
<p>After upgrading to Material Design 3, I noticed that the background colors of certain things changed to a faded version of whatever my primary color is set to. For example, if I set my primary color to Red, the navBar and Calendar are now somewhat pink.</p> <pre><code>&lt;style name=&quot;AppTheme&quot; parent=&quo...
After upgrading to Material Design 3, I noticed that the background colors of certain things changed to a faded version of whatever my primary color is set to. For example, if I set my primary color to Red, the navBar and Calendar are now somewhat pink. [CODE] I don't know why Material Design assumes that I want these ...
android|material-design|android-calendar|android-navigationview|android-navigation-bar
3
2022-04-19T18:44:58.060Z
2,022
4
18
1
515
1
1,013
111
5
1
true
false
false
false
false
false
low
71,805,956
Check Registered Number Sim is inserted or not
<p>I am trying to validate the user has the sim card in their android phone's sim slot while using our application Like GPay, the Phonepay app will throw an error when we removed the sim card from the device</p> <p>In most cases, I am getting security exceptions and a blank or null string in the latest android versions...
I am trying to validate the user has the sim card in their android phone's sim slot while using our application Like GPay, the Phonepay app will throw an error when we removed the sim card from the device In most cases, I am getting security exceptions and a blank or null string in the latest android versions [CODE]
android|device|registration|phone-number|sim-card
0
2022-04-09T07:09:37.450Z
2,022
4
7
5
260
1
317
46
5
1
true
false
false
false
false
false
zero
71,839,501
firebase.init() keeps crashing on new NativeScript 8.2.3 App
<p>I recently created a new NativeScript 8.2.3 project to do a redesign of an older existing project which was running on NativeScript 8.2.2.</p> <p>I have installed <a href="https://github.com/eddyverbruggen/nativescript-plugin-firebase" rel="nofollow noreferrer">this NativeScript-Firebase-Plugin</a> via <code>npm i @...
I recently created a new NativeScript 8.2.3 project to do a redesign of an older existing project which was running on NativeScript 8.2.2. I have installed this NativeScript-Firebase-Plugin via npm i @nativescript/firebase and added the plugin to the project via tns plugin add @nativescript/firebase . After adding the ...
android|angular|firebase|npm|nativescript
0
2022-04-12T08:37:06.163Z
2,022
4
8
1
260
1
689
60
5
3
true
false
false
false
false
false
zero
72,050,265
Failed to create Jar File
<p>FAILURE: Build failed with an exception.</p> <ul> <li>What went wrong: A problem occurred configuring root project 'android'.</li> </ul> <blockquote> <p>Failed to create Jar file C:\Users\Mahjur - Coding.gradle\caches\jars-8\ec50ce4709fd95f8ed96c3a048d9b515\databinding-compiler-common-4.1.0.jar.</p> </blockquote> <u...
FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'android'. Failed to create Jar file C:\Users\Mahjur - Coding.gradle\caches\jars-8\ec50ce4709fd95f8ed96c3a048d9b515\databinding-compiler-common-4.1.0.jar. Try: Run with --stacktrace option to get the stack trace. Run w...
android|flutter|dart|gradle
1
2022-04-28T21:11:25.043Z
2,022
4
21
3
260
1
790
25
4
0
false
false
false
false
false
false
low
71,869,047
Throw exception from a Composable
<p>I wrote a simple composable that provides an IconButton.</p> <pre><code>@Composable fun MenuIcon( @DrawableRes iconRes: Int, contentDescription: String, onClick: () -&gt; Unit, ) { if (contentDescription.isEmpty()) { throw IllegalArgumentException(&quot;contentDescription is mandatory and sho...
I wrote a simple composable that provides an IconButton. [CODE] In our project, we want to force our developers to provide a content description for accessibility purpose. So I add a simple check to throw an exception if contentDescription is empty. The problem is the following: when exception is thrown, in Logcat, I g...
android|android-jetpack-compose
4
2022-04-14T09:01:18.913Z
2,022
4
9
3
261
1
512
33
2
2
true
false
false
false
false
false
low
72,030,369
Changing from Android WebView to Microsoft Edge
<p>I have some Androids apps, that use android.webkit.WebView to display some websites with Chromium as rendering engine. Now my company has decided to only use Microsoft Products, which sadly also includes my apps and i have to use Microsoft Edge here, too (while still using the Android device).</p> <p>i have done som...
I have some Androids apps, that use android.webkit.WebView to display some websites with Chromium as rendering engine. Now my company has decided to only use Microsoft Products, which sadly also includes my apps and i have to use Microsoft Edge here, too (while still using the Android device). i have done some googlein...
android|webview|webview2
0
2022-04-27T14:14:57.983Z
2,022
4
14
2
263
1
594
47
3
0
false
false
false
false
false
false
zero
72,114,719
How to validate login form with Room Kotlin?
<p>I'm new to Kotlin, I can't manage login form validation. My idea is to compare inputEmail to email existing in Database. <strong>If</strong> module returns only <strong>true</strong></p> <p>class LoginViewModel(application: Application) : AndroidViewModel(application) {</p> <pre><code>private val repository: UserRep...
I'm new to Kotlin, I can't manage login form validation. My idea is to compare inputEmail to email existing in Database. If module returns only true class LoginViewModel(application: Application) : AndroidViewModel(application) { [CODE] } function inside LoginFragment: [CODE] UserDao: [CODE] interface UserDao { @Insert...
android|kotlin|authentication|android-room
0
2022-05-04T14:28:31.183Z
2,022
5
14
2
519
1
400
44
4
4
true
false
false
false
false
false
zero
72,041,217
Why do i get this error in Unreal Engine 5 when trying to Package android apps?
<p>Hi guys iv been struggling since yesterday and i have run out of ideas. i build a little android game from a youtube tutorial and when i was done i realised i need android studio to package the game. so i downloaded it and ran it for the first time. i followed Unreal engine documentation to install android studio an...
Hi guys iv been struggling since yesterday and i have run out of ideas. i build a little android game from a youtube tutorial and when i was done i realised i need android studio to package the game. so i downloaded it and ran it for the first time. i followed Unreal engine documentation to install android studio and m...
android|game-development|unreal-engine5
0
2022-04-28T09:25:36.880Z
2,022
4
9
3
1,287
1
768
79
3
1
true
false
false
false
false
false
zero
72,137,869
OpenAPI Generator gradle plugin task not executed
<p>In my android project I am trying to include the openapi-generator plugin to generate a client. I've copied the instructions from the <a href="https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator-gradle-plugin" rel="nofollow noreferrer">readme</a> for my project. Unfortunately, the...
In my android project I am trying to include the openapi-generator plugin to generate a client. I've copied the instructions from the readme for my project. Unfortunately, the task doesen't seem to be executed. I am new to gradle and android. So I haven't a lot of knowledge on these subjects yet. This is the projects b...
gradle|android-gradle-plugin|build.gradle|openapi-generator
0
2022-05-06T07:45:19.490Z
2,022
5
7
4
520
1
634
49
4
2
true
false
false
false
false
false
zero
71,876,957
: Parameter specified as non-null is null: method com.craftboxx.toolbar.HeaderData.<init>, parameter syncStatus
<p>When I run unit tests for my AssignmentViewmodelTest.kt I get the following exception:</p> <pre><code>Parameter specified as non-null is null: method com.craftboxx.toolbar.HeaderData.&lt;init&gt;, parameter syncStatus java.lang.NullPointerException: Parameter specified as non-null is null: method com.craftboxx.toolb...
When I run unit tests for my AssignmentViewmodelTest.kt I get the following exception: [CODE] AssignmentsViewModelTest.kt: [CODE] HeaderData.kt [CODE] AssignmentViewModel.kt: [CODE] Why are the tests failing and what do I need to do in order for them to pass? below my UserRepository.kt where I have implemented UserRepo...
android|unit-testing|kotlin|mockito|android-viewmodel
0
2022-04-14T19:51:20.740Z
2,022
4
19
3
265
1
344
111
5
5
true
false
false
false
false
false
zero
71,843,671
./gradlew failed in React Native 0.68 (Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.)
<p>After updating to React Native 0.68, I got this error when executing ./gradlew :</p> <pre class="lang-sh prettyprint-override"><code>FAILURE: Build failed with an exception. * Where: Build file '/Users/username/path/projectname/android/app/build.gradle' line: 1 * What went wrong: A problem occurred evaluating proj...
After updating to React Native 0.68, I got this error when executing ./gradlew : [CODE]
android|reactjs|react-native|gradle|upgrade
0
2022-04-12T13:33:48.480Z
2,022
4
13
1
521
1
87
120
5
1
true
false
false
false
false
false
zero
71,904,938
How can I share viewmodel from one screen to another screen in jetpack compose?
<p>I am try to learning android jetpack compose, and I have simple app. In ScreenA I have a text field and when I click the button, I am save this data to firestore, and when I come in ScreenB, I want to save city name also in firebase, but I am using one viewmodel, so how can save both text field data in the same pla...
I am try to learning android jetpack compose, and I have simple app. In ScreenA I have a text field and when I click the button, I am save this data to firestore, and when I come in ScreenB, I want to save city name also in firebase, but I am using one viewmodel, so how can save both text field data in the same place i...
android|kotlin|android-jetpack-compose
1
2022-04-17T19:45:57.517Z
2,022
4
19
6
1,033
1
393
79
3
2
true
false
false
false
false
false
low
72,099,926
Java - Save newly drawn canvas to bitmap and display back in imageView
<p>I have this code where I am receiving RectF coordinates based on detecting an object from where the user has uploaded an image.</p> <pre><code>img = Bitmap.createScaledBitmap(img, 128, 128, true); try { Android model = Android.newInstance(getApplicationContext()); ...
I have this code where I am receiving RectF coordinates based on detecting an object from where the user has uploaded an image. [CODE] This is clearly wrong as I am receiving a java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.Paint.setColor(int)' on a null object reference What wa...
java|android
0
2022-05-03T13:12:20.637Z
2,022
5
13
1
10
1
434
70
2
1
true
false
false
false
false
false
zero
71,808,865
TWA app generated using the bubblewrap opens in browser instead of as an app
<p>Creating a PWA to publish on google play store. The apk generated using the <a href="https://github.com/GoogleChromeLabs/bubblewrap/tree/main/packages/cli" rel="nofollow noreferrer">bubblewrap cli</a> is installing fine, but opens like a regular website in google app rather than a standalone app. It has a url bar at...
Creating a PWA to publish on google play store. The apk generated using the bubblewrap cli is installing fine, but opens like a regular website in google app rather than a standalone app. It has a url bar at the top. Please refer to the screenshot. So, how to create an app that looks like a normal android app? Attachin...
android|progressive-web-apps|trusted-web-activity|bubblewrap
0
2022-04-09T14:16:07.393Z
2,022
4
14
5
266
1
435
76
4
2
true
false
false
false
false
false
zero
71,810,976
Discard a push notification when received on device
<p>I'm using OneSignal to send push notifications to iOS and Android devices. Is it possible to discard a push notification when it's received on a iOS and Android device? It's not all of them, but some based on the payload data and if the user has the device in the background or foreground.</p> <p><strong>Update:</str...
I'm using OneSignal to send push notifications to iOS and Android devices. Is it possible to discard a push notification when it's received on a iOS and Android device? It's not all of them, but some based on the payload data and if the user has the device in the background or foreground. Update: &quot;discard&quot; me...
android|ios|push-notification|onesignal
1
2022-04-09T18:52:42.280Z
2,022
4
18
5
266
1
537
51
4
0
false
false
false
false
false
false
low
72,096,767
how do I add KSP plugin to android project gradle?
<h3>My aim is to add the KSP plugin to gradle as stated in the question heading.</h3> <p>just go through the line below each <code>//from quickstart</code> comments and you'll see all the error origins. <br>To add the dependencies I referred the <a href="https://kotlinlang.org/docs/ksp-quickstart.html" rel="nofollow no...
My aim is to add the KSP plugin to gradle as stated in the question heading. just go through the line below each //from quickstart comments and you'll see all the error origins. To add the dependencies I referred the Kotlin KSP quickstart documentation . Now, the code might not be an exact replica of the one from the d...
android|kotlin|gradle
0
2022-05-03T08:35:58.057Z
2,022
5
8
1
778
1
528
50
3
3
true
false
false
false
false
false
zero
71,792,898
Cannot switch between threads in Android Studio debugger
<p><strong>Environment:</strong><br /> Android Studio Bumblebee | <strong>2021.1.1 Patch 3</strong><br /> Build #AI-211.7628.21.2111.8309675, built on March 17, 2022<br /> Runtime version: 11.0.11+9-b60-7590822 amd64<br /> VM: OpenJDK 64-Bit Server VM by Oracle Corporation<br /> Windows 10 10.0<br /> GC: G1 Young Gener...
Environment: Android Studio Bumblebee | 2021.1.1 Patch 3 Build #AI-211.7628.21.2111.8309675, built on March 17, 2022 Runtime version: 11.0.11+9-b60-7590822 amd64 VM: OpenJDK 64-Bit Server VM by Oracle Corporation Windows 10 10.0 GC: G1 Young Generation, G1 Old Generation Memory: 1280M Cores: 12 Registry: external.syste...
multithreading|android-studio|debugging
0
2022-04-08T07:00:21.527Z
2,022
4
7
4
11
1
865
56
3
0
false
false
false
false
false
false
zero
71,815,311
In android TableLayout shrinkColumns appears to be the default attribute even if not explicitly stated
<p>In the following code, there are two tableLayouts with 3 columns each -</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:tools=&quot;http://schemas.android.com/tools&quot; android:layout...
In the following code, there are two tableLayouts with 3 columns each - [CODE] The first TableLayout has no mention of attribute for column2 and the second table layout has an explicit mention of attribute for column2 to be columnShrink . And both apparently give same output. So, is it safe to assume that shrinkColumns...
android|layout|android-tablelayout
0
2022-04-10T09:27:48.017Z
2,022
4
9
6
12
1
376
102
3
1
true
false
false
false
false
false
zero
72,014,405
Android studio import locally a GitHub lib
<p>I can't find out how to import locally a lib.</p> <p>I'm importing this lib : <a href="https://github.com/Senth/MaterialShowcaseView" rel="nofollow noreferrer">https://github.com/Senth/MaterialShowcaseView</a></p> <p>with jitpack.</p> <pre><code>maven { url &quot;https://jitpack.io&quot; } </code></pre> <p>but i wan...
I can't find out how to import locally a lib. I'm importing this lib : https://github.com/Senth/MaterialShowcaseView with jitpack. [CODE] but i want to clone it to modify the lib and then import it but i just can't find out how to import it once modified
java|android|maven|gradle
0
2022-04-26T12:59:34.627Z
2,022
4
12
1
12
1
254
42
4
1
true
false
false
false
false
false
zero
71,803,468
Compose app crashes on dispatchTouchEvent
<p>I have a crash event listed repeatedly in my Play Store dashboard. All instances come from Samsung Galaxy S series devices.</p> <p>I am not able to reproduce this crash on any of my devices nor emulators and the stack trace does not include any part of my code.</p> <p>The only thing I could deduce from this trace wa...
I have a crash event listed repeatedly in my Play Store dashboard. All instances come from Samsung Galaxy S series devices. I am not able to reproduce this crash on any of my devices nor emulators and the stack trace does not include any part of my code. The only thing I could deduce from this trace was that, this is h...
android-jetpack-compose|android-jetpack
0
2022-04-08T21:48:44.653Z
2,022
4
21
4
268
1
463
41
2
1
true
false
false
false
false
false
zero
72,016,455
Clear Navigation graph start destination fragment
<p>I've an old Activity where all the logic is inside the activity. I can't refactor that, But I want to add a navigation graph for new code and fragments.</p> <p>My problem is that after I set the NavHostFragment with the navigation graph, I can't clear it and hide so I will see the activity's layout (like it stage 0 ...
I've an old Activity where all the logic is inside the activity. I can't refactor that, But I want to add a navigation graph for new code and fragments. My problem is that after I set the NavHostFragment with the navigation graph, I can't clear it and hide so I will see the activity's layout (like it stage 0 when the a...
android|android-architecture-navigation
0
2022-04-26T15:17:46.790Z
2,022
4
15
1
268
1
511
49
2
1
true
false
false
false
false
false
zero
71,841,147
How to solve Android 12 cannot use MqttAndroidClient
<p>In my Android Studio, I would like to connect the Mqtt Android client to my laptop host (in the same machine). I make it similar to this guide</p> <p><a href="https://www.hivemq.com/blog/mqtt-client-library-enyclopedia-paho-android-service/" rel="nofollow noreferrer">https://www.hivemq.com/blog/mqtt-client-library-e...
In my Android Studio, I would like to connect the Mqtt Android client to my laptop host (in the same machine). I make it similar to this guide https://www.hivemq.com/blog/mqtt-client-library-enyclopedia-paho-android-service/ Then, I found that the Android 12 (API 32 in my case) may not support the org.eclipse.paho:org....
java|mqtt|paho|android-12
0
2022-04-12T10:35:08.537Z
2,022
4
10
1
524
1
1,325
52
4
7
true
false
false
false
false
false
zero
71,889,967
Android Java Fragment Data/Layout Transfer
<p>Keep getting no view found when calling dialog fragment from another fragment. I am trying to send image location to the dialog fragment to display.</p> <p>Originating Fragment</p> <pre><code>mLEFTBUTTON.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) ...
Keep getting no view found when calling dialog fragment from another fragment. I am trying to send image location to the dialog fragment to display. Originating Fragment [CODE] Ending Fragment [CODE]
java|android
0
2022-04-15T23:57:11.240Z
2,022
4
23
4
13
1
199
42
2
2
true
false
false
false
false
false
zero
71,997,198
Android Studio issue, having problem sigin up even when the password and email is correct. and am not gettin FCM token in my firebase account
<p>I don't know if the problem is from the code. After signing up, when i try to log in, it shows &quot;Wrong Credentials or Bad Connection! Try Again&quot;, which is the error to be called if the password is wrong or the email id is wrong.</p> <pre><code>firebaseAuth.signInWithEmailAndPassword(id,pass).addOnCompleteL...
I don't know if the problem is from the code. After signing up, when i try to log in, it shows &quot;Wrong Credentials or Bad Connection! Try Again&quot;, which is the error to be called if the password is wrong or the email id is wrong. [CODE]
android|firebase-authentication|firebase-cloud-messaging
0
2022-04-25T09:20:27.473Z
2,022
4
9
0
13
1
244
141
3
1
true
false
false
false
false
false
zero
72,078,877
Android studio - chromeless dialog in the editor with 4 code lines
<p>Android Studio 2020.03 Patch 4, <br> shows 4 lines of code in a chromeless dialog, <br> when I am scrolling through the editor.</p> <p>I do not understand, how it picks those 4 lines.<br> I do not understand, how this dialog should be useful to me.</p> <p>How do I disable those dialogs? <a href="https://i.stack.imgu...
Android Studio 2020.03 Patch 4, shows 4 lines of code in a chromeless dialog, when I am scrolling through the editor. I do not understand, how it picks those 4 lines. I do not understand, how this dialog should be useful to me. How do I disable those dialogs?
android-studio
1
2022-05-01T17:14:13.893Z
2,022
5
17
6
13
1
259
66
1
0
false
false
false
false
false
false
low
71,935,546
How to hide button in Desktop Compose
<p>I am developing an app with <a href="https://www.jetbrains.com/lp/compose-mpp/" rel="nofollow noreferrer">Desktop Compose Multi-Platform</a>.<br /> I need to hide the button when it has been clicked. Please see below code:</p> <pre><code>OutlinedButton( onClick = { // Perform an operation ...
I am developing an app with Desktop Compose Multi-Platform . I need to hide the button when it has been clicked. Please see below code: [CODE] As compared to android, Desktop Compose does not have visibility modifiers. for e.g. visibility = View.GONE So how to hide the button on the onClick event ?
android-jetpack-compose|compose-desktop|jetbrains-compose
0
2022-04-20T07:12:18.357Z
2,022
4
7
2
269
1
299
37
3
1
true
false
false
false
false
false
zero
71,947,556
Problems with DiffUtil. It works slowly and sometimes incorrectly
<p>I started learning DiffIUtil and met some problems. I want to write a simple android app with a seachview and a recyclerview what use DiffUtil, but the recycler sometimes shows uncorrect data despite right data coming to the recycler.</p> <p>Here is my data class:</p> <pre><code> var id: Int = 0, var name: St...
I started learning DiffIUtil and met some problems. I want to write a simple android app with a seachview and a recyclerview what use DiffUtil, but the recycler sometimes shows uncorrect data despite right data coming to the recycler. Here is my data class: [CODE] My DiffUtilCallback [CODE] and this is the function I u...
android|kotlin|android-recyclerview|android-diffutils
0
2022-04-21T00:18:07.053Z
2,022
4
0
3
269
1
403
65
4
3
true
false
false
false
false
false
zero
71,968,934
Problem with "Could not connect to the Gradle daemon" and IP address when running a Flutter app
<p>I'm trying to launch the Flutter app (Flutter's version 2.10.3) on a Mac M1.</p> <p>I made the next updates to the file <code>android/app/build.gradle</code>:</p> <p>Some of my Android settings:</p> <ul> <li><code>compileSdkVersion</code> from 28 to 32</li> <li><code>targetSdkVersion</code> from 28 to 32</li> <li><c...
I'm trying to launch the Flutter app (Flutter's version 2.10.3) on a Mac M1. I made the next updates to the file android/app/build.gradle : Some of my Android settings: compileSdkVersion from 28 to 32 targetSdkVersion from 28 to 32 android/build.gradle : ext.kotlin_version = '1.5.31' android/gradle/wrapper/gradle-wrapp...
java|android|flutter|android-studio|gradle
0
2022-04-22T12:43:43.200Z
2,022
4
12
4
269
1
520
95
5
1
true
false
false
false
false
false
zero
72,125,827
Flutter on Android Studio Execution failed for task ':app:checkDebugDuplicateClasses'
<p>** How To Fix **</p> <p>FAILURE: Build failed with an exception.</p> <ul> <li>What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'.</li> </ul> <blockquote> <p>Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform flutter_embedding_debug-1.0.0-57d3bac3...
** How To Fix ** FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'. Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform flutter_embedding_debug-1.0.0-57d3bac3dd5cb5b0e464ab70e7bc8a0d8cf083ab.jar (io.flutter:f...
android|flutter|android-studio|gradle
0
2022-05-05T10:39:35.290Z
2,022
5
10
3
269
1
4,094
85
4
0
false
false
false
false
false
false
zero
72,041,493
Can't find main.dart as entrypoint, how to connect Android project to the main.dart file?
<p>Please don't mark as a duplicate. I have tried to read this <a href="https://stackoverflow.com/questions/50522153/flutter-target-file-lib-main-dart-not-found">Flutter : Target file &quot;lib/main.dart&quot; not found</a> but I have found no answer, because what I ask will be little different</p> <p>so I have this er...
Please don't mark as a duplicate. I have tried to read this Flutter : Target file &quot;lib/main.dart&quot; not found but I have found no answer, because what I ask will be little different so I have this error when I run my Flutter App through the Android project (from Android Studio), I mean for some reason I did not...
android|flutter|android-productflavors
1
2022-04-28T09:45:02.873Z
2,022
4
9
3
525
1
1,033
89
3
0
false
false
false
false
false
false
low
71,896,302
Flutter: Missing google_app_id. Firebase Analytics disabled
<p>I want to send a notification from a device to another but when I sent it I got in the receiver device :</p> <pre><code>D/FLTFireMsgReceiver( 8876): broadcast received for message E/FA ( 8876): Missing google_app_id. Firebase Analytics disabled. See ... </code></pre> <p><a href="https://i.stack.imgur.com/ZU6We....
I want to send a notification from a device to another but when I sent it I got in the receiver device : [CODE] I searched in the internet but no solution works from me so I add all the verification that I found that they need to be : In the ProjectName/android/app/Build.gradle : In the ProjectName/android/Build.gradle...
android|flutter|push-notification|firebase-cloud-messaging
1
2022-04-16T18:04:30.890Z
2,022
4
18
5
1,037
1
408
59
4
1
true
false
false
false
false
false
low
71,864,160
android shared data between onListItemClick (list, id) and listener
<p>This is activity 1, here I do the implementation of my listener the method &quot;onFabClick()&quot;</p> <pre><code>@Override public void onFabClick() { Intent intent = TimeOffRequestDetailsActivity.getActivityIntent(this); intent.putExtra(BundleKeys.MODE_TIME_OFF, TimeOffMode.USER_EDIT_CANCEL_TIME_OFF.getVal...
This is activity 1, here I do the implementation of my listener the method &quot;onFabClick()&quot; [CODE] in my activity 2 I have the onListItemClick() this sends me important data that I need to make an edit of the list the one I need is the (id), how can I send through the listener this id of the activity 2 to the a...
android
0
2022-04-13T21:47:42.570Z
2,022
4
21
2
14
1
604
67
1
3
true
false
false
false
false
false
zero
71,936,753
How can I use 2 threads at the same time for bluetooth connection
<p>I'm having some issues to make work a code i took from a tutorial : <a href="https://developer.android.com/guide/topics/connectivity/bluetooth/transfer-data" rel="nofollow noreferrer">https://developer.android.com/guide/topics/connectivity/bluetooth/transfer-data</a></p> <p>I tried connecting this way :</p> <pre><co...
I'm having some issues to make work a code i took from a tutorial : https://developer.android.com/guide/topics/connectivity/bluetooth/transfer-data I tried connecting this way : [CODE] And write on my serial bluetooth : [CODE] But as soon as I try to write on it, the app crashes, like it can't use two threads at the sa...
java|android-studio|bluetooth
0
2022-04-20T08:51:52.510Z
2,022
4
8
2
14
1
380
65
3
2
true
false
false
false
false
false
zero
71,977,670
Android Studio NDK: use prebuilt opensll libraries - error finding include files
<p>I dowloaded Android studio and NDK (Android Studio Bumblebee | 2021.1.1 Patch 3) and compiled and run the &quot;Hello Word&quot; CPP example project successfully on my Android phone. Great! Now I want to use openssl functions and methods in my project.</p> <p>I downloaded a prebuilt Android binaries from: <a href="h...
I dowloaded Android studio and NDK (Android Studio Bumblebee | 2021.1.1 Patch 3) and compiled and run the &quot;Hello Word&quot; CPP example project successfully on my Android phone. Great! Now I want to use openssl functions and methods in my project. I downloaded a prebuilt Android binaries from: https://teskalabs.co...
android-studio|build|openssl|android-ndk|include-path
0
2022-04-23T07:21:02.930Z
2,022
4
7
5
14
1
1,175
80
5
1
true
false
false
false
false
false
zero
72,047,612
Scrolling ListView
<p>In listView I marked a line selected by a particular color, scrolling down the list and going back up - a marked line becomes colored even though there is still a mark (I did a test for it). Have you encountered such a phenomenon and if so how can you handle it.</p> <p>''' public class CustomDesignList extends AppCo...
In listView I marked a line selected by a particular color, scrolling down the list and going back up - a marked line becomes colored even though there is still a mark (I did a test for it). Have you encountered such a phenomenon and if so how can you handle it. ''' public class CustomDesignList extends AppCompatActivi...
android|listview|scroll
0
2022-04-28T16:59:53.223Z
2,022
4
16
3
14
1
331
18
3
1
true
false
false
false
false
false
zero
72,059,682
Flutter's demo app is not running.After some time it throws an error
<p>When I run the flutter's demo app it got stuck at Running Gradle task 'assemble debug'... When I run ./gradlew clean or ./gradlew build that also not works. Note: I have installed JDK,android studio,android sdk in E drive and also set environment variables according to this.I have not installed visual studio(as it i...
When I run the flutter's demo app it got stuck at Running Gradle task 'assemble debug'... When I run ./gradlew clean or ./gradlew build that also not works. Note: I have installed JDK,android studio,android sdk in E drive and also set environment variables according to this.I have not installed visual studio(as it is f...
android|flutter
0
2022-04-29T14:42:48.283Z
2,022
4
14
4
14
1
369
68
2
0
false
false
false
false
false
false
zero
72,064,559
Building the logic of enabling buttons
<p>There are 4 buttons: 2 parent (s1 and s2) and 2 child (s3 and s4), as well as 2 states (on/off).</p> <ol> <li>If s3 or s4 are enabled, then s1 is automatically enabled.</li> <li>If s1 is off and s2 is on (and vice versa), then s3 and s4 remain on.</li> <li>If the parent buttons are disabled, then the child buttons a...
There are 4 buttons: 2 parent (s1 and s2) and 2 child (s3 and s4), as well as 2 states (on/off). If s3 or s4 are enabled, then s1 is automatically enabled. If s1 is off and s2 is on (and vice versa), then s3 and s4 remain on. If the parent buttons are disabled, then the child buttons are also disabled. Code to enable s...
java|android|button
0
2022-04-29T23:27:07.210Z
2,022
4
23
4
14
1
349
38
3
1
true
false
false
false
false
false
zero
71,925,377
Is there any way to remove navigation animation for bottomNavigation bar in scaffold in jetpack compose?
<p>I am using scaffold for my screen and there is a <code>bottomNavigationBar</code> inserted in <code>bottomBar</code> function.</p> <p>When I click on an item in <code>bottomNavigationBar</code>, I navigate to another screen with this bar and Jetpack Compose uses it's default transition animation that looks like fadi...
I am using scaffold for my screen and there is a bottomNavigationBar inserted in bottomBar function. When I click on an item in bottomNavigationBar , I navigate to another screen with this bar and Jetpack Compose uses it's default transition animation that looks like fading. But the bottom navigationBar also fades duri...
android-jetpack-compose
3
2022-04-19T12:58:42.610Z
2,022
4
12
1
270
1
476
104
1
0
false
false
false
false
false
false
low
71,936,532
Can I create an instance manually when I have to use Hilt as dependency injection?
<p>I use Hilt as dependency injection in my project.</p> <p>The <code>ObjectModule</code> module provides the instance of <code>MediaRecorder</code>, so I can use it in both <code>SoundViewModel</code> and <code>HandleMeter</code>.</p> <p>In order to release resources, I have to assign <code>null</code> to <code>mRecor...
I use Hilt as dependency injection in my project. The ObjectModule module provides the instance of MediaRecorder , so I can use it in both SoundViewModel and HandleMeter . In order to release resources, I have to assign null to mRecorder in fun stop() of SoundViewModel , so I need to create an instance of MediaRecorder...
android|kotlin|dagger-hilt
0
2022-04-20T08:35:55.440Z
2,022
4
8
2
270
1
702
82
3
1
true
false
false
false
false
false
zero
72,134,715
Jetpack compose IntrinsicSize.Min cuts off Text - want to force Text to take up exact height and minimum width required for that height
<p>I have a <code>Text</code> component that I want the width to expand as big as it wants to accommodate the supplied text and to be exactly 2 lines tall.</p> <p>I have attempted to implement this by calculating the height using my font size and the number of lines that I want:</p> <p><code>val textHeight = textStyle....
I have a Text component that I want the width to expand as big as it wants to accommodate the supplied text and to be exactly 2 lines tall. I have attempted to implement this by calculating the height using my font size and the number of lines that I want: val textHeight = textStyle.lineHeight.value * 2 Then, based on ...
android|kotlin|android-jetpack-compose|android-jetpack|android-jetpack-compose-text
1
2022-05-05T23:47:07.217Z
2,022
5
23
3
526
1
950
135
5
2
true
false
false
false
false
false
low
71,823,579
How to show activity only once until setup is complete in android studio
<p>I am creating an app where the user can decide if he/she wants to setup or upgrade his/her account so that he/she can sell products. In that app there is a 4 bottom navigation menu fragments (<code>Home</code>, <code>Purchases</code>, <code>Sell</code>, <code>Account</code>). When the user clicks the <code>Sell menu...
I am creating an app where the user can decide if he/she wants to setup or upgrade his/her account so that he/she can sell products. In that app there is a 4 bottom navigation menu fragments ( Home , Purchases , Sell , Account ). When the user clicks the Sell menu it shows if the user wants to sell or not and there is ...
android-studio|mobile|mobile-development
0
2022-04-11T06:39:28.010Z
2,022
4
6
0
15
1
765
72
3
0
false
false
false
false
false
false
zero
71,889,421
Android XML: Unable to vertically align TextViews inside TableRow despite setting their android:gravity to "center_vertical"
<p>In my Android XML layout, I have a <code>TableLayout</code> that contains three cells of equal width (all have weight 1): the first two cells are <code>TextView</code>s and the last cell is a LinearLayout that has two <code>ImageButton</code>(s). However, right now, as shown in the screenshot below, the <code>TextVi...
In my Android XML layout, I have a TableLayout that contains three cells of equal width (all have weight 1): the first two cells are TextView s and the last cell is a LinearLayout that has two ImageButton (s). However, right now, as shown in the screenshot below, the TextView s are vertically aligned to the top instead...
android|xml
0
2022-04-15T22:15:35.197Z
2,022
4
22
4
15
1
510
124
2
1
true
false
false
false
false
false
zero
72,086,642
Collapsing AppBar title empty until it starts collapsing
<p>The issue is, as the title states, that when the appbar is fully visible the title isn't, and when it starts collapsing, the title appears (images below)</p> <p><a href="https://i.stack.imgur.com/9ujtx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9ujtx.png" alt="" /></a></p> <p>So here's what i...
The issue is, as the title states, that when the appbar is fully visible the title isn't, and when it starts collapsing, the title appears (images below) So here's what it looks like when the AppBar is fully visible And here's when I've started scrolling down [CODE] This is the layout for my activity This happens regar...
java|android
0
2022-05-02T12:22:32.733Z
2,022
5
12
0
16
1
593
56
2
2
true
false
false
false
false
false
zero
71,928,365
Load file into webView with scoped storage
<p>I am showing pdf files and images in my app via a custom webview, which is showing a little html site which is located in my app assets folder. This &quot;homepage&quot; gets the file to be shown via get parameters. The file to be shown is inside my private apps documents folder. This worked fine before I had to tar...
I am showing pdf files and images in my app via a custom webview, which is showing a little html site which is located in my app assets folder. This &quot;homepage&quot; gets the file to be shown via get parameters. The file to be shown is inside my private apps documents folder. This worked fine before I had to target...
xamarin.forms|xamarin.android|android-webview
1
2022-04-19T16:35:15.873Z
2,022
4
16
1
272
1
2,101
42
3
3
true
false
false
false
false
false
low
72,081,820
When create useCase - clean architecture?
<p>I have simple fun in repository it get all dogs</p> <pre><code>fun getDogs()=apiService.getDogs() </code></pre> <p>My question is should I create use case for this function? in other words if function doesn't have business rules should i create useCase for it?</p>
I have simple fun in repository it get all dogs [CODE] My question is should I create use case for this function? in other words if function doesn't have business rules should i create useCase for it?
android|kotlin|mvvm|use-case|clean-architecture
0
2022-05-02T02:29:40.537Z
2,022
5
2
0
272
1
200
41
5
1
true
false
false
false
false
false
zero
71,871,773
react native deep links android 12
<p>React native deep links keep failing on android version 12, anybody has some help? On older versions it works fine, so the config must be fine and I checked probably 100 times the react native documentation.</p>
React native deep links keep failing on android version 12, anybody has some help? On older versions it works fine, so the config must be fine and I checked probably 100 times the react native documentation.
android|react-native|deep-linking|android-12
0
2022-04-14T12:39:17.427Z
2,022
4
12
3
784
1
207
34
4
0
false
false
false
false
false
false
zero
71,924,902
Gradle could not start your build
<p>I am getting an error with Gradle every time I try to run a program in android studio. I believe this error was caused by me closing out of android studio while Gradle was loading something and it didn't complete its task. I have seen some people online suggest <code>.\gradlew --stop</code> which doesn't seem to be ...
I am getting an error with Gradle every time I try to run a program in android studio. I believe this error was caused by me closing out of android studio while Gradle was loading something and it didn't complete its task. I have seen some people online suggest .\gradlew --stop which doesn't seem to be working. Has any...
java|android|gradle
1
2022-04-19T12:24:04.793Z
2,022
4
12
1
784
1
399
33
3
1
true
false
false
false
false
false
low
71,858,720
How to check wifi/cellular connection enable/disbale from settings
<p>I have a use-case in my application, that I need to detect whether the network wifi or cellular is explicitly disabled by the user in settings.</p> <p>Thanks in advance!!</p>
I have a use-case in my application, that I need to detect whether the network wifi or cellular is explicitly disabled by the user in settings. Thanks in advance!!
android
0
2022-04-13T13:54:16.383Z
2,022
4
13
2
17
1
163
66
1
0
false
false
false
false
false
false
zero
71,976,702
How can I iterate through a gridView base adapter to check the text on it?
<p>I have tried different ways, I've been stuck trying to do it for weeks. I also tried to add the code in the adapter, I thought about using sqlite, but I just can't figure how to do it.</p> <p>I just want to check a condition, if this string exists somewhere in gridview, <strong>boolean = true</strong></p> <p><strong...
I have tried different ways, I've been stuck trying to do it for weeks. I also tried to add the code in the adapter, I thought about using sqlite, but I just can't figure how to do it. I just want to check a condition, if this string exists somewhere in gridview, boolean = true Can I do something like that in the activ...
kotlin|generics|gridview|android-adapter|baseadapter
0
2022-04-23T03:58:09.623Z
2,022
4
3
5
17
1
380
74
5
2
true
false
false
false
false
false
zero
71,986,387
LayoutInflating without result
<p>I'm trying to a add for each row in the cursor one instance of my ConstraintLayout and its childs to the linear layout (named verticalLayout), but there is no effect except closing the activity, no Exception. It's working fine for one instance, but with at least 2 its broken. Thanks for your help</p> <p>The Code for...
I'm trying to a add for each row in the cursor one instance of my ConstraintLayout and its childs to the linear layout (named verticalLayout), but there is no effect except closing the activity, no Exception. It's working fine for one instance, but with at least 2 its broken. Thanks for your help The Code for adding it...
android|android-layout
0
2022-04-24T07:35:22.183Z
2,022
4
7
6
17
1
350
30
2
2
true
false
false
false
false
false
zero
72,029,209
looping through customViews in a viewgroup, as that custom view
<p>I have a grid full of a custom view I've created. I can easily loop through it using <code>for (item in grid) {}</code> and I can then set things such as onClick etc. However, my custom View has it's own functions which I would like to access and kotlin has no way of knowing item is always going to be type CustomVie...
I have a grid full of a custom view I've created. I can easily loop through it using for (item in grid) {} and I can then set things such as onClick etc. However, my custom View has it's own functions which I would like to access and kotlin has no way of knowing item is always going to be type CustomView (It definitely...
android|kotlin
0
2022-04-27T12:57:41.640Z
2,022
4
12
2
17
1
531
63
2
1
true
false
false
false
false
false
zero
72,087,117
Is there any ways to store firestore datetime stamp with writebath in android studio java?
<pre><code> WriteBatch batch = firebaseFirestore.batch(); DocumentReference doc1 = firebaseFirestore.collection(&quot;Order&quot;).document(); batch.set(doc1, ProductList); DocumentReference doc2 = firebaseFirestore.collection(&quot;user&quot;).document(fi...
[CODE] Is there any way to store the date with the DateTime stamp based on the time that the document wrote to the firestore? Now I using the writebatch doc1 to store the data but I unable to add in one more field for the datetime field.........Can anyone help?
java|android
0
2022-05-02T13:02:16.077Z
2,022
5
13
0
17
1
261
90
2
1
true
false
false
false
false
false
zero
71,879,875
Jacoco 1 of 4 branch is missing
<p>I am using Jacoco to check the coverage of my test, i tried lots of way but it still warning 1 of 4 branches missed</p> <pre><code>fun countingDeleteDemo() : Int { return list.count { it.isDeleted() } } </code></pre> <p>How can I know what branch is missed? I have read some posts about the logic <code>true</code...
I am using Jacoco to check the coverage of my test, i tried lots of way but it still warning 1 of 4 branches missed [CODE] How can I know what branch is missed? I have read some posts about the logic true && false , but is there any documents or official link about the mistake of the coverage tools?
kotlin|android-jacoco
0
2022-04-15T03:49:23.777Z
2,022
4
3
4
273
1
300
31
2
1
true
false
false
false
false
false
zero
72,082,954
Could not resolve all artifacts for configuration ':react-native-safe-area-context:classpath'
<p>I have created a boilerplate react-native application and then trying to add react-navigation to it. However the moment I add dependencies for &quot;react-native-safe-area-context&quot;: &quot;^4.2.5&quot;, I started getting following error in my build:</p> <pre><code> yarn run v1.22.10 $ react-native run-android ...
I have created a boilerplate react-native application and then trying to add react-navigation to it. However the moment I add dependencies for &quot;react-native-safe-area-context&quot;: &quot;^4.2.5&quot;, I started getting following error in my build: [CODE] I am not sure what exactly is causing this issue as I am st...
android|react-native
0
2022-05-02T06:16:10.103Z
2,022
5
6
0
273
1
408
93
2
2
true
false
false
false
false
false
zero
72,133,389
How to manage certificates on Android devices using Android Management API
<p>I am developing a solution to manage client certificate deployment on android devices using SCEP. I have a few questions about the Android management API.</p> <p>On the Android Enterprise site (<a href="https://developers.google.com/android/work/requirements/work-profile" rel="nofollow noreferrer">https://developers...
I am developing a solution to manage client certificate deployment on android devices using SCEP. I have a few questions about the Android management API. On the Android Enterprise site ( https://developers.google.com/android/work/requirements/work-profile ), looks like it supports certificate management (4.8, 4.9, 4.1...
android|certificate|enterprise|android-management-api|scep
0
2022-05-05T20:38:19.540Z
2,022
5
20
3
273
1
1,156
74
5
0
false
false
false
false
false
false
zero
71,910,310
How to make a unique token or ID for every Android Phone and where to save it?
<p>I'm, working on a security scenario for an Android Application to prevent sending unwanted/spam or multi-requests by users.</p> <p>These users are unregistered and as you know one way to detect them is by checking the IP addresses but the problem is that the public IP Addresses will change. Users can turn On/Off the...
I'm, working on a security scenario for an Android Application to prevent sending unwanted/spam or multi-requests by users. These users are unregistered and as you know one way to detect them is by checking the IP addresses but the problem is that the public IP Addresses will change. Users can turn On/Off the modem (as...
android|security
0
2022-04-18T09:57:11.760Z
2,022
4
9
0
18
1
977
78
2
0
false
false
false
false
false
false
zero
71,991,496
How do I get my Android Intent to work properly?
<p>I am making an intent for my application, however, everytime I enter my context, the IDE errors with java compilation errors. I have no idea how to fix this. Please help.</p> <p>Code for MainActivity.java:</p> <pre><code>protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
I am making an intent for my application, however, everytime I enter my context, the IDE errors with java compilation errors. I have no idea how to fix this. Please help. Code for MainActivity.java: [CODE] Please help. I am attempting to code for Android 2.2 Froyo using Android Studio 1.5.2.
java|android|android-studio|debugging|android-2.2-froyo
-1
2022-04-24T19:02:48.193Z
2,022
4
19
6
18
1
292
48
5
1
true
false
false
false
false
true
negative
72,044,608
Gradle folder fills on open
<p>When i clone my github repository my gradle folder automatically fills with 3000 + files. I have a .gitignore file ignoring the .gradle folder. This results in 3000+ files needing a commit on git. No other users of the repo gets these, and their gradle folder only has few files shown in picture 1 (my gradle folder i...
When i clone my github repository my gradle folder automatically fills with 3000 + files. I have a .gitignore file ignoring the .gradle folder. This results in 3000+ files needing a commit on git. No other users of the repo gets these, and their gradle folder only has few files shown in picture 1 (my gradle folder is s...
android-studio|github|gradle
1
2022-04-28T13:32:35.207Z
2,022
4
13
3
18
1
431
27
3
0
false
false
false
false
false
false
low
72,067,912
Aquiring continuus ping result in bash on Android
<p>Trying to get continuus (looped) ping result for getting ping timeouts only, but only have one cycle of ping, and cannot loop it:</p> <pre><code>ping -q -c1 google.com | awk -F'/' '{print $5}' </code></pre> <p>what I'm doing wrong? Want to have code that shows result like this:</p> <pre><code>22.2 23.5 24.3 24.5 25....
Trying to get continuus (looped) ping result for getting ping timeouts only, but only have one cycle of ping, and cannot loop it: [CODE] what I'm doing wrong? Want to have code that shows result like this: [CODE]
android|linux|bash|ping
-1
2022-04-30T10:59:22.007Z
2,022
4
10
5
18
1
212
49
4
2
true
false
false
false
false
true
negative
71,928,433
How to use mutable live data of type sealed class with data binding
<p>I am trying to handle visibility of a ProgressBar using mutable LiveData of type sealed class with data binding but getting below error.</p> <blockquote> <p>cannot find symbol variable <strong>sealed class</strong></p> </blockquote> <p>Below is my code</p> <p>ViewModel</p> <pre><code> class RevampSplashViewModel:...
I am trying to handle visibility of a ProgressBar using mutable LiveData of type sealed class with data binding but getting below error. cannot find symbol variable sealed class Below is my code ViewModel [CODE] Layout [CODE] Below are the exact errors I am facing. [CODE]
android|android-livedata|android-databinding|mutablelivedata|sealed-class
0
2022-04-19T16:41:36.890Z
2,022
4
16
1
274
1
272
67
5
3
true
false
false
false
false
false
zero
72,006,271
onClick trigger for change color of multiple buttons. JetpackCompose
<p>I have 7 buttons in a row. each has a transparent background. I want to click on one of them and its color will change. I press again and it will come back. the same with the rest of the buttons. If the button has changed color, it means that it is pressed. Like a checkbox. After that, I would like to know which but...
I have 7 buttons in a row. each has a transparent background. I want to click on one of them and its color will change. I press again and it will come back. the same with the rest of the buttons. If the button has changed color, it means that it is pressed. Like a checkbox. After that, I would like to know which button...
android|kotlin|android-jetpack-compose|android-jetpack
0
2022-04-25T22:16:04.593Z
2,022
4
22
0
274
1
692
68
4
4
true
false
false
false
false
false
zero
72,010,822
Manifest merger failed with multiple errors , android
<p>I am using work manager in my application</p> <p>Work manager version <code>implementation 'androidx.work:work-runtime:2.7.1'</code></p> <p>And in the manifest I have added</p> <pre><code>&lt;provider android:name=&quot;androidx.startup.InitializationProvider&quot; android:authorities=&quot;${applica...
I am using work manager in my application Work manager version implementation 'androidx.work:work-runtime:2.7.1' And in the manifest I have added [CODE] And added this at application tag in manifest tools:replace=&quot;android:authorities&quot; When I build the application I get the error [CODE] In the manifest merge I...
android|manifest|android-workmanager
1
2022-04-26T08:35:53.567Z
2,022
4
8
1
274
1
382
53
3
4
true
false
false
false
false
false
low
71,937,355
Issues related to moving to MainActivity by pressing a button
<p>If the user presses the positive button, they want to move it to MainActivity</p> <pre><code>fun setPositiveButtonClick(callback: (() -&gt; Unit)?, view: View? = null) { val intent = Intent(this@ErrorDialog, MainActivity::class.java) startActivity(intent) var view = view if (view == n...
If the user presses the positive button, they want to move it to MainActivity [CODE] Here is the error
kotlin|android-intent
0
2022-04-20T09:35:14.177Z
2,022
4
9
2
19
1
102
61
2
1
true
false
false
false
false
false
zero
71,977,453
Not able to put view in bottom of linearlayout
<p>Hello im using linear layout which contains some text view and a image view and it is organized well but i want to add a banner ad but when i add <code>layout_gravity&quot;bottom&quot;</code> its not going to the bottom of the screen</p> <p>i have tried to add <code>android:layout_weight=&quot;1&quot;</code> but i...
Hello im using linear layout which contains some text view and a image view and it is organized well but i want to add a banner ad but when i add layout_gravity&quot;bottom&quot; its not going to the bottom of the screen i have tried to add android:layout_weight=&quot;1&quot; but it didnt help me much [CODE]
android|android-linearlayout|layout-gravity
0
2022-04-23T06:37:07.133Z
2,022
4
6
5
19
1
309
46
3
1
true
false
false
false
false
false
zero
72,012,512
button visible is all checkbox is true
<p>I am new with android usually I develop for windows platform with powershell.</p> <p>I am trying to find a way to make the button visible if all checkbox are tik .</p> <p>I tried so many code from google but still doesn't work so which parts I miss ?</p> <p><a href="https://u.pcloud.link/publink/show?code=kZcynFVZ4p...
I am new with android usually I develop for windows platform with powershell. I am trying to find a way to make the button visible if all checkbox are tik . I tried so many code from google but still doesn't work so which parts I miss ? I put all file because I got no ideas which one you will need You can directly edit...
java|android
-2
2022-04-26T10:37:40.330Z
2,022
4
10
1
19
1
426
38
2
1
true
false
false
false
false
true
negative
72,033,377
Dimension name clash between two included libraries
<p>I have an app that includes two libraries, both of which define a dimension with the same name (say <code>text_size</code>). At runtime I can see the style from one library is using the dimensions from the other.</p> <p>Beyond namespacing all the dimension in each library (e.g. <code>lib1_text_size</code>) is there ...
I have an app that includes two libraries, both of which define a dimension with the same name (say text_size ). At runtime I can see the style from one library is using the dimensions from the other. Beyond namespacing all the dimension in each library (e.g. lib1_text_size ) is there any way to make this work?
android|android-resources|android-library
1
2022-04-27T18:01:34.093Z
2,022
4
18
2
19
1
312
51
3
0
false
false
false
false
false
false
low
72,100,022
No way to get classes from androidx.core (and more..)
<p>I'm struggling for hours, unable to import androidx classes such as core and app inside several java files. I'm using gradle 5.6.1 and 3.2.1 plugin, compiling for SDK v31 with minimum set at v24. I regularly set SDK and NDK path, I enabled AndroidX and Jetifier in settings, i added, in the gradle.build linked to the...
I'm struggling for hours, unable to import androidx classes such as core and app inside several java files. I'm using gradle 5.6.1 and 3.2.1 plugin, compiling for SDK v31 with minimum set at v24. I regularly set SDK and NDK path, I enabled AndroidX and Jetifier in settings, i added, in the gradle.build linked to the mo...
migration|build.gradle|androidx
0
2022-05-03T13:19:26.180Z
2,022
5
13
1
19
1
584
53
3
1
true
false
false
false
false
false
zero
72,029,464
Google Play Billing Unity plugin alternative
<p>I'm new to Unity IAP. When looking for a way to integrate Google Play IAP into a unity project, I found the <a href="https://developer.android.com/google/play/billing/unity" rel="nofollow noreferrer">&quot;Use the Google Play Billing Library with Unity&quot; documentation</a> which states:</p> <blockquote> <p>The Go...
I'm new to Unity IAP. When looking for a way to integrate Google Play IAP into a unity project, I found the &quot;Use the Google Play Billing Library with Unity&quot; documentation which states: The Google Play Billing Unity plugin will not be receiving updates moving forward. This means that the plugin will remain spe...
android|unity3d|google-play|in-app-purchase|in-app-billing
0
2022-04-27T13:16:24.260Z
2,022
4
13
2
275
1
563
44
5
0
false
false
false
false
false
false
zero
71,904,507
What is the difference between livedata and mutableLiveData?
<p>What is the difference between livedata and mutableLiveData? When can both observe the new value?</p>
What is the difference between livedata and mutableLiveData? When can both observe the new value?
android|kotlin|android-livedata
0
2022-04-17T18:37:20.377Z
2,022
4
18
6
531
1
97
60
3
0
false
false
false
false
false
false
zero
71,795,196
ChromeOS startActivity does not work if I close app (X top right) and get a notification
<p>I have a ChromeOS 100 Acer Chromebook 314. I open the app, I am logged in, and after that I will close it from the top-right corner. Then I receive a notification and I run this code:</p> <pre><code> try { val intentActivity = Intent(context, IncomingCallActivity::class.java) ...
I have a ChromeOS 100 Acer Chromebook 314. I open the app, I am logged in, and after that I will close it from the top-right corner. Then I receive a notification and I run this code: [CODE] This does not fail, but does not open the activity neither. I have also tried: [CODE] But same issue. This works fine on phones. ...
android|android-intent|google-chrome-os|start-activity|androidappsonchromeos
0
2022-04-08T10:08:28.430Z
2,022
4
10
4
20
1
531
88
5
2
true
false
false
false
false
false
zero
71,815,829
Android onItemClickListener works only once, I don't know why
<p>I want the onItemClickListener always works, but after it works for the first time, it doesn't work anymore. This is my code in MainActivity.java Please help, I can't seem to find problem. Thank you</p> <pre><code>package com.noval.tugas_5; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle;...
I want the onItemClickListener always works, but after it works for the first time, it doesn't work anymore. This is my code in MainActivity.java Please help, I can't seem to find problem. Thank you [CODE] I already try to find out what happen for hours.
android
0
2022-04-10T10:45:36.297Z
2,022
4
10
6
20
1
254
61
1
1
true
false
false
false
false
false
zero
71,960,178
Using If in RecyclerView, doesnt show all the item of the list
<p>I am trying create a RecycleView for my chat application and to align the sent and arrived messages to the left and right. I used an if state to check if that is from me, and 2 separated textview aligned to start/end and only showing the correct one. I think it isn't the best solution as sometimes after notifying th...
I am trying create a RecycleView for my chat application and to align the sent and arrived messages to the left and right. I used an if state to check if that is from me, and 2 separated textview aligned to start/end and only showing the correct one. I think it isn't the best solution as sometimes after notifying the v...
java|android|android-recyclerview
0
2022-04-21T19:50:18.857Z
2,022
4
19
3
20
1
517
62
3
2
true
false
false
false
false
false
zero
71,980,759
Evenly distribute elements on screen
<p>I want to evenly distribute the elements &quot;checkbox, desayuno,elegir hora&quot; to the full width of the screen.After the &quot;elegir hora&quot; button there is a small Textview where the chosen time is shown, but very small. I have tried setting android:layout_weight=&quot;1&quot; but it didn't work.this is ho...
I want to evenly distribute the elements &quot;checkbox, desayuno,elegir hora&quot; to the full width of the screen.After the &quot;elegir hora&quot; button there is a small Textview where the chosen time is shown, but very small. I have tried setting android:layout_weight=&quot;1&quot; but it didn't work.this is how i...
android|android-studio|android-layout
0
2022-04-23T14:53:58.677Z
2,022
4
14
5
20
1
376
36
3
1
true
false
false
false
false
false
zero
71,987,221
Retrieve Firebase database values without 'true'
<p>This is how I insert values to my Firebase Realtime Database:</p> <pre><code>driverRef = FirebaseDatabase.getInstance().getReference().child(&quot;User&quot;).child(&quot;Bus&quot;).child(driverFoundId).child(&quot;Students&quot;).child(userId); driverRef.setValue(true); </code></pre> <p>And this...
This is how I insert values to my Firebase Realtime Database: [CODE] And this is how I get values from the database: [CODE] Because I previously gave setValue (true) to add values ​​to the database. How to remove true when retrieving data?
java|android|firebase|firebase-realtime-database|google-cloud-platform
0
2022-04-24T09:46:57.910Z
2,022
4
9
6
20
1
239
48
5
2
true
false
false
false
false
false
zero
72,012,094
How to return fragment_title correctly?ActivityMain error using DataBinding
<p>I know that this question has been answered 100 times but my code just doesn't work and I can't figure out what is wrong with it by reading posts made by others.</p> <p>I want to make an app where when you open it u get a search filed, you tipe what u want to search and then click enter and you get what you searched...
I know that this question has been answered 100 times but my code just doesn't work and I can't figure out what is wrong with it by reading posts made by others. I want to make an app where when you open it u get a search filed, you tipe what u want to search and then click enter and you get what you searched for. So, ...
android-studio|kotlin|data-binding|android-databinding
0
2022-04-26T10:07:45.103Z
2,022
4
10
1
20
1
911
75
4
4
true
false
false
false
false
false
zero
72,035,002
Displaying a list using listview on a new activity. List depends on the button clicked
<p>I have two buttons on my MainActivity. Both buttons open the same new activity but show a different listView depending on which one is clicked. I have been playing about with it and up to now I can get it to show on the MainActivity but can not figure out how get it so that it opens up on the second activity instead...
I have two buttons on my MainActivity. Both buttons open the same new activity but show a different listView depending on which one is clicked. I have been playing about with it and up to now I can get it to show on the MainActivity but can not figure out how get it so that it opens up on the second activity instead. I...
android|kotlin|android-listview
-1
2022-04-27T20:35:44.927Z
2,022
4
20
2
20
1
535
86
3
1
true
false
false
false
false
true
negative
72,040,292
How to animate content replacement in Android Bottom Sheet
<p>I have a <code>BottomSheetDialogFragment</code> which contains two different layouts</p> <pre><code>&lt;androidx.constraintlayout.widget.ConstraintLayout android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;wrap_content&quot;&gt; &lt;include android:id=&quot;@+id/layout_auth...
I have a BottomSheetDialogFragment which contains two different layouts [CODE] At first, the layout_authentication is shown, and after a button click, that view should become GONE and the other layout layout_qr should be shown. I'd like to achieve an animation for this. i.e. The layout_authentication goes to the left w...
android|bottom-sheet
0
2022-04-28T08:21:18.100Z
2,022
4
8
3
20
1
494
58
2
2
true
false
false
false
false
false
zero
72,088,518
Object evaluate is always null in Android Studio debug
<p>I have found a weird behavior while debugging in Android Studio. I am using a real device (not an emulator). I have the following code:</p> <pre><code> val currentFragment = supportFragmentManager.findFragmentById(R.id.act_navhost_fragment) if (currentFragment is BottomNavFragment) { ... </co...
I have found a weird behavior while debugging in Android Studio. I am using a real device (not an emulator). I have the following code: [CODE] In debug I see the following: As you may see, currentFragment is not null. However, if I try to evaluate only the expression supportFragmentManager.findFragmentById(R.id.act_nav...
android|android-studio|android-debug
0
2022-05-02T14:55:53.720Z
2,022
5
14
0
20
1
595
54
3
1
true
false
false
false
false
false
zero
71,805,535
Is it possible to detect a Whatsapp voice call ended in Android?
<p>I would like to listen when Whatsapp voice call ended.</p> <p>If the app was granted to access notification listener, I can detect an incoming WhatsApp call by parsing notification data but there are no data when a call ended.</p> <p>So is there any solutions for this case? Thank you.</p>
I would like to listen when Whatsapp voice call ended. If the app was granted to access notification listener, I can detect an incoming WhatsApp call by parsing notification data but there are no data when a call ended. So is there any solutions for this case? Thank you.
android|whatsapp|android-audiomanager
1
2022-04-09T05:37:48.700Z
2,022
4
5
5
276
1
271
64
3
0
false
false
false
false
false
false
low
71,855,378
Jetpack Compose - Scrollable Column and clip to padding
<p>I have a simple screen with scrollable vertical column. It contains some text and images.</p> <pre class="lang-kotlin prettyprint-override"><code> Column( modifier = Modifier .fillMaxWidth() .padding(16.dp) .verticalScroll(rememberScrollState()), ) { ... } </code></pre> <p>The content is ...
I have a simple screen with scrollable vertical column. It contains some text and images. [CODE] The content is scrollable but it clips to defined padding. Meaning when you scroll, you can see that overscroll shadow does not fill the entire screen, but it is bound to the padding. It looks really bad: In XML world you w...
android-jetpack-compose
4
2022-04-13T09:48:25.733Z
2,022
4
9
2
1,556
1
443
55
1
1
true
false
false
false
false
false
low
71,809,080
How can i pass the spinner value from one activity to another?
<p>I have an android studio assignment that requires us to create 3 activities, one of these activities has a spinner and text and we must pass the text and selected spinner value from the activity to another activity to show the input I figured out how to pass the text but I can't quite figure how to do the same to th...
I have an android studio assignment that requires us to create 3 activities, one of these activities has a spinner and text and we must pass the text and selected spinner value from the activity to another activity to show the input I figured out how to pass the text but I can't quite figure how to do the same to the s...
java|android
0
2022-04-09T14:45:45.520Z
2,022
4
14
5
21
1
360
62
2
1
true
false
false
false
false
false
zero
71,901,997
GuideLine problem Android Studio - ClassNotFoundException
<p>I have problem with GuideLine, does someone know the solution?</p> <p>It look like the guideline is missing classes</p> <p>The following classes could not be found: - android.support.constraint.Guideline (Fix Build Path, Edit XML, Create Class)</p> <p>Logcat after button click:</p> <p><a href="https://i.stack.imgur....
I have problem with GuideLine, does someone know the solution? It look like the guideline is missing classes The following classes could not be found: - android.support.constraint.Guideline (Fix Build Path, Edit XML, Create Class) Logcat after button click: Guideline problem XML Code: [CODE] Build Gradle: [CODE]
java|android|xml
0
2022-04-17T12:47:06.230Z
2,022
4
12
6
21
1
313
57
3
2
true
false
false
false
false
false
zero
72,114,132
Why is their no object instance in front of the findViewById() method in Android Kotlin
<p>I'm new to programming and I'm following the Android Kotlin basics codelabs. There is one thing I don't understand.</p> <p>In Android developing, to connect the (Kotlin) code to the UI XML you can use the <code>findViewById()</code> method. For example, to reference a Button in the UI from your code you can use: <co...
I'm new to programming and I'm following the Android Kotlin basics codelabs. There is one thing I don't understand. In Android developing, to connect the (Kotlin) code to the UI XML you can use the findViewById() method. For example, to reference a Button in the UI from your code you can use: val rollButton: Button = f...
android|kotlin|findviewbyid
0
2022-05-04T13:50:55.993Z
2,022
5
13
2
21
1
562
87
3
1
true
false
false
false
false
false
zero
71,836,187
Flutter Package: How can I stop music and play another music instead of playing multiple sounds in a music player using Just_audio flutter package
<p>I am using just_audio flutter package to build a music player and when I play a song, the song starts playing and it takes me to a playingnow page where I have my pause/play/etc... controls. But if I try to play another song, I get two songs playing. I want the currently playing sound to stop when I click another so...
I am using just_audio flutter package to build a music player and when I play a song, the song starts playing and it takes me to a playingnow page where I have my pause/play/etc... controls. But if I try to play another song, I get two songs playing. I want the currently playing sound to stop when I click another song ...
android|flutter|flutter-dependencies|just-audio
0
2022-04-12T02:02:49.693Z
2,022
4
2
1
277
1
461
146
4
1
true
false
false
false
false
false
zero
72,084,814
How to check if the items in LazyColumn is too few for the height of the screen?
<p>Since there is no scrollbar for LazyColumn, I tried this <a href="https://stackoverflow.com/a/68056586/8820199">solution.</a></p> <p>Is there a way for me to check if items are too few for the list to scroll because the scrollbar is still visible and I want to hide it if possible?</p>
Since there is no scrollbar for LazyColumn, I tried this solution. Is there a way for me to check if items are too few for the list to scroll because the scrollbar is still visible and I want to hide it if possible?
android|android-jetpack-compose
1
2022-05-02T09:32:16.730Z
2,022
5
9
0
277
1
215
80
2
0
false
false
false
false
false
false
low
72,099,524
GraphQL Unexpected server error when running eas submit
<p>I'm trying to create a submission to the google play store however the bitbucket pipelines have been returning a rather no explicit graphql error when running eas submit.</p> <p>here is the error I'm getting from the bitbucket pipelines.</p> <pre><code>+ eas submit -p android --type=aab --url=$(expo url:apk) --key=....
I'm trying to create a submission to the google play store however the bitbucket pipelines have been returning a rather no explicit graphql error when running eas submit. here is the error I'm getting from the bitbucket pipelines. [CODE]
android|react-native|expo|bitbucket-pipelines
4
2022-05-03T12:41:17.800Z
2,022
5
12
1
277
1
237
55
4
1
true
false
false
false
false
false
low
71,790,316
Gradle Groovy property logical results appear wrong?
<p>I have this debug code in <code>root/build.gradle</code>:</p> <pre><code>task copyJenkinsIdea(type: Copy) { onlyIf { project.hasProperty(&quot;isJenkins&quot;) } doLast { println &quot;Do Jenkins-specific setup&quot; println &quot;${project.hasProperty(&quot;isJenkins&quot;)} &am...
I have this debug code in root/build.gradle : [CODE] I run it with this command: [CODE] Task dependency in root/app/build.gradle [CODE] And it gives me this output: [CODE] The property is not present in the gradle.properties file. I've got to be missing something, because this is impossible.
android|gradle|groovy
0
2022-04-08T00:18:02.463Z
2,022
4
0
4
22
1
292
52
3
4
true
false
false
false
false
false
zero
71,887,580
Anyone knows why my scrollview on Android Studio doesn't work?
<pre><code>&lt;ScrollView xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; xmlns:tools=&quot;http://schemas.android.com/tools&quot; tools:context=&quot;.MainActivity&quot; android:layout_width=&quot;wrap_content&quot; android:layout_heigh...
[CODE] I want to be able to scroll on my page downwards, so added scrollview on top of all my other code. I thought that this was the correct decision, but I guess not. I don't know why but when I open an emulator it doesn't let me scroll. Does anyone know if I have done something wrong? Any ideas? Thank you in advance
android-studio|scroll|scrollview
0
2022-04-15T18:23:44.273Z
2,022
4
18
4
22
1
320
62
3
1
true
false
false
false
false
false
zero