id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
71,411,610 | Could not resolve all artifacts for configuration ':segment_analytics-react-native:classpath' | <p>A problem occurred configuring project ':segment_analytics-react-native'.</p>
<blockquote>
<p>Could not resolve all artifacts for configuration ':segment_analytics-react-native:classpath'.
Could not resolve com.android.tools.build:gradle:3.1.4.
Required by:
project :segment_analytics-react-native
> Could not reso... | A problem occurred configuring project ':segment_analytics-react-native'. Could not resolve all artifacts for configuration ':segment_analytics-react-native:classpath'. Could not resolve com.android.tools.build:gradle:3.1.4. Required by: project :segment_analytics-react-native > Could not resolve com.android.tools.buil... | react-native|android-studio|gradle|npm | 2 | 2022-03-09T15:12:12.323Z | 2,022 | 3 | 15 | 2 | 260 | 1 | 1,317 | 93 | 4 | 1 | true | false | false | false | false | false | low |
71,404,893 | Crash of app on open app when using compose 1.2.0-alpha02 and AnimatedNavHost | <p>my app crash on startup when I use animation with navigation via AnimatednavHost of accompanist with new alpha version of compose.</p>
<p>compose version:.2.0-alpha02</p>
<p>accompanist version :0.20.3</p>
<p>crash:</p>
<pre><code>E/AndroidRuntime: FATAL EXCEPTION: main
Process: ir.x.x, PID: 5715
java.lang.NoSuchMet... | my app crash on startup when I use animation with navigation via AnimatednavHost of accompanist with new alpha version of compose. compose version:.2.0-alpha02 accompanist version :0.20.3 crash: [CODE] | android-jetpack-compose|jetpack-compose-accompanist | 0 | 2022-03-09T05:54:46.060Z | 2,022 | 3 | 5 | 2 | 261 | 1 | 201 | 77 | 2 | 1 | true | false | false | false | false | false | zero |
71,401,577 | Android refusing to disable dark mode | <p>I have a project with two apps written in React Native. Since I do not currently support a dark theme, users with dark-mode enabled on their devices get bad colors in my app. Therefore I want to disable the dark-mode in my app, until the time I have support for it.</p>
<p>In my first application, I have successfully... | I have a project with two apps written in React Native. Since I do not currently support a dark theme, users with dark-mode enabled on their devices get bad colors in my app. Therefore I want to disable the dark-mode in my app, until the time I have support for it. In my first application, I have successfully disabled ... | android|react-native|android-darkmode | 0 | 2022-03-08T21:20:09.760Z | 2,022 | 3 | 21 | 1 | 517 | 1 | 840 | 37 | 3 | 2 | true | false | false | false | false | false | zero |
71,191,066 | Jetpack Compose, fetch and add more items to LazyColumn using StateFlow | <p>I'm have a <code>LazyColumn</code> that renders a list of items. However, I now want to fetch more items to add to my lazy list. I don't want to re-render items that have already been rendered in the <code>LazyColumn</code>, I just want to add the new items.</p>
<p>How do I do this with a <code>StateFlow</code>? I ... | I'm have a LazyColumn that renders a list of items. However, I now want to fetch more items to add to my lazy list. I don't want to re-render items that have already been rendered in the LazyColumn , I just want to add the new items. How do I do this with a StateFlow ? I need to pass a page String to fetch the next gro... | android|android-jetpack-compose|android-viewmodel|kotlin-stateflow | 0 | 2022-02-20T03:05:59.470Z | 2,022 | 2 | 3 | 6 | 1,542 | 1 | 687 | 71 | 4 | 2 | true | false | false | false | false | false | zero |
71,264,237 | How to manually log errors/crashes to appcenter in react native application? | <p>I am creating an application with the use of react native and I want to handle exceptions in some cases when an application can get crashed. I want to show that exception in appcenter and also not want that the application actually crash. I am using appcenter already and implemented it for building the app. I am als... | I am creating an application with the use of react native and I want to handle exceptions in some cases when an application can get crashed. I want to show that exception in appcenter and also not want that the application actually crash. I am using appcenter already and implemented it for building the app. I am also g... | android|ios|react-native|exception|appcenter | 1 | 2022-02-25T10:11:09.153Z | 2,022 | 2 | 10 | 4 | 263 | 1 | 470 | 76 | 5 | 0 | false | false | false | false | false | false | low |
71,393,955 | How to intercept Android App Link into a WebView? | <p>I'm trying to implement the following behavior into my Android App.</p>
<p>The app is a native app with some parts using WebView, in this WebView there is the possibility of using different payment methods.</p>
<p>If the user has the app of that bank installed I want to be able to open the corresponding app. In some... | I'm trying to implement the following behavior into my Android App. The app is a native app with some parts using WebView, in this WebView there is the possibility of using different payment methods. If the user has the app of that bank installed I want to be able to open the corresponding app. In some cases, the websi... | android|android-intent|webview|android-app-links | 0 | 2022-03-08T11:04:06.060Z | 2,022 | 3 | 11 | 1 | 263 | 1 | 867 | 49 | 4 | 0 | false | false | false | false | false | false | zero |
71,111,269 | What are differents between handleMeter.uiState.collectAsState() and remember { handleMeter.uiState } in Kotlin? | <p><code>uiState</code> is <code>MutableStateFlow</code> in <code>ViewModel()</code> , Code A and Code B can update UI automatically based latest value of the flow.</p>
<p>1: What are differents between <code>handleMeter.uiState.collectAsState()</code> and <code>remember { handleMeter.uiState }</code> in Kotlin ?</p>
... | uiState is MutableStateFlow in ViewModel() , Code A and Code B can update UI automatically based latest value of the flow. 1: What are differents between handleMeter.uiState.collectAsState() and remember { handleMeter.uiState } in Kotlin ? 2:Code C is wrong, I can't wrapped handleMeter.uiState.collectAsState() with rem... | kotlin|android-jetpack-compose | 1 | 2022-02-14T11:40:22.657Z | 2,022 | 2 | 11 | 0 | 521 | 1 | 436 | 112 | 2 | 3 | true | false | false | false | false | false | low |
71,262,753 | MediaStore API is unable to fetch the folder which is already created before Clear Data of the Application | <p>To support Android 11 storage, I have implemented <strong>Scoped Storage</strong> - MediaStore API successfully. However, I ended up with one scenario which I am not sure how to resolve. Scenario is, When the Application is launched for the first time, we have created the Folder under <strong>Documents</strong> fold... | To support Android 11 storage, I have implemented Scoped Storage - MediaStore API successfully. However, I ended up with one scenario which I am not sure how to resolve. Scenario is, When the Application is launched for the first time, we have created the Folder under Documents folder and able to read and write files i... | android|mediastore|android-storage | 2 | 2022-02-25T08:00:46.783Z | 2,022 | 2 | 8 | 4 | 777 | 1 | 903 | 106 | 3 | 2 | true | false | false | false | false | false | low |
71,163,241 | How to scroll view pager (accompanist library) on button click in jetpack compose Android | <p>i want to scroll the view pager horizontally on button click in jetpack compose.Anyone have any idea about this ? Here i am using Accompanist library.</p> | i want to scroll the view pager horizontally on button click in jetpack compose.Anyone have any idea about this ? Here i am using Accompanist library. | android-viewpager|android-jetpack-compose|jetpack-compose-accompanist | 0 | 2022-02-17T18:05:01.687Z | 2,022 | 2 | 18 | 3 | 1,546 | 1 | 150 | 89 | 3 | 0 | false | false | false | false | false | false | zero |
71,197,347 | Dagger 2: Field Injection without any provider | <p>While working on a project that uses Dagger 2 for DI, I tried to create a <code>ViewModel</code> and field inject it even without creating any provider from any module. Biggest confusing moment for me since as far as I know Dagger needs to know how to construct something before using <code>@Inject</code>.</p>
<p>Thi... | While working on a project that uses Dagger 2 for DI, I tried to create a ViewModel and field inject it even without creating any provider from any module. Biggest confusing moment for me since as far as I know Dagger needs to know how to construct something before using @Inject . This is the example Activity and ViewM... | android|dagger-2|android-viewmodel|dagger|viewmodelproviders | 1 | 2022-02-20T18:15:22.457Z | 2,022 | 2 | 18 | 6 | 267 | 1 | 889 | 46 | 5 | 2 | true | false | false | false | false | false | low |
71,196,802 | Reacti Native with Native Base full size background is not working | <p>I am trying to make a fullsize background using native base, but it is not working.
It seens that the "NativeBaseProvider" creates a view with no full size, can anyone help me?</p>
<p>This is the code I am using.</p>
<pre><code>import React from 'react';
// 1. import `NativeBaseProvider` component
import {... | I am trying to make a fullsize background using native base, but it is not working. It seens that the "NativeBaseProvider" creates a view with no full size, can anyone help me? This is the code I am using. [CODE] This is the result | android|react-native|user-interface|mobile|native-base | 1 | 2022-02-20T17:12:27.103Z | 2,022 | 2 | 17 | 6 | 779 | 1 | 241 | 66 | 5 | 1 | true | false | false | false | false | false | low |
71,246,542 | Not receiving FCM notification after sometime | <p>I've implemented firebase cloud messaging into my chat application, im using retrofit to send message through fcm notification from source user to destination user, everything works fine for sometime even when the app is closed, but after say some hours i don't receive any notification. Why this might be happening? ... | I've implemented firebase cloud messaging into my chat application, im using retrofit to send message through fcm notification from source user to destination user, everything works fine for sometime even when the app is closed, but after say some hours i don't receive any notification. Why this might be happening? any... | android|firebase|notifications|background|firebase-cloud-messaging | 2 | 2022-02-24T02:58:56.310Z | 2,022 | 2 | 2 | 3 | 1,547 | 1 | 360 | 45 | 5 | 0 | false | false | false | false | false | false | low |
71,286,671 | Build view outside of an anctivity android studio | <p>I'm trying to make an app in Java.
I have a class named Affichage whitch extend of MainActivity.</p>
<p>I would like to generate a ConstraintLayout (and more) and display it on MainActivity.</p>
<p>Here the code in Affichage Class:</p>
<pre><code>ConstraintLayout constraintLayout = new ConstraintLayout(super.getBase... | I'm trying to make an app in Java. I have a class named Affichage whitch extend of MainActivity. I would like to generate a ConstraintLayout (and more) and display it on MainActivity. Here the code in Affichage Class: [CODE] and I have this error: [CODE] When I trying: [CODE] in MainActivity, it's work so I think it is... | android | 0 | 2022-02-27T16:53:08.697Z | 2,022 | 2 | 16 | 6 | 12 | 1 | 368 | 49 | 1 | 3 | true | false | false | false | false | false | zero |
71,311,910 | How to get viewPager fragment at a specific index in FragmentStatePageAdapter from FragmentActivity? | <p>I have setup my viewPager adapter like this:</p>
<pre><code>private class ViewPagerFragmentAdapter extends FragmentStateAdapter {
public ViewPagerFragmentAdapter(@NonNull FragmentActivity fragmentActivity) {
super(fragmentActivity);
}
@NonNull
@Override
public Fragment createFragment(in... | I have setup my viewPager adapter like this: [CODE] How can I find a fragment at a specific index from the FragmentActivity later on so that I can update the dataset or perform some other operation? | android | 0 | 2022-03-01T16:47:05.197Z | 2,022 | 3 | 16 | 1 | 12 | 1 | 198 | 100 | 1 | 1 | true | false | false | false | false | false | zero |
71,396,584 | Load new ArrayList in Android, depending on another Spinner | <p>my problem is as following:</p>
<p>I have a few Spinner in Android.
With the first Spinner you can select a city.
Depending on the chosen city a second Spinner that was prefilled with 15, 30, 60, ... should be overwritten and filled with an another R.array.munich_minutes</p>
<p>I already created the Spinner, but I d... | my problem is as following: I have a few Spinner in Android. With the first Spinner you can select a city. Depending on the chosen city a second Spinner that was prefilled with 15, 30, 60, ... should be overwritten and filled with an another R.array.munich_minutes I already created the Spinner, but I do not know how I ... | android-spinner | 0 | 2022-03-08T14:23:49.287Z | 2,022 | 3 | 14 | 1 | 12 | 1 | 450 | 59 | 1 | 1 | true | false | false | false | false | false | zero |
71,386,774 | I am working on login button and there is an error on if statement. Don't know how to solve it | <pre><code> BtnReg = findViewById(R.id.btnRegister);
Button btnLogin = findViewById(R.id.btnLogin);
etUsername =findViewById(R.id.etUsername);
etPass = findViewById(R.id.etPass);
dataBase = Room.databaseBuilder(this, AppDataBase.class, "user-database.db")
... | [CODE] [CODE] com.example.worksheet3.Data.UserDao.getUser(java.lang.String, java.lang.String)' on a null object reference [CODE] | android-studio | 0 | 2022-03-07T20:15:21.427Z | 2,022 | 3 | 20 | 0 | 13 | 1 | 128 | 94 | 1 | 3 | true | false | false | false | false | false | zero |
71,100,253 | BroadcastReceiver receive extra with ADB --es not working | <p>I registered a broadcast receiver in the <code>MainActivity.onCreate</code> method with the following statements:</p>
<pre><code>...
// in onCreate()
val filter = IntentFilter("com.example.my_receiver.TEST_FILTER")
registerReceiver(myReceiver, filter)
...
</code></pre>
<p>with the following receiver</p>
<p... | I registered a broadcast receiver in the MainActivity.onCreate method with the following statements: [CODE] with the following receiver [CODE] when I executed the add command [CODE] the onReceive method will be executed. But when I try to add some extra data with the following [CODE] nothing will be executed. How can I... | android|broadcastreceiver|adb | 0 | 2022-02-13T11:35:57.707Z | 2,022 | 2 | 11 | 6 | 269 | 1 | 437 | 57 | 3 | 4 | true | false | false | false | false | false | zero |
71,233,591 | WifiInfo returning null | <p>I have been working on this for a few days after following this <a href="https://betterprogramming.pub/how-to-monitor-internet-connection-in-android-using-kotlin-and-livedata-135de9447796" rel="nofollow noreferrer">guide</a> online. I am using target API 30 (building on a device using Android 11). Trying to get the ... | I have been working on this for a few days after following this guide online. I am using target API 30 (building on a device using Android 11). Trying to get the Wifi SSID using networkCapabilities this keeps returning null whereas the depreciated wifiManager.connectionInfo.ssid returns the correct SSID. Any ideas what... | android|kotlin|android-wifi|ssid|android-connectivitymanager | 3 | 2022-02-23T08:32:45.460Z | 2,022 | 2 | 8 | 2 | 525 | 1 | 540 | 23 | 5 | 3 | true | false | false | false | false | false | low |
71,174,369 | I want to add the same cardView of my xml underneath the first one when i clic on the add Button and that can be maked endlessly | <p>Hello i'm stcuk by a little problem,
I want to add a new CardView with same set of the first CardView underneath the first Cardview only when i click on my button and this action can be repetable endlessly.
Because i'm beginner in android and i have litterally no idea how to make that.
If anyone can Copy Past this c... | Hello i'm stcuk by a little problem, I want to add a new CardView with same set of the first CardView underneath the first Cardview only when i click on my button and this action can be repetable endlessly. Because i'm beginner in android and i have litterally no idea how to make that. If anyone can Copy Past this code... | android|button|cardview | 0 | 2022-02-18T13:35:14.990Z | 2,022 | 2 | 13 | 4 | 14 | 1 | 486 | 128 | 3 | 2 | true | false | false | false | false | false | zero |
71,326,855 | Its going in else statement I'm not able to identify error | <p>I am not getting any error but it is going in else statement.I Don't know how to resolve it help me about it.</p>
<pre><code>if (response instanceof HttpResponseException) {
HttpResponseException exception = (HttpResponseException) response;
switch (exception.getStatusCode()) ... | I am not getting any error but it is going in else statement.I Don't know how to resolve it help me about it. [CODE] | android|android-studio|error-handling|http-response-codes | 0 | 2022-03-02T17:31:56.417Z | 2,022 | 3 | 17 | 2 | 14 | 1 | 116 | 58 | 4 | 1 | true | false | false | false | false | false | zero |
71,404,150 | How To Go To Website Link In specific Slideradapter ViewPager 2 Android Studio? | <p>How To Go To Website Link In specific Slideradapter ViewPager 2 Android Studio?</p>
<pre><code>@Override
public void onBindViewHolder(Holder viewHolder, int position) {
viewHolder.imageView.setImageResource(images[position]);
viewHolder.itemView.setOnClickListener(new View.OnClickListener() {
@Overri... | How To Go To Website Link In specific Slideradapter ViewPager 2 Android Studio? [CODE] | java|android|android-studio | 0 | 2022-03-09T04:00:32.943Z | 2,022 | 3 | 4 | 2 | 14 | 1 | 86 | 79 | 3 | 1 | true | false | false | false | false | false | zero |
71,287,328 | How to know Users App Time Information in Flutter | <p><strong>So, I want to build an app where I can track the users' time spent in a particular app. For example, he spends 3 hours on Twitter, 2 hours on Netflix, and so on. Is there any way to find this out? Or, the only way is to ask the user itself about his/her activity?
Please help!</strong></p> | So, I want to build an app where I can track the users' time spent in a particular app. For example, he spends 3 hours on Twitter, 2 hours on Netflix, and so on. Is there any way to find this out? Or, the only way is to ask the user itself about his/her activity? Please help! | android|flutter|flutter-android | -1 | 2022-02-27T18:11:52.250Z | 2,022 | 2 | 18 | 6 | 270 | 1 | 276 | 49 | 3 | 0 | false | false | false | false | false | true | negative |
71,338,792 | java.lang.NoClassDefFoundError: Failed resolution of: Ljava/lang/Math8 when upgrading Gradle and Android Gradle Plugin | <p>I'm working on an Android app with a Gradle version of <code>7.1.1</code> and an Android Gradle Plugin version of <code>7.0.0</code>. When I upgrade to Gradle version <code>7.2</code> and Android Gradle Plugin version <code>7.1.1</code>, I get the following error.</p>
<pre><code>2022-03-02 17:15:47.072 25300-25300/.... | I'm working on an Android app with a Gradle version of 7.1.1 and an Android Gradle Plugin version of 7.0.0 . When I upgrade to Gradle version 7.2 and Android Gradle Plugin version 7.1.1 , I get the following error. [CODE] The error is coming from this code: [CODE] The build.gradle file is set to target JVM 1.8 with des... | java|kotlin|gradle|android-gradle-plugin|jdk-desugaring | 12 | 2022-03-03T14:26:27.247Z | 2,022 | 3 | 14 | 3 | 1,038 | 1 | 427 | 118 | 5 | 4 | true | false | false | false | true | false | medium |
71,115,909 | Why title is not changing when using "supportActionBar?.title " with ".addToBackStack" in Kotlin | <p>These are some pics of my android studio</p>
<p><a href="https://i.stack.imgur.com/tKt1H.png" rel="nofollow noreferrer">MainActivity.kt</a></p>
<p><a href="https://i.stack.imgur.com/b63vz.png" rel="nofollow noreferrer">DashboardFragment.kt</a></p>
<p><a href="https://i.stack.imgur.com/A9Z3O.png" rel="nofollow norefe... | These are some pics of my android studio MainActivity.kt DashboardFragment.kt fragment_dashboard.xml Emulator As you can see in the emulator the title has not changed as we clicked the back button, so what's the solution for these problem. Also don't mind all the comments written ;) | android-studio|kotlin | 0 | 2022-02-14T17:30:39.583Z | 2,022 | 2 | 17 | 0 | 15 | 1 | 283 | 96 | 2 | 0 | false | false | false | false | false | false | zero |
71,240,457 | Unable to call the validateUsername function inside btnRegAcc.setOnClickListener button | <pre><code>class RegisterActivity : AppCompatActivity (){
lateinit var regUsername : EditText
lateinit var regEmail : EditText
lateinit var regPassword : EditText
lateinit var cfmPassword : EditText
lateinit var regPhone : EditText
lateinit var btnRegAcc : Button
lateinit var btnBack : But... | [CODE] | android|kotlin | 0 | 2022-02-23T16:13:03.953Z | 2,022 | 2 | 16 | 2 | 15 | 1 | 6 | 87 | 2 | 1 | true | false | false | false | false | false | zero |
71,144,595 | Exiting lockTaskMode in android shows lock screen | <p>In my android app, the user should be restricted from navigating away from an activity while a certain process happens on the backend. For this, I use <code>startLockTask()</code> in the activity when the process starts, and when the process ends I call <code>stopLockTask()</code>.</p>
<p>Currently the app runs on a... | In my android app, the user should be restricted from navigating away from an activity while a certain process happens on the backend. For this, I use startLockTask() in the activity when the process starts, and when the process ends I call stopLockTask() . Currently the app runs on a device where there's no device own... | android|kiosk-mode|android-screen-pinning | 1 | 2022-02-16T15:26:19.497Z | 2,022 | 2 | 15 | 2 | 271 | 1 | 714 | 49 | 3 | 0 | false | false | false | false | false | false | low |
71,248,184 | How ellipsis only middle text in Android Compose? | <p>I am developing an android app using the jetpack compose.</p>
<p>I want to make a UI like:</p>
<p><a href="https://i.stack.imgur.com/Vg0re.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vg0re.png" alt="enter image description here" /></a></p>
<pre class="lang-kotlin prettyprint-override"><code>Ro... | I am developing an android app using the jetpack compose. I want to make a UI like: [CODE] But actually it shows like: the count information (1) is cut. How can I show the count information and ellipsis the name text? Should I use the compose-constraintlayout? | android|android-jetpack-compose | 0 | 2022-02-24T06:57:22.663Z | 2,022 | 2 | 6 | 3 | 271 | 1 | 260 | 49 | 2 | 1 | true | false | false | false | false | false | zero |
71,213,677 | How do I add .so file to lib folder in APK? | <p>If I add the following to my cmakelists.txt file:</p>
<pre><code>add_library( # Sets the name of the library.
extralib
# Sets the library as a shared library.
MODULE
# Provides a relative path to your source file(s).
extra.cpp)
</code></pre>
<p>and I build my Android applica... | If I add the following to my cmakelists.txt file: [CODE] and I build my Android application, then the APK will have libextralib.so in its 'lib' folder. In the above case, 'extralib' is built from a source code file (extra.cpp). How can I use a pre-built .so file as 'source' for extralib? I tried: [CODE] but Android Stu... | android|gradle|cmake|android-ndk|android-gradle-plugin | 0 | 2022-02-21T22:17:42.400Z | 2,022 | 2 | 22 | 0 | 783 | 1 | 820 | 43 | 5 | 2 | true | false | false | false | false | false | zero |
71,181,055 | Could not find the correct Provider<T> above this ResultForm Widget in Flutter | <p>I`m using provider in my Flutter app. And here is my file, where I use this provider:</p>
<pre><code>class WorkScreen extends StatelessWidget {
WorkScreen({Key? key}) : super(key: key);
final String title = 'Service Station';
final List<Work> works = [Work('Repair Engine', 200, 0.5), Work('Repair door',... | I`m using provider in my Flutter app. And here is my file, where I use this provider: [CODE] When I press floating action button the result form is appears. And here is this file: [CODE] And when I click on this button, the app gives an error: [CODE] Can you help me with this problem? If you need other files, write in ... | android|flutter|dart | 0 | 2022-02-18T23:40:52.390Z | 2,022 | 2 | 23 | 4 | 16 | 1 | 328 | 78 | 3 | 3 | true | false | false | false | false | false | zero |
71,299,845 | alarm stops launching when I exit the application | <p>I have an alarm (repetitive every 1min) defined in an android application. It works fine when the app is open but once I hit the exit button (the arrow to the right), it launches fine two more times and doesn't launch again. Do you know why this might be happening? this is the alarm class that calls the timer class ... | I have an alarm (repetitive every 1min) defined in an android application. It works fine when the app is open but once I hit the exit button (the arrow to the right), it launches fine two more times and doesn't launch again. Do you know why this might be happening? this is the alarm class that calls the timer class to ... | android|android-studio | 0 | 2022-02-28T19:02:46.547Z | 2,022 | 2 | 19 | 0 | 16 | 1 | 794 | 49 | 2 | 4 | true | false | false | false | false | false | zero |
71,419,951 | Unable to get package name of chosen third party app with PendingIntent.FLAG_IMMUTABLE | <p>I need to get the name of the app chosen by user fired with <code>Intent.ACTION_SEND</code> for analytic purposes. The name of app will be obtained through <code>BroadcastReceiver</code>.</p>
<p>It works until one day, the security engineer in our team informed us that all <code>PendingIntent</code> in the codebase ... | I need to get the name of the app chosen by user fired with Intent.ACTION_SEND for analytic purposes. The name of app will be obtained through BroadcastReceiver . It works until one day, the security engineer in our team informed us that all PendingIntent in the codebase must have PendingIntent.FLAG_IMMUTABLE to be sec... | android|kotlin|broadcastreceiver | 1 | 2022-03-10T06:56:08.163Z | 2,022 | 3 | 6 | 3 | 272 | 1 | 768 | 86 | 3 | 3 | true | false | false | false | false | false | low |
71,145,429 | Andriod Studio Build is not showing "make project " apk | <p>I just completed working on my first application just frontend nothing connected with backend or database before connecting with a backend I need to show the basic functionality to my leads. It's a react-native project in Visual Studio after researching and seeing so many videos I find that I can release a Signed Ak... | I just completed working on my first application just frontend nothing connected with backend or database before connecting with a backend I need to show the basic functionality to my leads. It's a react-native project in Visual Studio after researching and seeing so many videos I find that I can release a Signed Akk t... | javascript|react-native|android-studio|visual-studio-code|signed-apk | 0 | 2022-02-16T16:16:20.693Z | 2,022 | 2 | 16 | 2 | 17 | 1 | 660 | 55 | 5 | 0 | false | false | false | false | false | false | zero |
71,194,103 | Cannot put two DropDownButtons in Flutter | <p>I'm trying to put two DropdownButtons in the same app, but it doesn't seem to work 'cause <code>value2</code> doesn't seem to change. Could you help me? Thanks in advance!</p>
<p>Here's the code:</p>
<pre><code>import 'package:flutter/material.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package... | I'm trying to put two DropdownButtons in the same app, but it doesn't seem to work 'cause value2 doesn't seem to change. Could you help me? Thanks in advance! Here's the code: [CODE] P.S. Actually, there are more DropdownMenuItems, but I removed them to make the code more readable | flutter|android-studio|dropdownbutton | 0 | 2022-02-20T11:47:21.837Z | 2,022 | 2 | 11 | 6 | 17 | 1 | 281 | 41 | 3 | 1 | true | false | false | false | false | false | zero |
71,278,565 | Android (java): Update bottom navigation items depending on whether user is signed in or not | <p>I have a bottom navigation with 5 items. Depending on whether the user is signed in or not, only 4 items should be visible (item 4 only shows if the user is signed in and item 5 only shows if the user is not signed in).</p>
<p>In MainActivity, I created the updateBottomNavigation() function, which is called from the... | I have a bottom navigation with 5 items. Depending on whether the user is signed in or not, only 4 items should be visible (item 4 only shows if the user is signed in and item 5 only shows if the user is not signed in). In MainActivity, I created the updateBottomNavigation() function, which is called from the SignInFra... | java|android|android-bottomnav | 1 | 2022-02-26T16:50:26.070Z | 2,022 | 2 | 16 | 5 | 17 | 1 | 787 | 92 | 3 | 1 | true | false | false | false | false | false | low |
71,206,595 | How to animate the appearance and disappearance of a composable function in Android? | <p>I'm making a custom <code>Radio Button</code> that wraps an animation when I go from selected to deselected and/or vice versa. I am using the <code>AnimatedVisibility</code> function of jetpack compose, however I am not getting the expected result.</p>
<p>Notice that in the gif above, despite the buttons changing st... | I'm making a custom Radio Button that wraps an animation when I go from selected to deselected and/or vice versa. I am using the AnimatedVisibility function of jetpack compose, however I am not getting the expected result. Notice that in the gif above, despite the buttons changing state normally (selected to deselected... | android|android-jetpack-compose|jetpack-compose-animation | 0 | 2022-02-21T12:48:05.330Z | 2,022 | 2 | 12 | 0 | 273 | 1 | 552 | 84 | 3 | 3 | true | false | false | false | false | false | zero |
71,233,473 | Inheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option | <p>I updated kotlin version on Android studio</p>
<pre><code>ext.kotlin_version = '1.6.10'
</code></pre>
<p>Unfortunately I am getting build error</p>
<blockquote>
<p>Inheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option</p>
</blockquote>
<p>How can I fix this?</p> | I updated kotlin version on Android studio [CODE] Unfortunately I am getting build error Inheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option How can I fix this? | android|kotlin | 4 | 2022-02-23T08:24:32.300Z | 2,022 | 2 | 8 | 2 | 1,041 | 1 | 207 | 98 | 2 | 1 | true | false | false | false | false | false | low |
71,107,386 | Where can I find a collection of a creature/character doing different actions (JSON file/ gif)? | <p>Creature or Character doing actions like Hi, Sleeping, Walking, Smiling type of actions. I am looking for a collection of those in any kind of video format or gif or JSON (by which I can use it in my project) that would be helpful. There are generic static character options available but they don't have animation.<... | Creature or Character doing actions like Hi, Sleeping, Walking, Smiling type of actions. I am looking for a collection of those in any kind of video format or gif or JSON (by which I can use it in my project) that would be helpful. There are generic static character options available but they don't have animation. I am... | android|user-interface|animation | -1 | 2022-02-14T05:08:02.200Z | 2,022 | 2 | 5 | 0 | 18 | 1 | 466 | 95 | 3 | 0 | false | false | false | false | false | true | negative |
71,269,401 | Android - map a string to different value | <p>I would like to map a string variable to different value! for example:</p>
<pre><code>VAR := valid value is "user" or "userdebug"
VAR1 := VAR convert to "release" or "debug"
VAR2 := VAR convert to "Release" or "Debug"
</code></pre>
<p>I do not like if else... | I would like to map a string variable to different value! for example: [CODE] I do not like if else, how can we do it just one line code? | android|makefile | 0 | 2022-02-25T17:15:20.230Z | 2,022 | 2 | 17 | 4 | 18 | 1 | 137 | 41 | 2 | 1 | true | false | false | false | false | false | zero |
71,284,303 | Dart Flutter sliderShow textFormField values on each page stay the same | <p><strong>I have such an application:</strong></p>
<p><a href="https://i.stack.imgur.com/p9TgZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p9TgZ.png" alt="enter image description here" /></a></p>
<p>The application purpose is to query whether the word entered in the textFormField corresponds to ... | I have such an application: The application purpose is to query whether the word entered in the textFormField corresponds to the meaning I keep in the list. This is a language app. The above screen is the test part. I give the person a word and ask him to write it in Turkish. But there is a problem here. I am using Car... | android|flutter|dart | 0 | 2022-02-27T11:18:58.140Z | 2,022 | 2 | 11 | 6 | 18 | 1 | 739 | 72 | 3 | 1 | true | false | false | false | false | false | zero |
71,408,966 | How to get activity_main.xml buttons on top of other content such as sprites | <p>I have two moving images in a program</p>
<p>I just discovered activity_main.xml and wanted to use those buttons.</p>
<p>In my program I created a gameview printing to the canvcas, it prints two moving images by updating them and changing position in my GameView. Pretty standard.</p>
<pre><code>setContentView(new Ga... | I have two moving images in a program I just discovered activity_main.xml and wanted to use those buttons. In my program I created a gameview printing to the canvcas, it prints two moving images by updating them and changing position in my GameView. Pretty standard. [CODE] To call the buttons I am supposed to use below... | java|android-studio | 0 | 2022-03-09T11:56:42.480Z | 2,022 | 3 | 11 | 2 | 18 | 1 | 660 | 76 | 2 | 2 | true | false | false | false | false | false | zero |
71,099,943 | How to filter/sort view based on date range in android using java? | <p><a href="https://i.stack.imgur.com/u4UIv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u4UIv.png" alt="enter image description here" /></a></p>
<pre><code> else if (item.getItemId() == R.id.sort_by_unprofitable_trades){
Collections.sort(notesList, Model.UnProfitableTrades);
ad... | [CODE] DataBase class:- void sortbyDateRange(String startDate, String endDate){ SQLiteDatabase database = this.getWritableDatabase(); String query = "SELECT * FROM " + TableName + " WHERE " + ColumnTradeDate + " BETWEEN " + startDate + " AND " + endDate ; database.execSQL(query);... | java|android|android-recyclerview|date-range | 0 | 2022-02-13T10:51:16.577Z | 2,022 | 2 | 10 | 6 | 274 | 1 | 452 | 66 | 4 | 1 | true | false | false | false | false | false | zero |
71,224,177 | How to resolve java.lang.ClassNotFoundException in android? | <p>I am trying to run an application.I am getting error :</p>
<blockquote>
<p>java.lang.ClassNotFoundException: Didn't find class "android.view.SquareImageView"</p>
</blockquote>
<p>But I have already created SquareImageView class inside the java folder in android. Still I am getting this error.</p>
<p>Part o... | I am trying to run an application.I am getting error : java.lang.ClassNotFoundException: Didn't find class "android.view.SquareImageView" But I have already created SquareImageView class inside the java folder in android. Still I am getting this error. Part of the error : [CODE] | java|android | 1 | 2022-02-22T15:42:44.097Z | 2,022 | 2 | 15 | 1 | 274 | 1 | 289 | 59 | 2 | 1 | true | false | false | false | false | false | low |
71,340,699 | Is there anyway to disable this notification on google chrome (andorid) | <p>Hey anyway to <strong>disable</strong> the floating in app notification for downloading, or download compleated notifications.
I tried all the settings i didn't find any.
<a href="https://i.stack.imgur.com/ghK8l.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ghK8l.jpg" alt="enter image descriptio... | Hey anyway to disable the floating in app notification for downloading, or download compleated notifications. I tried all the settings i didn't find any. | android|google-chrome | 1 | 2022-03-03T16:42:19.757Z | 2,022 | 3 | 16 | 3 | 530 | 1 | 153 | 71 | 2 | 0 | false | false | false | false | false | false | low |
71,132,049 | Display only items that match specifics creterias | <p>I am working on a touristic application, I fetch items from firestore Firebase and display them on the screen. these items are activities data.</p>
<p>I want to filtre these data and arrange them by category, so I am looking for a way to display only the items that has some creterias.</p>
<p>So I want to disply unde... | I am working on a touristic application, I fetch items from firestore Firebase and display them on the screen. these items are activities data. I want to filtre these data and arrange them by category, so I am looking for a way to display only the items that has some creterias. So I want to disply under every category ... | android|firebase|flutter|google-cloud-firestore|flutter-layout | 0 | 2022-02-15T19:09:12.923Z | 2,022 | 2 | 19 | 1 | 19 | 1 | 533 | 49 | 5 | 3 | true | false | false | false | false | false | zero |
71,242,787 | string.atChar(0) crashes | <p>I have an array <code>koal</code> of strings with "00" at <code>koal[0]</code> but this attempt to get 1st
element from first string crashes:</p>
<p><code>tv6.setText(koal[0].charAt(0));</code></p>
<p>On the other hand:
<code>tv6.setText(koal[0])</code> prints "00".</p>
<p>Why? Or, how do I get i... | I have an array koal of strings with "00" at koal[0] but this attempt to get 1st element from first string crashes: tv6.setText(koal[0].charAt(0)); On the other hand: tv6.setText(koal[0]) prints "00". Why? Or, how do I get ith element from koal[0] ? | android|string|android-studio | 0 | 2022-02-23T19:10:24.453Z | 2,022 | 2 | 19 | 2 | 19 | 1 | 269 | 24 | 3 | 0 | false | false | false | false | false | false | zero |
71,298,502 | responsive image using picasso android | <p>i started using Picasso instead of using drawable resources that would fill my app with KB, and MB of images, but i got a problem, i just can't find the proper way to make my images responsive in all different screens like was in previously code.</p>
<p>Image to understand my layout (i'm refering to the first image ... | i started using Picasso instead of using drawable resources that would fill my app with KB, and MB of images, but i got a problem, i just can't find the proper way to make my images responsive in all different screens like was in previously code. Image to understand my layout (i'm refering to the first image the big on... | android|xml|screen|responsive|picasso | 0 | 2022-02-28T17:02:57.270Z | 2,022 | 2 | 17 | 0 | 19 | 1 | 487 | 38 | 5 | 2 | true | false | false | false | false | false | zero |
71,334,667 | Can I finish an animation without the animating itself | <p>If I have an animation like this</p>
<p><code>textView.animate().translationY(-translationY * 0.32f).scaleX(0.7f).scaleY(0.7f);</code></p>
<p>is it possible to directly "end" the animation so that the user won't see the movement of the textview but its final position will be the translated and shifted one?... | If I have an animation like this textView.animate().translationY(-translationY * 0.32f).scaleX(0.7f).scaleY(0.7f); is it possible to directly "end" the animation so that the user won't see the movement of the textview but its final position will be the translated and shifted one? I do not want to use another ... | android|animation | 0 | 2022-03-03T09:16:46.747Z | 2,022 | 3 | 9 | 3 | 19 | 1 | 414 | 54 | 2 | 0 | false | false | false | false | false | false | zero |
71,359,489 | how to open link from webview? | <p>I'm new, just learning, don't swear. There is a task. A line comes in, it contains an HTML file with text and links, the webView layout is loaded, I display a line in the webView that contains a link, do I need to click on this link so that it opens in the browser on the phone?</p>
<p>public class MainActivity exten... | I'm new, just learning, don't swear. There is a task. A line comes in, it contains an HTML file with text and links, the webView layout is loaded, I display a line in the webView that contains a link, do I need to click on this link so that it opens in the browser on the phone? public class MainActivity extends AppComp... | android-studio|webview | 0 | 2022-03-05T04:27:11.650Z | 2,022 | 3 | 4 | 5 | 20 | 1 | 341 | 30 | 2 | 1 | true | false | false | false | false | false | zero |
71,158,157 | FLUTTER: Responsive Widgets with Zoom | <p>FLUTTER: How do I make my widgets (which use fontSize, height and width) responsive to device zoom? I always use MediaQuery.of(context).size for different phones resolutions, but what about when the problem is zooming?</p>
<p><strong>Picture without Zoom</strong></p>
<p><img src="https://i.stack.imgur.com/j5arsl.jpg... | FLUTTER: How do I make my widgets (which use fontSize, height and width) responsive to device zoom? I always use MediaQuery.of(context).size for different phones resolutions, but what about when the problem is zooming? Picture without Zoom Picture with Zoom | android|flutter|dart|responsive-design|responsive | 1 | 2022-02-17T12:29:03.910Z | 2,022 | 2 | 12 | 3 | 276 | 1 | 257 | 37 | 5 | 0 | false | false | false | false | false | false | low |
71,101,678 | Android firestore using "whereTo()" many times causes cost a lot? | <p>I am making a function to classify by user's region and MBTI.</p>
<p>Here is a code.</p>
<pre><code>private void EventChangeListener() {
//firestore.collection("Users").orderBy("time",Query.Direction.DESCENDING).limit(50)
firestore.collection("Users").orderBy("time",Qu... | I am making a function to classify by user's region and MBTI. Here is a code. [CODE] Like this whereEqualTo().whereEqualTo().whereEqualTo() causes a lot cost?? If It is right, then is there any other way? | java|android|firebase|google-cloud-firestore | 1 | 2022-02-13T14:40:03.863Z | 2,022 | 2 | 14 | 6 | 21 | 1 | 204 | 65 | 4 | 1 | true | false | false | false | false | false | low |
71,142,814 | Removing specific lines from a string by index | <p>I have a String paragraph that always gonna have 6 lines, like the example below.</p>
<pre><code> val result= """
${getValue(A1)} ${getValue(A2)} ${getValue(A3)} ${getValue(A4)} ${getValue(A5)}
${getValue(B1)} ${getValue(B2)} ${getValue(B3)} ${getValue(B4)} ${getValue(B5)}... | I have a String paragraph that always gonna have 6 lines, like the example below. [CODE] getValue returns only one char, so the output is always something like this: [CODE] What I want is a way to remove specific lines from the past example by the line index. For example I want an extention function that let me do this... | android|arrays|string|kotlin | 0 | 2022-02-16T13:32:42.587Z | 2,022 | 2 | 13 | 2 | 21 | 1 | 566 | 46 | 4 | 4 | true | false | false | false | false | false | zero |
71,161,587 | Android modify @Getter in Lombok | <p>Is there a possibility to modify Lombok's <code>@Getter</code> for one type of field? There is a MutableLiveData that is child of LiveData. I want Lombok to create getters for MutableLiveData fields that return LiveData not MutableLiveData. I hope you understand what I mean.</p>
<p>To picture what I'm talking about... | Is there a possibility to modify Lombok's @Getter for one type of field? There is a MutableLiveData that is child of LiveData. I want Lombok to create getters for MutableLiveData fields that return LiveData not MutableLiveData. I hope you understand what I mean. To picture what I'm talking about I am adding some code: ... | android|mvvm|lombok | 0 | 2022-02-17T16:09:29.357Z | 2,022 | 2 | 16 | 3 | 21 | 1 | 415 | 32 | 3 | 1 | true | false | false | false | false | false | zero |
71,173,502 | The Recycler View does not see the adapter elements | <p>I have an Adapter that I pass to RecyclerView. When trying to change the text in the Recycler view, an error occurs android.content.res.Resources$NotFoundException: String resource ID #0xde. After debagging, I saw that an error occurs in the onBindViewHolder method when I change the text. At the same time, the holde... | I have an Adapter that I pass to RecyclerView. When trying to change the text in the Recycler view, an error occurs android.content.res.Resources$NotFoundException: String resource ID #0xde. After debagging, I saw that an error occurs in the onBindViewHolder method when I change the text. At the same time, the holder o... | java|android|android-recyclerview | 0 | 2022-02-18T12:28:39.813Z | 2,022 | 2 | 12 | 4 | 21 | 1 | 539 | 51 | 3 | 2 | true | false | false | false | false | false | zero |
71,208,479 | About adding cardview programatically inside linear layout | <p>I have to create a case where I need to insert 5 card-like structure, inside my linearlayout present in <em>activity_main.xml</em></p>
<p>activity_main layout is like this :</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android... | I have to create a case where I need to insert 5 card-like structure, inside my linearlayout present in activity_main.xml activity_main layout is like this : [CODE] And on mainactivity onCreate() method I have : [CODE] Error shown is like : java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.... | android|layout | 0 | 2022-02-21T15:01:16.637Z | 2,022 | 2 | 15 | 0 | 21 | 1 | 2,926 | 58 | 2 | 2 | true | false | false | false | false | false | zero |
71,255,853 | problem to receive from firarebase and write them on recycler view | <p>I'm trying to retrive data from firebase and write them on a custom recycler view. I wrote the code but I can't understand why the data is not correctly taken from the database.</p>
<p>this is the main activity:</p>
<pre><code>private lateinit var myDatabase: FirebaseDatabase
private lateinit var myReference: Da... | I'm trying to retrive data from firebase and write them on a custom recycler view. I wrote the code but I can't understand why the data is not correctly taken from the database. this is the main activity: [CODE] and this is the custom adapter class: [CODE] I cannot understand why the data does not arrive. The code is c... | android|kotlin|firebase-realtime-database | -1 | 2022-02-24T17:20:46.640Z | 2,022 | 2 | 17 | 3 | 21 | 1 | 392 | 66 | 3 | 2 | true | false | false | false | false | true | negative |
71,440,046 | scrollbar moves rough when activating fastscrollenable in android listview | <p>scrollbar moves roughly while scrolling. how to make scrollbar move smoothly when enable fastcrollenable="true"?</p>
<p>I've been looking for it for a month. both in android documentation, stackoverflow, and other web ,but i can't find it.</p>
<p>in my listview , im just add....</p>
<pre><code>android:fast... | scrollbar moves roughly while scrolling. how to make scrollbar move smoothly when enable fastcrollenable="true"? I've been looking for it for a month. both in android documentation, stackoverflow, and other web ,but i can't find it. in my listview , im just add.... [CODE] | java|android|listview|android-scrollbar|fastscroll | 0 | 2022-03-11T14:29:53.340Z | 2,022 | 3 | 14 | 4 | 21 | 1 | 282 | 74 | 5 | 1 | true | false | false | false | false | false | zero |
71,297,539 | Dart SDK is not configured in Android Studio | <p>I just started learning the Dart programming language, then I did some preparations such as installing the Dart SDK, then setting the path for the bin, after that I checked using the command prompt and it didn't cause any problems. After that I started to code Dart program, and Android Studio gave message "Dart... | I just started learning the Dart programming language, then I did some preparations such as installing the Dart SDK, then setting the path for the bin, after that I checked using the command prompt and it didn't cause any problems. After that I started to code Dart program, and Android Studio gave message "Dart SD... | android-studio|dart-sdk | 0 | 2022-02-28T15:46:35.440Z | 2,022 | 2 | 15 | 0 | 533 | 1 | 528 | 44 | 2 | 0 | false | false | false | false | false | false | zero |
71,105,442 | Create Intent, but leave BottomAppBar visible | <p>I have a standard Android app with a BottomAppBar, 3 fragments/tabs, a floating action button which opens an Intent. The intent occupies the whole screen and covers the BottomAppBar. Is there a way to make the BottomAppBar visible while the Intent is open?</p> | I have a standard Android app with a BottomAppBar, 3 fragments/tabs, a floating action button which opens an Intent. The intent occupies the whole screen and covers the BottomAppBar. Is there a way to make the BottomAppBar visible while the Intent is open? | android|android-intent|visibility|bottomappbar | 0 | 2022-02-13T22:34:33.120Z | 2,022 | 2 | 22 | 6 | 22 | 1 | 256 | 45 | 4 | 0 | false | false | false | false | false | false | zero |
71,146,695 | What's the best way to filter text length of last Textview in Android | <p>I have limited the length of Textview2.</p>
<p>textview2.setFilters(new InputFilter[] { new InputFilter.LengthFilter(2) });</p>
<p>Textview1 = 456789</p>
<p>So Textview2 is display = 45</p>
<p>I want to display only last two text ( 89 ).</p>
<p>How to filter text length?</p>
<p>Thank all.</p> | I have limited the length of Textview2. textview2.setFilters(new InputFilter[] { new InputFilter.LengthFilter(2) }); Textview1 = 456789 So Textview2 is display = 45 I want to display only last two text ( 89 ). How to filter text length? Thank all. | android|text | 0 | 2022-02-16T17:39:20.563Z | 2,022 | 2 | 17 | 2 | 22 | 1 | 247 | 69 | 2 | 0 | false | false | false | false | false | false | zero |
71,218,826 | Jetpack Compose MutableState not updating on the screen | <p>I want to show a movie list from Firebase realtime database, but I'm not getting the list from the ViewModel.
When I update the <code>apiResource.data</code> in the Repository, it is not updating the mutableList on the screen.</p>
<p>Screen:</p>
<pre class="lang-kotlin prettyprint-override"><code> val movi... | I want to show a movie list from Firebase realtime database, but I'm not getting the list from the ViewModel. When I update the apiResource.data in the Repository, it is not updating the mutableList on the screen. Screen: [CODE] ViewModel: [CODE] Repository: [CODE] | viewmodel|android-jetpack-compose | 1 | 2022-02-22T09:31:39.370Z | 2,022 | 2 | 9 | 1 | 1,814 | 1 | 265 | 55 | 2 | 3 | true | false | false | false | false | false | low |
71,292,477 | Data cannot be shared between activity and fragment and cannot communicate | <p>Data cannot be shared between activity and fragment and cannot communicate
Activity cannot observe fragment data
<a href="https://developer.android.google.cn/guide/fragments/communicate" rel="nofollow noreferrer">Communicating with fragments</a></p>
<p>ViewModel</p>
<pre><code> class BlankViewModel : ViewModel() {
... | Data cannot be shared between activity and fragment and cannot communicate Activity cannot observe fragment data Communicating with fragments ViewModel [CODE] 2 Fragment [CODE] 3 Activity [CODE] There is no data in the console | android|fragment|viewmodel | -1 | 2022-02-28T08:49:26.780Z | 2,022 | 2 | 8 | 0 | 23 | 1 | 226 | 74 | 3 | 3 | true | false | false | false | false | true | negative |
71,332,436 | Is there a way to change the android:label but only via command line build? | <p>We distribute our companies app to firebase, but we have a lot of different app flavors/variants. It gets confusing to have them all named the same <code>My Application</code>. The bundles show in firebase, but having to explain all the flavors to everyone by bundle takes too long.</p>
<p>Is there a way I could pass... | We distribute our companies app to firebase, but we have a lot of different app flavors/variants. It gets confusing to have them all named the same My Application . The bundles show in firebase, but having to explain all the flavors to everyone by bundle takes too long. Is there a way I could pass a command-line arg to... | android|gradle|android-gradle-plugin | 0 | 2022-03-03T05:22:30.473Z | 2,022 | 3 | 5 | 3 | 23 | 1 | 812 | 75 | 3 | 0 | false | false | false | false | false | false | zero |
71,348,872 | Update or switch BottomSheetDialogFragment inflated view when recyclerView dataset is changed | <p>I have a BottomSheetDialogFragment and inside onCreateView i am inflating 2 different views based on a condition. Now my 1st view contains a recyclerView and the condition on which i want to switch my views is that if the list is empty then inflate view 1 else inflate view 2. Now my problem is when my list data coun... | I have a BottomSheetDialogFragment and inside onCreateView i am inflating 2 different views based on a condition. Now my 1st view contains a recyclerView and the condition on which i want to switch my views is that if the list is empty then inflate view 1 else inflate view 2. Now my problem is when my list data count b... | android|fragment | 0 | 2022-03-04T08:57:20.323Z | 2,022 | 3 | 8 | 4 | 23 | 1 | 531 | 93 | 2 | 1 | true | false | false | false | false | false | zero |
71,354,519 | Android - How to encrypt data in CloremDB? | <p>I am using <strong><a href="https://www.google.com/search?q=CloremDB" rel="nofollow noreferrer">CloremDB</a></strong> for my android app. I can't figure out how can I encrypt the data of the database. Is it even possible?</p> | I am using CloremDB for my android app. I can't figure out how can I encrypt the data of the database. Is it even possible? | android|database|nosql | 0 | 2022-03-04T16:43:35.657Z | 2,022 | 3 | 16 | 4 | 23 | 1 | 123 | 42 | 3 | 0 | false | false | false | false | false | false | zero |
71,371,982 | How do I call removeView() on child's parent? | <p>I am trying to make a simple android <code>alertdialog</code> box. This is my code:</p>
<pre><code>LinearLayout diagLayout = new LinearLayout(getContext());
diagLayout.setOrientation(LinearLayout.VERTICAL);
AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
btn.setOnClickListener(new View.OnClickL... | I am trying to make a simple android alertdialog box. This is my code: [CODE] When I click the btn , the dialog shows. Then when I press the Cancel button and then again press the btn , my app crashes and the following error shows up in my console: java.lang.IllegalStateException: The specified child already has a pare... | java|android | 0 | 2022-03-06T16:07:58.337Z | 2,022 | 3 | 16 | 6 | 23 | 1 | 458 | 45 | 2 | 1 | true | false | false | false | false | false | zero |
71,234,571 | Unable to install apk and launch the application in Appium docker | <p>I have a docker running on linux machine with appium server on it, real device is connected via USB with all permissions granted.</p>
<p><a href="https://i.stack.imgur.com/cbvjA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cbvjA.png" alt="The devices is recognizible by adb" /></a></p>
<p>The pr... | I have a docker running on linux machine with appium server on it, real device is connected via USB with all permissions granted. The problem is when I running tests the apk is not installing, its like skipping the installation. Appium logs shows no errors. The test is running perfect locally on my Windows machine with... | java|docker|automated-tests|appium|appium-android | 0 | 2022-02-23T09:42:41.003Z | 2,022 | 2 | 9 | 2 | 279 | 1 | 435 | 65 | 5 | 1 | true | false | false | false | false | false | zero |
71,307,408 | How can I measure the height and width of a text in Jetpack Compose Canvas? | <p>I'm use Jetpack Compose Canvas to draw a division circle. The min value of the division circle is 20, and the max value of the division circle is 120.</p>
<p>So I write the Code A, and I get the result Image A as expected except the label.</p>
<p>From the Image A, I find the label <em>0,</em> <em>20</em>, <em>40</e... | I'm use Jetpack Compose Canvas to draw a division circle. The min value of the division circle is 20, and the max value of the division circle is 120. So I write the Code A, and I get the result Image A as expected except the label. From the Image A, I find the label 0, 20 , 40 are on good position, and the label 60 , ... | kotlin|android-jetpack-compose | 2 | 2022-03-01T10:58:21.587Z | 2,022 | 3 | 10 | 1 | 279 | 1 | 656 | 75 | 2 | 1 | true | false | false | false | false | false | low |
71,377,613 | no ad config with error code 3 in test ads | <p>I have integrated AdMob into my android app and I am using test id to show ads. but whenever I run the app it always goes to <code>onAdFailedToLoad</code> method and I am getting this in response :</p>
<pre><code>{
"Code": 3,
"Message": "No ad config.",
"Domain&qu... | I have integrated AdMob into my android app and I am using test id to show ads. but whenever I run the app it always goes to onAdFailedToLoad method and I am getting this in response : [CODE] so I have created a new android project and I integrated the AdMob into the new project and it works fine. it shows ads perfectl... | java|android|android-studio|admob | 3 | 2022-03-07T07:20:28.913Z | 2,022 | 3 | 7 | 0 | 279 | 1 | 576 | 42 | 4 | 2 | true | false | false | false | false | false | low |
71,289,865 | LazyColumn item not updated accordingly while list in room table already updated | <p>When the <code>Icon</code> clicked, <code>viewModel.onLockIconClicked(it)</code> is called to reverse the value of <code>isLock</code> in db.</p>
<p>The <code>Icon</code> is expected to be updated according based on the value of <code>isLock</code>.</p>
<p>I've checked the value did reversed in db table. But LazyCol... | When the Icon clicked, viewModel.onLockIconClicked(it) is called to reverse the value of isLock in db. The Icon is expected to be updated according based on the value of isLock . I've checked the value did reversed in db table. But LazyColumn not update accordingly. What did I miss? Thanks a lot! Ex, initially, Screen:... | android-room|android-jetpack-compose | 0 | 2022-02-28T01:48:31.077Z | 2,022 | 2 | 1 | 0 | 535 | 1 | 572 | 80 | 2 | 5 | true | false | false | false | false | false | zero |
71,163,730 | Hiding/making unaccessible features in android application according to user type | <p>So I am creating an Android application in which suppose there are 2 user types, userType1 & userType2. Now what I want is that only userType1 will see and be able to access the post button, and userType2 Can't see and or access it. So what is the best practice for that?</p> | So I am creating an Android application in which suppose there are 2 user types, userType1 & userType2. Now what I want is that only userType1 will see and be able to access the post button, and userType2 Can't see and or access it. So what is the best practice for that? | android|firebase|firebase-realtime-database|google-cloud-platform|google-cloud-firestore | 0 | 2022-02-17T18:42:17.630Z | 2,022 | 2 | 18 | 3 | 24 | 1 | 271 | 81 | 5 | 0 | false | false | false | false | false | false | zero |
71,184,290 | is there any way to create new .xml activity file connected to .kot or .jav file | <p>I have accidentally deleted my ARINA.xml (activity) and I am asking for help on how to create a new ARINA.xml file connected to the ARINA.kt file or recover activity (it's on android studio )</p> | I have accidentally deleted my ARINA.xml (activity) and I am asking for help on how to create a new ARINA.xml file connected to the ARINA.kt file or recover activity (it's on android studio ) | android-studio|kotlin|build.xml | 0 | 2022-02-19T10:52:11.207Z | 2,022 | 2 | 10 | 5 | 24 | 1 | 191 | 80 | 3 | 0 | false | false | false | false | false | false | zero |
71,192,092 | Network International Payment Sdk for NGenious showing error | <p>I am working on NGenious payment SDK and trying to implement it in my Kotlin project but when the SDK shows up in Fragment, after 2 to 3 seconds the screen automatically got white and nothing is being shown.</p>
<p><a href="https://github.com/network-international/payment-sdk-android" rel="nofollow noreferrer">This<... | I am working on NGenious payment SDK and trying to implement it in my Kotlin project but when the SDK shows up in Fragment, after 2 to 3 seconds the screen automatically got white and nothing is being shown. This is the payment SDK Method to launch payment Fragment [CODE] onActivityResult Method [CODE] | android|kotlin|payment-gateway | 0 | 2022-02-20T07:12:01.397Z | 2,022 | 2 | 7 | 6 | 24 | 1 | 303 | 60 | 3 | 2 | true | false | false | false | false | false | zero |
71,228,939 | Android, RecyclerView, TableRow, 1 column with a non-Breaking line and 2 equal columns | <p>I would like to match the 1 column width to the maximum length of the text in that column.</p>
<p><a href="https://i.stack.imgur.com/rFGZm.jpg" rel="nofollow noreferrer">Column too short</a></p>
<p><a href="https://i.stack.imgur.com/mDygS.jpg" rel="nofollow noreferrer">Column too long</a></p>
<p><a href="https://i.s... | I would like to match the 1 column width to the maximum length of the text in that column. Column too short Column too long Fine column [CODE] https://github.com/softfly/RecyclerListApplication/blob/master/app/src/main/res/layout/item.xml I had the idea to compute to and set a fixed value. But every android has a diffe... | android|android-layout|android-recyclerview | 0 | 2022-02-22T22:11:16.927Z | 2,022 | 2 | 22 | 1 | 24 | 1 | 727 | 86 | 3 | 2 | true | false | false | false | false | false | zero |
71,248,097 | How to get the latitude and longitude to Oncreate method | <p><strong>i am storing address details to firestore. now im using mapview in this activity. and its getting current location. now i want to pass the longitude and latitude to firebase , then i need to get the values to oncreate method.</strong></p>
<p>i am using Address_location variable , i want to get latitude pass ... | i am storing address details to firestore. now im using mapview in this activity. and its getting current location. now i want to pass the longitude and latitude to firebase , then i need to get the values to oncreate method. i am using Address_location variable , i want to get latitude pass to that [CODE] } | java|android | 0 | 2022-02-24T06:45:21.310Z | 2,022 | 2 | 6 | 3 | 24 | 1 | 309 | 56 | 2 | 1 | true | false | false | false | false | false | zero |
71,268,331 | Deployment react native App in Computer Web Version | <p>I have react native app and i use expo like a connection to my android emulator.</p>
<p><a href="https://i.stack.imgur.com/yEwYh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yEwYh.png" alt="Structure " /></a></p>
<p>I want to run project in my laptop, but when i try to do it, i get a simple whi... | I have react native app and i use expo like a connection to my android emulator. I want to run project in my laptop, but when i try to do it, i get a simple white screen. No splash animation or errors in compiler. May i to create another dashboard/window for computer version? Is it possible? | android|react-native|android-emulator|expo|cross-platform | 0 | 2022-02-25T15:47:17.593Z | 2,022 | 2 | 15 | 4 | 24 | 1 | 292 | 51 | 5 | 0 | false | false | false | false | false | false | zero |
71,281,042 | AdapterViewFlipper stops flipping after two clicks | <p>I have a simple AdapterViewFlipper with an onClickListener attached to its items.</p>
<p>When i click it should flip through all of the numbers in <code>data</code> array, "one" through to "seven".</p>
<p>It is only flipping on first two clicks up to "three". After that my <code>adapter... | I have a simple AdapterViewFlipper with an onClickListener attached to its items. When i click it should flip through all of the numbers in data array, "one" through to "seven". It is only flipping on first two clicks up to "three". After that my adapterViewFlipper stops clicking and no fl... | android|kotlin|viewflipper|android-viewflipper | 0 | 2022-02-26T23:28:55.960Z | 2,022 | 2 | 23 | 5 | 24 | 1 | 374 | 50 | 4 | 3 | true | false | false | false | false | false | zero |
71,316,714 | Android alertdialog box's order is weird | <p>When users click fab then Two dialogs pop up one after the other to save the value.</p>
<p>Here is a MainActivity class.</p>
<pre><code>fab.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
new Fragment_searchmbti().show(getSupportFragmentManager(),&... | When users click fab then Two dialogs pop up one after the other to save the value. Here is a MainActivity class. [CODE] Here is a Fragment_searchregion class [CODE] The problem is that the region search box pops up, and when you select an item, the mbti search box appears. But my code [CODE] As you can see, searchmbti... | android|android-alertdialog|android-dialogfragment | 0 | 2022-03-02T02:15:59.973Z | 2,022 | 3 | 2 | 2 | 24 | 1 | 367 | 40 | 3 | 3 | true | false | false | false | false | false | zero |
71,329,439 | How Can I Hide Button On Some Recycler View Rows For Only Some Users | <p>Issue:</p>
<ul>
<li><p>Currently, a user can write a post and it displays in a recycler view.</p>
</li>
<li><p>There is a menu button on each recycler view row where a user can edit/delete their post.</p>
</li>
<li><p>I don't want users who are not the authors of the post to be able to access this menu button.</p>
<... | Issue: Currently, a user can write a post and it displays in a recycler view. There is a menu button on each recycler view row where a user can edit/delete their post. I don't want users who are not the authors of the post to be able to access this menu button. I want the menu button hidden for everyone who is not the ... | java|android|firebase|firebase-realtime-database|firebase-authentication | 0 | 2022-03-02T21:35:55.127Z | 2,022 | 3 | 21 | 2 | 24 | 1 | 501 | 68 | 5 | 1 | true | false | false | false | false | false | zero |
71,339,888 | BottomNavigationBar, doesnt showIcons when adding the menu | <p>I'm trying to implement a bottomr navigation bar for an app.
I'm using the BottomNavigationView</p>
<p>I was following the explanation from a youtube video step by step yet when getting to that part, when adding the menu in it doesnt even display in the activity main</p>
<p>I have not found an answer to a similar pr... | I'm trying to implement a bottomr navigation bar for an app. I'm using the BottomNavigationView I was following the explanation from a youtube video step by step yet when getting to that part, when adding the menu in it doesnt even display in the activity main I have not found an answer to a similar problem anywhere el... | java|android-studio|uinavigationbar | 0 | 2022-03-03T15:45:01.303Z | 2,022 | 3 | 15 | 3 | 24 | 1 | 544 | 58 | 3 | 2 | true | false | false | false | false | false | zero |
71,150,580 | Custom Floating Action Button with TextView on top of Image | <p>I'm trying to create something similar to the picture. I am using <code>CoordinatorLayout</code>, <code>BottomAppBar</code> and <code>BottomNavigation</code>, but the bottom app bar needs a floating action button to create the cradle around the button.
I need the floating action button to have an image and a text vi... | I'm trying to create something similar to the picture. I am using CoordinatorLayout , BottomAppBar and BottomNavigation , but the bottom app bar needs a floating action button to create the cradle around the button. I need the floating action button to have an image and a text view which I will update programmatically.... | android|kotlin|android-layout|user-interface|floating-action-button | 0 | 2022-02-16T23:27:51.763Z | 2,022 | 2 | 23 | 2 | 280 | 1 | 409 | 59 | 5 | 0 | false | false | false | false | false | false | zero |
71,220,769 | My flutter app stucks at installation in debug mode | <p>Launching lib\main.dart on SM G960U in debug mode...
Warning: Mapping new ns <a href="http://schemas.android.com/repository/android/common/02" rel="nofollow noreferrer">http://schemas.android.com/repository/android/common/02</a> to old ns <a href="http://schemas.android.com/repository/android/common/01" rel="nofollo... | Launching lib\main.dart on SM G960U in debug mode... Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/rep... | android|flutter|dart|visual-studio-code | -1 | 2022-02-22T11:48:42.303Z | 2,022 | 2 | 11 | 1 | 25 | 1 | 3,685 | 51 | 4 | 0 | false | false | false | false | false | true | negative |
71,279,825 | I want to create an app in which user can access the only files uploaded by him | <p>We have created a Android app in which we have added the features so that multiple users can create an account and login to upload or download there personal files. But it has become quite different all the files that are store to real time database of firebase through different user everyone who login get access of... | We have created a Android app in which we have added the features so that multiple users can create an account and login to upload or download there personal files. But it has become quite different all the files that are store to real time database of firebase through different user everyone who login get access of it... | android|firebase-storage | 0 | 2022-02-26T19:50:42.273Z | 2,022 | 2 | 19 | 5 | 25 | 1 | 515 | 79 | 2 | 0 | false | false | false | false | false | false | zero |
71,314,937 | Flutter using Android Studio - IDE not showing analysis errors or autocompleting imported package classes or methods | <p>As the title says, there are no analysis errors or code hints in the ide.</p>
<p>Autocomplete does not work either. I've scoured the web for solutions to no success.</p>
<p>Does anybody have any ideas?</p>
<p>Thanks for any insights,</p>
<p>-T</p>
<p><a href="https://i.stack.imgur.com/f9Md2.png" rel="nofollow noref... | As the title says, there are no analysis errors or code hints in the ide. Autocomplete does not work either. I've scoured the web for solutions to no success. Does anybody have any ideas? Thanks for any insights, -T | flutter|android-studio | 0 | 2022-03-01T21:40:05.980Z | 2,022 | 3 | 21 | 1 | 25 | 1 | 215 | 116 | 2 | 0 | false | false | false | false | false | false | zero |
71,347,064 | How to insert entity fields with default values for the first time when Database created in android | <p>I have to insert values to entity only first time when app installed is there a way to insert from where Database is created and later i can update fields using repository. I need to insert only first time.</p> | I have to insert values to entity only first time when app installed is there a way to insert from where Database is created and later i can update fields using repository. I need to insert only first time. | java|database|android-studio|android-sqlite | 0 | 2022-03-04T05:41:48.487Z | 2,022 | 3 | 5 | 4 | 25 | 1 | 206 | 99 | 4 | 0 | false | false | false | false | false | false | zero |
71,348,298 | Drawable color got pale when accessed in RecyclerView but normal if not inside RecyclerView | <p>I want to show drawable vector asset (.xml format) inside RecyclerView and give it a tint. But it doesnt show up nicely and kind of pale/faded out. I try to hardcode the tint color value and got the same result.</p>
<p>Here is the code</p>
<pre><code><!-- This doesnt work: using RecyclerView -->
<androidx.r... | I want to show drawable vector asset (.xml format) inside RecyclerView and give it a tint. But it doesnt show up nicely and kind of pale/faded out. I try to hardcode the tint color value and got the same result. Here is the code [CODE] Here is the item layout file [CODE] And here is the screenshot If i use jpg/png it w... | android|android-recyclerview|tint | 0 | 2022-03-04T08:07:21.187Z | 2,022 | 3 | 8 | 4 | 25 | 1 | 441 | 91 | 3 | 2 | true | false | false | false | false | false | zero |
71,364,884 | email is not verified | <p>in my application first i authenticate user email and then i am verifying user email i have set dialog activity to inform user to check email and verify email i have close button in dialog activity if user click on it dialog will be dismissed</p>
<p>i have implemented override fun onResume() method first activity an... | in my application first i authenticate user email and then i am verifying user email i have set dialog activity to inform user to check email and verify email i have close button in dialog activity if user click on it dialog will be dismissed i have implemented override fun onResume() method first activity and in this ... | android|firebase-authentication|android-lifecycle|email-validation | 0 | 2022-03-05T18:30:33.577Z | 2,022 | 3 | 18 | 5 | 25 | 1 | 587 | 21 | 4 | 2 | true | false | false | false | false | false | zero |
71,401,619 | Checkbox Composable Won't Disable Animation - Android Jetpack Compose | <p>Is there a way to disable the indication animation on the Composable Checkbox?</p>
<p>The typical path of adding the <code>indication = null</code> parameter to the <code>.clickable</code> Modifier doesn't appear to work.</p>
<p>When I looked in the documentation it just directed me to the different modifiers.</p>
<... | Is there a way to disable the indication animation on the Composable Checkbox? The typical path of adding the indication = null parameter to the .clickable Modifier doesn't appear to work. When I looked in the documentation it just directed me to the different modifiers. Checkbox Composable Documentation [CODE] | android|kotlin|checkbox|android-jetpack-compose | 1 | 2022-03-08T21:24:18.217Z | 2,022 | 3 | 21 | 1 | 281 | 1 | 312 | 69 | 4 | 1 | true | false | false | false | false | false | low |
71,187,232 | Android emulator starts but doesn't run my app | <p>Everything works perfectly yesterday, but now my emulator is broken. Emulator starts without erros but app doesn't launch. I tried to install my app from apk file, but it doesn't work too(see the screen). Also I tried to run default android studio project and it gives me the same problem.</p>
<p><a href="https://i.s... | Everything works perfectly yesterday, but now my emulator is broken. Emulator starts without erros but app doesn't launch. I tried to install my app from apk file, but it doesn't work too(see the screen). Also I tried to run default android studio project and it gives me the same problem. error screen | java|android | 0 | 2022-02-19T17:08:34.910Z | 2,022 | 2 | 17 | 5 | 26 | 1 | 302 | 46 | 2 | 0 | false | false | false | false | false | false | zero |
71,299,166 | How to automatically load contents of recycler when using nav componets.. And not Activity intentPutExtra | <p>I am trying to load the contents of recyclerView on a new screen I navigate to using navigation components.. I think with activity it was intentPutExtra, or something like this.</p>
<p>I'd appreciate if you could write a sample code, but I don't mind any pointers, thanks in advance. I'm new, and I don't really to th... | I am trying to load the contents of recyclerView on a new screen I navigate to using navigation components.. I think with activity it was intentPutExtra, or something like this. I'd appreciate if you could write a sample code, but I don't mind any pointers, thanks in advance. I'm new, and I don't really to the informar... | android|kotlin|android-fragments|android-recyclerview|navigationcontroller | 0 | 2022-02-28T18:01:11.243Z | 2,022 | 2 | 18 | 0 | 26 | 1 | 795 | 105 | 5 | 1 | true | false | false | false | false | false | zero |
71,353,088 | Saving app data encrypted on the phone (Android) | <p>What is the best practice for saving Android app data (like users' data - every user has SQL database with data of all the other users) on the phone in SQL database?
This is a public app (has been published on the Play Store) and I need to decide how to encrypt the data and where to save it on the phone in that way ... | What is the best practice for saving Android app data (like users' data - every user has SQL database with data of all the other users) on the phone in SQL database? This is a public app (has been published on the Play Store) and I need to decide how to encrypt the data and where to save it on the phone in that way no ... | android | 0 | 2022-03-04T14:46:27.303Z | 2,022 | 3 | 14 | 4 | 26 | 1 | 380 | 48 | 1 | 0 | false | false | false | false | false | false | zero |
71,372,624 | This program need to verify if somthing exist in my firebase database | <p>My problem is that i need to click twice on my button to execute the ValueEventListener. The first time it goes to another activity without the verification and to work i need to press the return button in emulator and then press again on the search button(intent button).</p>
<pre><code>search.setOnClickListener(new... | My problem is that i need to click twice on my button to execute the ValueEventListener. The first time it goes to another activity without the verification and to work i need to press the return button in emulator and then press again on the search button(intent button). [CODE] | android|firebase|firebase-realtime-database | 0 | 2022-03-06T17:27:34.007Z | 2,022 | 3 | 17 | 6 | 26 | 1 | 279 | 69 | 3 | 1 | true | false | false | false | false | false | zero |
71,420,893 | How to insert complex object in roomDb | <p>I have table <code>MainObject</code> with this structure:</p>
<pre class="lang-java prettyprint-override"><code>Data class MainObject {
List<Object1> object1 = new ArrayList<>();
List<Object2> object2 = new ArrayList<>();
Object3 object3;
}
Data class Object1 {
String name1 = &qu... | I have table MainObject with this structure: [CODE] Now My concern is should I go ahead with relations with many classes or simple write type converters. For less complex object it is easy to maintain relation. But what should be done in such cases. I have multiple objects(around 10) in single table to be saved. Will h... | android|android-room | 0 | 2022-03-10T08:24:41.870Z | 2,022 | 3 | 8 | 3 | 26 | 1 | 406 | 38 | 2 | 1 | true | false | false | false | false | false | zero |
71,430,969 | Need help to code something specific on a flutter app | <p>I’m new to Flutter and I’m trying to do something that looks like this for my app :</p>
<p><a href="https://i.stack.imgur.com/Ac3E2m.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ac3E2m.jpg" alt="enter image description here" /></a></p>
<p>So that I can switch between them and they will display ... | I’m new to Flutter and I’m trying to do something that looks like this for my app : So that I can switch between them and they will display two different pages. What’s this template called ? Can you link me to some websites that could help code it. Thank you! | android|flutter|dart | 1 | 2022-03-10T21:24:33.053Z | 2,022 | 3 | 21 | 3 | 26 | 1 | 259 | 53 | 3 | 0 | false | false | false | false | false | false | low |
71,439,957 | recover EditText from a RecyclerView item (from the adabter to myActivity)? | <p>hi guys I need help I'm using android studio java for the first time ...
this is my interface</p>
<p><a href="https://i.stack.imgur.com/q9QKk.jpg" rel="nofollow noreferrer">enter image description here</a></p>
<p>I wanna recover the EditText value in a list when the user clicks in "valider la commande"</p> | hi guys I need help I'm using android studio java for the first time ... this is my interface enter image description here I wanna recover the EditText value in a list when the user clicks in "valider la commande" | java|android|android-recyclerview | 0 | 2022-03-11T14:23:01.880Z | 2,022 | 3 | 14 | 4 | 26 | 1 | 223 | 75 | 3 | 0 | false | false | false | false | false | false | zero |
71,211,348 | AppAuth library - how the heck do we refresh tokens? | <p>I'm having basically the same problem as the user asking <a href="https://stackoverflow.com/questions/62986717/appauth-kotlin-android-expired-tokens-and-refresh-tokens">this</a> question: AppAuth library for Android lacks proper documentation.</p>
<p>My problem occurs when the current access token expires, disallowi... | I'm having basically the same problem as the user asking this question: AppAuth library for Android lacks proper documentation. My problem occurs when the current access token expires, disallowing API communication from inside my app. To prevent that I forced my TokenInterceptor to acquire the token on each request fro... | android|oauth-2.0|appauth | 3 | 2022-02-21T18:31:33.440Z | 2,022 | 2 | 18 | 0 | 538 | 1 | 806 | 52 | 3 | 1 | true | false | false | false | false | false | low |
71,350,185 | Setstate the AlertDialog screen by using setstate in the AlertDialog's child widget | <pre><code>Future<void> ChangeProfile(BuildContext context) {
final pro = Provider.of<Pro>(context, listen: false);
FirebaseFirestore fireStore = FirebaseFirestore.instance;
US(context);
int count = 0;
return showDialog<void>(
context: context,
builder: (context) {
return State... | [CODE] This is my AlertDialog code I used Statefu lBuilder to change the screen inside the AlertDialog too [CODE] PrintProfile widget. When this widget is called from AlertDialog, the output part of AlertDialog, pro.currentProfile, must be changed and the parent AlertDialog setstate must be set. [CODE] I found such a s... | android|flutter|dart | 0 | 2022-03-04T10:40:28.073Z | 2,022 | 3 | 10 | 4 | 27 | 1 | 589 | 83 | 3 | 3 | true | false | false | false | false | false | zero |
71,392,201 | How to get Call back when we enter keyBoard enterbutton in android | <p>This is my Edit text:</p>
<pre><code><EditText
android:id="@+id/name_ed"
style="@style/enter_kid_details_style"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop=&quo... | This is my Edit text: [CODE] This is my code which i am trying to click even when press enter button of keyboard [CODE] I dont know what i am doing mistake but i am unable to get call back when i.e unable to show toast when we click on keyboard enter button please help me in this suggest me what i am doing wrong . | android | 0 | 2022-03-08T08:46:27.543Z | 2,022 | 3 | 8 | 1 | 27 | 1 | 315 | 66 | 1 | 2 | true | false | false | false | false | false | zero |
71,413,658 | How to make an equal Scale for images of different resolution? | <p>I wanted to convert some images to pdf
So in order to do that, I need to make pages for the image first
I will have to provide the width and height of the page and put the image on the page,
The problem is that the resolution of some images is greater than the other so the pdf does not get formed on a constant scale... | I wanted to convert some images to pdf So in order to do that, I need to make pages for the image first I will have to provide the width and height of the page and put the image on the page, The problem is that the resolution of some images is greater than the other so the pdf does not get formed on a constant scale. I... | java|android|pdf|pdf-generation | 1 | 2022-03-09T17:35:06.620Z | 2,022 | 3 | 17 | 2 | 27 | 1 | 667 | 62 | 4 | 1 | true | false | false | false | false | false | low |
71,125,190 | Android Seekbar: adding extra space around thumb | <p>I need to keep the size of thumb and other functionalities as default (like scale on touch) but I need to add the space between progress lines:</p>
<p><a href="https://i.stack.imgur.com/S9lXy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S9lXy.png" alt="seekbar" /></a></p>
<p>To add more descrip... | I need to keep the size of thumb and other functionalities as default (like scale on touch) but I need to add the space between progress lines: To add more description: how to widen the purple area without affecting anything else? | android|android-seekbar | 0 | 2022-02-15T10:55:11.673Z | 2,022 | 2 | 10 | 1 | 28 | 1 | 230 | 48 | 2 | 0 | false | false | false | false | false | false | zero |
71,164,670 | How can I successfully make an Android app with a push notification using Android Studio? | <p>So I started by watching a YouTube tutorial and was able to make a basic Android app (testing it through by connecting my phone, as my VMWare apparently can't handle an Android Emulator). I then watched a different tutorial about creating a push notification. When I went to test it out, pressing my Notification butt... | So I started by watching a YouTube tutorial and was able to make a basic Android app (testing it through by connecting my phone, as my VMWare apparently can't handle an Android Emulator). I then watched a different tutorial about creating a push notification. When I went to test it out, pressing my Notification button ... | java|android | 0 | 2022-02-17T20:00:18.070Z | 2,022 | 2 | 20 | 3 | 28 | 1 | 786 | 89 | 2 | 2 | true | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.