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
72,852,410
package expo.modules does not exist
<p>I have created my react native project using npx react-native init project_name</p> <p>Then I have build the project and it was building successfully. Next thing I wanted to add expo-local-authentication package to my project, so I have followed the instrunction given by the official documentation i.e, <a href="http...
I have created my react native project using npx react-native init project_name Then I have build the project and it was building successfully. Next thing I wanted to add expo-local-authentication package to my project, so I have followed the instrunction given by the official documentation i.e, https://github.com/expo...
android|react-native
0
2022-07-04T06:13:57.817Z
2,022
7
6
0
210
0
685
35
2
1
true
true
false
false
false
false
zero
72,852,470
Only 'else' is getting executed in the 'if else' statement in my Android app
<p>Whenever I run the app, and type in 4 as the answer, it's still showing incorrect (from the else statement). ( I am relatively new to Android coding, and couldn't find an exact solution online.)</p> <p>Here is my code:</p> <pre class="lang-java prettyprint-override"><code>public class MainActivity extends AppCompatA...
Whenever I run the app, and type in 4 as the answer, it's still showing incorrect (from the else statement). ( I am relatively new to Android coding, and couldn't find an exact solution online.) Here is my code: [CODE]
java|android|if-statement
-2
2022-07-04T06:20:18.370Z
2,022
7
6
0
55
1
218
76
3
1
true
false
false
false
false
true
negative
72,852,485
No changes after using Migrate to AndroidX option
<p>I am trying to Migrate our app to AndroidX.<br /> <strong>&quot;Migrate to AndroidX&quot;</strong> option is not migrating the support packages to AndroidX.<br /> No changes found in <strong>packages.config</strong>.</p> <p>Can anyone help me on this or Am I missing any step?</p> <p>Thanks in Advance!</p>
I am trying to Migrate our app to AndroidX. &quot;Migrate to AndroidX&quot; option is not migrating the support packages to AndroidX. No changes found in packages.config . Can anyone help me on this or Am I missing any step? Thanks in Advance!
xamarin.android|nuget-package|androidx
0
2022-07-04T06:22:31.263Z
2,022
7
6
0
35
1
243
49
3
0
false
false
false
false
false
false
zero
72,852,508
I want to select PDF file from local Machin and show in flutter using PDF view in flutter
<pre><code>Here is my code </code></pre> <p>void openPDF(BuildContext context, File file) =&gt; Navigator.of(context).push( MaterialPageRoute( builder: (context) =&gt; MyPDFViewerPage(file: file), ), );</p>
[CODE] void openPDF(BuildContext context, File file) => Navigator.of(context).push( MaterialPageRoute( builder: (context) => MyPDFViewerPage(file: file), ), );
android|flutter
0
2022-07-04T06:25:17.783Z
2,022
7
6
0
33
0
159
89
2
1
true
true
false
false
false
false
zero
72,852,512
How to have unique Field for the id in Room Android?
<p>I want to achieve unique audio_id for the id.</p> <p>Here is my entity class</p> <pre><code>data class Members( @PrimaryKey(autoGenerate = true) @ColumnInfo(name = &quot;id&quot;) val id: Int?, var title: String, var artist: String, var album: String, @ColumnInfo(name = &quot;audio_id&quot;) val ...
I want to achieve unique audio_id for the id. Here is my entity class [CODE] Tried this [CODE] not working :)
android|database|android-room|android-architecture-components
0
2022-07-04T06:25:49.797Z
2,022
7
6
0
35
1
109
52
4
2
true
false
false
false
false
false
zero
72,852,575
is there a way to add firebase project options within flutter app start
<p>i would simply to know how to add Firebase project options within the app because every client will have its own Firebase project on flutter android / ios if possible</p>
i would simply to know how to add Firebase project options within the app because every client will have its own Firebase project on flutter android / ios if possible
android|ios|flutter|firebase
0
2022-07-04T06:33:10.783Z
2,022
7
6
0
35
2
166
71
4
0
false
false
false
false
false
false
zero
72,852,642
I'm getting errors in Android Studio
<p>I'm new in Android Studio and i am getting errors in Android Studio. How can I fix this?</p> <pre><code>protected void onCreate(final Bundle bundle) { if (Build.VERSION.SDK_INT &gt;= 30){ if (!Environment.isExternalStorageManager()){ Intent getpermission = new Intent(); ...
I'm new in Android Studio and i am getting errors in Android Studio. How can I fix this? [CODE] error screenshot
android|performance|android-studio|kotlin|compiler-errors
2
2022-07-04T06:39:44.157Z
2,022
7
6
0
39
1
112
36
5
1
true
false
false
false
false
false
low
72,852,704
Empty custom row being inserted by recyclerview
<p>I have a custom Dialog layout for taking user input in the form of name and number and add it to the ArrayList being used by a recycler Adapter. An if else validation is also put in place to ensure that if user doesn't input anything a new row will not be added but the problem is it does. The code is as follows-</p>...
I have a custom Dialog layout for taking user input in the form of name and number and add it to the ArrayList being used by a recycler Adapter. An if else validation is also put in place to ensure that if user doesn't input anything a new row will not be added but the problem is it does. The code is as follows- [CODE]...
java|android
0
2022-07-04T06:45:15.893Z
2,022
7
6
0
45
1
370
47
2
2
true
false
false
false
false
false
zero
72,852,833
Android Studio not found in Flutter Doctor
<p>I am getting this error when running <code>flutter doctor</code>.</p> <p><a href="https://i.stack.imgur.com/m6yLt.png" rel="nofollow noreferrer">https://i.stack.imgur.com/m6yLt.png</a></p> <pre><code> X android-studio-dir = C:\Program X Android Studio not found at C:\Program </code></pre> <p>What's wrong?</p>
I am getting this error when running flutter doctor . https://i.stack.imgur.com/m6yLt.png [CODE] What's wrong?
flutter|android-studio|flutter-doctor
0
2022-07-04T06:59:59.810Z
2,022
7
6
0
85
1
110
42
3
1
true
false
false
false
false
false
zero
72,852,922
How to add button on Foreground Service Notification to Kill the Service on Android
<p>I am building an app on Kotlin, and when I start my foreground service, I get a notification that it is running. How can I add a button to that notification, which when clicked by the user will terminate that foreground service?</p> <pre><code>private fun createNotificationChannel() { if (Build.VERSION.SDK_I...
I am building an app on Kotlin, and when I start my foreground service, I get a notification that it is running. How can I add a button to that notification, which when clicked by the user will terminate that foreground service? [CODE]
android|kotlin|notifications
1
2022-07-04T07:09:11.857Z
2,022
7
7
0
92
1
235
83
3
1
true
false
false
false
false
false
low
72,853,039
post request retrofit2 android studio kotlin
<p>i need for create user . must use request post . im use but this did'nt work and dont have error . you can see my code</p> <p>my server :</p> <p>Allow: POST, OPTIONS</p> <p>Content-Type: application/json</p> <p>{ &quot;first_name&quot;: &quot;&quot;, &quot;last_name&quot;: &quot;&quot;, &quot;email&quot;: &quot;&quo...
i need for create user . must use request post . im use but this did'nt work and dont have error . you can see my code my server : Allow: POST, OPTIONS Content-Type: application/json { &quot;first_name&quot;: &quot;&quot;, &quot;last_name&quot;: &quot;&quot;, &quot;email&quot;: &quot;&quot;, &quot;username&quot;: &quot...
android|kotlin|retrofit2
0
2022-07-04T07:20:51.963Z
2,022
7
7
0
71
0
475
44
3
5
true
true
false
false
false
false
zero
72,853,109
Display the message entered by the user on next screen using kotlin
<p>How to make an Edit Text on a screen so that when we press the send button it will display the message typed by user on next screen inside a text view.</p> <p>I tried the following code but it gives an error message as <strong>unresolved reference: intent2</strong>.</p> <ol> <li>I created two activities and named th...
How to make an Edit Text on a screen so that when we press the send button it will display the message typed by user on next screen inside a text view. I tried the following code but it gives an error message as unresolved reference: intent2 . I created two activities and named them as MainActivity.kt and MessageActivi...
android|android-studio|kotlin
0
2022-07-04T07:26:21.940Z
2,022
7
7
0
44
1
986
67
3
2
true
false
false
false
false
false
zero
72,853,261
Setting application/json as content-type header error in Kotlin
<p>I'm trying to send a POST request to the server. When I didn't specify the content-type as header, the content-type will be x-www-form-urlencoded (I assume because I use @FormUrlEncoded).</p> <pre><code>@FormUrlEncoded @POST(&quot;shiftentry/user_shift_entries&quot;) suspend fun getShifts( @Header(&quot;Auth...
I'm trying to send a POST request to the server. When I didn't specify the content-type as header, the content-type will be x-www-form-urlencoded (I assume because I use @FormUrlEncoded). [CODE] The problem is that when I send the request, the field page and size will always come up as not an Integer and I need to send...
android|json|api|kotlin
0
2022-07-04T07:40:48.457Z
2,022
7
7
0
128
0
1,021
63
4
7
true
true
false
false
false
false
zero
72,853,328
Shared ViewModels in modules
<p>I have an Activity with multiple fragments under it. I want to share data with the Shared ViewModel, but they are all in different Modules. I can't get the ActivityViewModel Class. When I received activityViewModels() using CoreViewModel, the parent of ActivityViewModel, I got an object that was different from what ...
I have an Activity with multiple fragments under it. I want to share data with the Shared ViewModel, but they are all in different Modules. I can't get the ActivityViewModel Class. When I received activityViewModels() using CoreViewModel, the parent of ActivityViewModel, I got an object that was different from what I r...
android|kotlin|mvvm|viewmodel|android-viewmodel
0
2022-07-04T07:47:08.510Z
2,022
7
7
0
72
0
745
28
5
3
true
true
false
false
false
false
zero
72,853,383
Fail to initialize resources in android app - then NullPointerException
<p>So, I have this android application and even some users. As I have a crash report system, I can see when someone's app crashes and the cause.</p> <p>It appears that, though rarely, the app crashes randomly with NullPointerException when it tries to change some attributes(rotation, text, etc..). I make sure everythin...
So, I have this android application and even some users. As I have a crash report system, I can see when someone's app crashes and the cause. It appears that, though rarely, the app crashes randomly with NullPointerException when it tries to change some attributes(rotation, text, etc..). I make sure everything is set f...
android|nullpointerexception
0
2022-07-04T07:52:36.327Z
2,022
7
7
0
21
0
1,069
71
2
2
true
true
false
false
false
false
zero
72,853,418
Sending data to other page with bloc cubit
<p>My problem is this. I created cubit for 2 different pages. When I am on the first page, I can fill the list inside the 2nd page and I can read it from the log. However, when I go to the second page, the list I filled in from the previous page is still empty.</p> <blockquote> <p>Main.dart</p> </blockquote> <pre><code...
My problem is this. I created cubit for 2 different pages. When I am on the first page, I can fill the list inside the 2nd page and I can read it from the log. However, when I go to the second page, the list I filled in from the previous page is still empty. Main.dart [CODE] HomeView.dart [CODE] FavoritesCubit.dart [CO...
android|flutter|dart|bloc|cubit
0
2022-07-04T07:56:19.770Z
2,022
7
7
0
53
1
348
42
5
4
true
false
false
false
false
false
zero
72,853,439
ANDROID - Using wifi interface (no internet) for network call while connected with mobile data (internet)
<p>I am working with android device for POS system. I need to do data backup by uploading data to portable 4G router with tf card. In my device, I am getting internet from mobile data. There is no internet in my portable 4G router. I am only using it for backup purpose since my device doesn't have sd card slot.</p> <p>...
I am working with android device for POS system. I need to do data backup by uploading data to portable 4G router with tf card. In my device, I am getting internet from mobile data. There is no internet in my portable 4G router. I am only using it for backup purpose since my device doesn't have sd card slot. Ok please ...
android|http
0
2022-07-04T07:57:59.950Z
2,022
7
7
0
27
0
1,003
105
2
0
false
true
false
false
false
false
zero
72,853,460
Deprecation warnings from generated sources not suppressed even if specified in lint.xml
<p>In our Android project, targeting API 33 caused a lot of deprecation warnings. In particular, the generated code for navigation args are still using deprecated usages of Bundle.get (see this issue I filed: <a href="https://issuetracker.google.com/u/1/issues/237725966" rel="nofollow noreferrer">https://issuetracker.g...
In our Android project, targeting API 33 caused a lot of deprecation warnings. In particular, the generated code for navigation args are still using deprecated usages of Bundle.get (see this issue I filed: https://issuetracker.google.com/u/1/issues/237725966 ) The warnings look like this: 'get(String!): Any?' is deprec...
android|lint|android-tiramisu
0
2022-07-04T08:00:03.493Z
2,022
7
8
0
47
0
577
88
3
2
true
true
false
false
false
false
zero
72,853,482
Stop fragment Re-Creation in BottomNavigation using NavGraph
<p>I have multiple fragments like <strong>Dashboard</strong>,<strong>Notifications</strong> and <strong>Profile</strong> in Bottom Navigation. I am using NavGraph- NavController to control the fragments.</p> <blockquote> <p>I want to save the state of previous fragment.</p> </blockquote> <p>I don't want to call my API'...
I have multiple fragments like Dashboard , Notifications and Profile in Bottom Navigation. I am using NavGraph- NavController to control the fragments. I want to save the state of previous fragment. I don't want to call my API's again on Switching between fragments. Whenever I switch between fragment it calls onDestroy...
android|navigation|android-lifecycle|bottomnavigationview|android-viewmodel
2
2022-07-04T08:02:09.830Z
2,022
7
8
0
55
1
801
60
5
1
true
false
false
false
false
false
low
72,853,492
Flutter: Offset compensation after scaling canvas in a drawing app
<p>So I'm working on a drawing app using Flutter. I want to implement pinch-zoom while still being able to paint on the canvas with one finger. I've figured out how to use an <code>ImmediateMultiDragGestureRecognizer</code> to tell how many fingers are on the screen and then use my own zoom function if there are two fi...
So I'm working on a drawing app using Flutter. I want to implement pinch-zoom while still being able to paint on the canvas with one finger. I've figured out how to use an ImmediateMultiDragGestureRecognizer to tell how many fingers are on the screen and then use my own zoom function if there are two fingers on the scr...
android|flutter|canvas|zooming|drawing
1
2022-07-04T08:02:57.253Z
2,022
7
8
0
153
0
1,622
66
5
3
true
true
false
false
false
false
low
72,853,585
Flutter text ellipsis deleting last word
<p>I want to use TextOverflow.ellipsis but its deleting last for for make it ellipsis and its looks really ugly. How can i make it without deleting any word ?</p> <p><a href="https://i.stack.imgur.com/1qCpP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1qCpP.png" alt="enter image description here" ...
I want to use TextOverflow.ellipsis but its deleting last for for make it ellipsis and its looks really ugly. How can i make it without deleting any word ? For example when i make with fade and softwrap false its working as i wanted but i want to make it as ellipsis. But when i use ellipsis Its being like that and its ...
android|ios|flutter|dart
0
2022-07-04T08:12:14.647Z
2,022
7
8
0
64
3
375
40
4
0
false
false
false
false
false
false
zero
72,853,792
the alert dialog going there like photo in dark brightness but when i remove it it going easy who i solve it in dark brightness
<p><a href="https://i.stack.imgur.com/SoLpa.png" rel="nofollow noreferrer">the alert dialog going this</a></p> <blockquote> <p><code>the main.dart</code> the brightness is dark here</p> </blockquote> <p>MaterialApp(</p> <p>debugShowCheckedModeBanner: false,</p> <p>home: const MyHomePage(), theme: ThemeData( brightness:...
the alert dialog going this the main.dart the brightness is dark here MaterialApp( debugShowCheckedModeBanner: false, home: const MyHomePage(), theme: ThemeData( brightness: Brightness.dark, primarySwatch: Colors.blue, primaryColor: const Color(0xFF00061a), shadowColor: const Color(0xFF001456) splashColor: const Color(...
flutter|dart|android-alertdialog
0
2022-07-04T08:30:05.677Z
2,022
7
8
0
28
0
415
127
3
1
true
true
false
false
false
false
zero
72,853,889
Superclass androidx.core.app.f of androidx.activity.ComponentActivity is declared final
<p>I wanted to update the version of the application in the Play Store, but in the tests I started getting this error.</p> <pre><code>Superclass androidx.core.app.f of androidx.activity.ComponentActivity is declared final </code></pre> <p>According to the <a href="https://issuetracker.google.com/issues/237785592" rel="...
I wanted to update the version of the application in the Play Store, but in the tests I started getting this error. [CODE] According to the google issues tracker this is new, maybe someone has a solution to this problem.
android|testing|google-play
28
2022-07-04T08:39:00.780Z
2,022
7
8
0
1,998
7
220
87
3
1
true
false
false
false
true
false
high
72,853,901
Get @PermissionCallback in another class than Plugin
<p>I build a capacitor plugin with permission requests. This plugin uses a native library that should actually request the permission. Therefore, the capacitor plugin implements the PermissionManagerInterface for the library.</p> <p>My trouble: The PermissionCallback doesn't work within the PermissionManager class. It ...
I build a capacitor plugin with permission requests. This plugin uses a native library that should actually request the permission. Therefore, the capacitor plugin implements the PermissionManagerInterface for the library. My trouble: The PermissionCallback doesn't work within the PermissionManager class. It needs to b...
android|permissions|capacitor
0
2022-07-04T08:40:13.840Z
2,022
7
8
0
29
0
571
52
3
1
true
true
false
false
false
false
zero
72,853,917
How to use NotificationListenerService to block notification in android
<p><strong>NOTE:</strong> I'm aware that this question somehow can be a duplicate. Still I'm asking this as I found no tutorial or any proper answer for the above question.</p> <p>I'm making an app which has a feature that user can block the notifications. The user can select either to block all the notifications or bl...
NOTE: I'm aware that this question somehow can be a duplicate. Still I'm asking this as I found no tutorial or any proper answer for the above question. I'm making an app which has a feature that user can block the notifications. The user can select either to block all the notifications or block only selected apps. To ...
java|android|notifications
1
2022-07-04T08:41:48.713Z
2,022
7
8
0
45
2
1,040
71
3
0
false
false
false
false
false
false
low
72,853,934
Can't use .contains() or .startsWith() in android studio kotlin project
<p>I'm new to android so bare with me.. Basically the title says it all and i found literally nothing on this issue, I get &quot;unresolved reference&quot; when using .contains or .startsWith, and i'm guessing many others that i don't know yet.</p> <p>My kotlin version is 1.4.32, says it's the latest</p> <p>-Worth ment...
I'm new to android so bare with me.. Basically the title says it all and i found literally nothing on this issue, I get &quot;unresolved reference&quot; when using .contains or .startsWith, and i'm guessing many others that i don't know yet. My kotlin version is 1.4.32, says it's the latest -Worth mentioning that i wen...
android|kotlin
0
2022-07-04T08:42:56.420Z
2,022
7
8
0
85
1
1,072
71
2
1
true
false
false
false
false
false
zero
72,854,025
Action in SnackBar called instantly when show
<p>I'm trying to show my SnackBar but my action is being called instantly when shown and not when the button is clicked. Why is this happening?</p> <pre><code>fun showSnackBar(msg:String,btnMsg:String,action:Unit){ SnackBar.make(binding.root,msg,Snackbar.LENGTH_SHORT) .setAction(btnMsg){ action } }.show(...
I'm trying to show my SnackBar but my action is being called instantly when shown and not when the button is clicked. Why is this happening? [CODE] And thats what I do when calling this method: [CODE]
android|kotlin|android-snackbar
0
2022-07-04T08:49:46.123Z
2,022
7
8
0
28
1
200
45
3
2
true
false
false
false
false
false
zero
72,854,075
How to display mathematical equations in both Android and IOS
<p>I would like to develop an app for math users, but I am wondering how to display math formulas and signs on ios and android, thx.</p>
I would like to develop an app for math users, but I am wondering how to display math formulas and signs on ios and android, thx.
android|ios
0
2022-07-04T08:53:02.740Z
2,022
7
8
0
25
1
129
61
2
0
false
false
false
false
false
false
zero
72,854,111
How do I implement an animation of a picture hiding on top?
<p><a href="https://i.stack.imgur.com/hS7zh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hS7zh.png" alt="enter image description here" /></a></p> <p>How to hide image on top using material animations? I can rotate image or change &quot;X&quot; &quot;Y&quot; but how can I do this task?</p>
How to hide image on top using material animations? I can rotate image or change &quot;X&quot; &quot;Y&quot; but how can I do this task?
android|image|android-animation
0
2022-07-04T08:55:45.050Z
2,022
7
8
0
26
1
136
59
3
0
false
false
false
false
false
false
zero
72,854,256
Fit 2 textViews in an adapter , java , android
<p>I am creating a note-taking app for myself, I created an adapter to show notes on the main screen with a title view and text view but the app crashes when I launch it here is RecyclerViewAdapter.java. I am using basic java, I don't have much experience so please try to explain simply so could I understand,</p> <pre>...
I am creating a note-taking app for myself, I created an adapter to show notes on the main screen with a title view and text view but the app crashes when I launch it here is RecyclerViewAdapter.java. I am using basic java, I don't have much experience so please try to explain simply so could I understand, [CODE] Here ...
java|android|android-studio|android-recyclerview|android-arrayadapter
0
2022-07-04T09:06:47.300Z
2,022
7
9
0
29
1
533
46
5
3
true
false
false
false
false
false
zero
72,854,294
JITR aws certification
<p>i want to create credential for JITR process and link that credentials to AWS account using AWS IOT sdk for my android application. In aws documentation it uses Openssl to create credentials. Any one please guild me how to create on android side?</p>
i want to create credential for JITR process and link that credentials to AWS account using AWS IOT sdk for my android application. In aws documentation it uses Openssl to create credentials. Any one please guild me how to create on android side?
android|certificate|aws-iot
0
2022-07-04T09:09:10.177Z
2,022
7
9
0
12
0
246
22
3
0
false
true
false
false
false
false
zero
72,854,355
select and unselect RecyclerView item without using checkbox or radio button or etc
<p>Select and Unselect items in recyclerview without using any checkbox or radio button or etc.</p> <ul> <li>I want to select 1st recyclerview item on longclick and then all the other item on single click in recyclerview list.</li> <li>Unselect item on single click as well on recyclerview list.</li> </ul> <p><em><stron...
Select and Unselect items in recyclerview without using any checkbox or radio button or etc. I want to select 1st recyclerview item on longclick and then all the other item on single click in recyclerview list. Unselect item on single click as well on recyclerview list. UPDATE() [CODE] After one long click i want to se...
android|android-recyclerview|android-adapter|recyclerlistview
0
2022-07-04T09:13:29.050Z
2,022
7
9
0
56
0
363
83
4
1
true
true
false
false
false
false
zero
72,854,498
FlatList onRefresh and onScroll conflicts
<p>I use pullup my FlatList to refresh the list item seems everything goes ok, but I already had an onScroll callback to watch scroll directions.</p> <p>when pullup the Flatlist from bottom to top to refresh (like refreshing the Twitter list), My callback of onScroll listen to the event and I don't want when pullup the...
I use pullup my FlatList to refresh the list item seems everything goes ok, but I already had an onScroll callback to watch scroll directions. when pullup the Flatlist from bottom to top to refresh (like refreshing the Twitter list), My callback of onScroll listen to the event and I don't want when pullup the FlatList ...
android|reactjs|react-native|flatlist
0
2022-07-04T09:26:19.577Z
2,022
7
9
0
17
0
464
41
4
0
false
true
false
false
false
false
zero
72,854,666
Turn off App-Info Battery Optimization from Kotlin
<p>I am running an app which needs to run a service in the background using IMU (accelerometer and gyroscope data) in the background, while the app is in background and the screen is off. After sometime, the IMU data stops as Android pushes the app into background. I need to disable this from inside Kotlin. As of now, ...
I am running an app which needs to run a service in the background using IMU (accelerometer and gyroscope data) in the background, while the app is in background and the screen is off. After sometime, the IMU data stops as Android pushes the app into background. I need to disable this from inside Kotlin. As of now, the...
android|kotlin|android-permissions|battery
0
2022-07-04T09:39:39.330Z
2,022
7
9
0
92
1
921
50
4
0
false
false
false
false
false
false
zero
72,854,780
Getting IndexOutOfBoundsException in ArrayList while using .add(index, element)
<p>I am using the <code>list.add(index, element)</code> function to insert elements into an ArrayList, where the index is not in order.</p> <p>For eg, first i call <code>list.add(5, element5)</code> and then <code>list.add(3, element3)</code></p> <p>I am getting the exception <code>java.lang.IndexOutOfBoundsException: ...
I am using the list.add(index, element) function to insert elements into an ArrayList, where the index is not in order. For eg, first i call list.add(5, element5) and then list.add(3, element3) I am getting the exception java.lang.IndexOutOfBoundsException: Invalid index 5, size is 0 exception. Please tell where I am d...
java|android|android-studio|arraylist
0
2022-07-04T09:48:22.650Z
2,022
7
9
0
54
5
354
79
4
0
false
false
false
false
false
false
zero
72,854,799
Android 7 getting ClassLoader referenced unknown path Issue with Paging3 library
<p>Recyclerview with Paging3 library is getting the below mentioned issue in Android 7 Device.</p> <p><strong>ClassLoader referenced unknown path: /data/app/com.example.paging3-2/lib/arm64</strong></p> <p><strong>Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable...
Recyclerview with Paging3 library is getting the below mentioned issue in Android 7 Device. ClassLoader referenced unknown path: /data/app/com.example.paging3-2/lib/arm64 Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(and...
android|android-7.0-nougat|android-paging-3
0
2022-07-04T09:49:19.633Z
2,022
7
9
0
21
0
550
80
3
1
true
true
false
false
false
false
zero
72,854,829
flutter NFC Management packagae
<p>hey i'm usungi the pacakage nfc_manager for flutter <a href="https://pub.dev/packages/nfc_manager" rel="nofollow noreferrer">https://pub.dev/packages/nfc_manager</a> . when i try to launch the app I receive the following error :</p> <pre><code>&gt; Could not resolve all files for configuration ':nfc_manager:classpa...
hey i'm usungi the pacakage nfc_manager for flutter https://pub.dev/packages/nfc_manager . when i try to launch the app I receive the following error : [CODE] If someone can help me ?
android|flutter
0
2022-07-04T09:52:40.263Z
2,022
7
9
0
27
0
183
31
2
1
true
true
false
false
false
false
zero
72,854,888
trying to make the selected square area transparent and the surrounding area dark
<p>I am trying to make the selected square area transparent and the surrounding area dark, is it possible to do this in Android Studio Like this in the picture</p> <p><a href="https://i.stack.imgur.com/9zVbk.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9zVbk.jpg" alt="enter image description here"...
I am trying to make the selected square area transparent and the surrounding area dark, is it possible to do this in Android Studio Like this in the picture
java|android
0
2022-07-04T09:57:24.093Z
2,022
7
9
0
16
0
156
81
2
0
false
true
false
false
false
false
zero
72,854,935
how to upload local file with progress bar in jetpack compose
<p>I want to upload a file from an application with a progress bar, but I don't know how to do it. I use coil but here it turns out to show progress with a percentage.</p> <pre><code>Image( painter = rememberImagePainter( data = getContentActivityResult.uri, build...
I want to upload a file from an application with a progress bar, but I don't know how to do it. I use coil but here it turns out to show progress with a percentage. [CODE]
android-jetpack-compose
1
2022-07-04T10:00:36.220Z
2,022
7
10
0
70
0
171
61
1
1
true
true
false
false
false
false
low
72,855,032
React Native Android Fonts don't work when specific font-family is not applied
<p>I have the following files added in the android/src/main/assets folder.</p> <pre><code>Poppins-Bold.ttf Poppins-Regular.ttf Poppins-Light.ttf Poppins-Medium.ttf Poppins-MediumItalic.ttf </code></pre> <p>When applying font-family as follows in my stylesheet</p> <pre><code>header: { fontFamily: 'Poppins', fontWeig...
I have the following files added in the android/src/main/assets folder. [CODE] When applying font-family as follows in my stylesheet [CODE] This works fine on iOS but the font-family is not applied on Android. After going through some answers provided, I figured out we could apply the following directly and it'll work ...
android|react-native|fonts|react-native-stylesheet
0
2022-07-04T10:07:38.067Z
2,022
7
10
0
128
1
607
78
4
3
true
false
false
false
false
false
zero
72,855,071
Upgrading to flutter 3.0
<p>I am severely getting error:</p> <pre><code>FAILURE: Build failed with an exception. </code></pre> <ul> <li><p>Where: Script '~\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1156</p> </li> <li><p>What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.</p> <p><code>'~/flutter\bin\flu...
I am severely getting error: [CODE] Where: Script '~\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1156 What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'. '~/flutter\bin\flutter.bat' finished with non-zero exit value 1 Currently I am using flutter 2.10.4. Waiting to upgrade with n...
flutter|android-studio|flutter-dependencies
0
2022-07-04T10:11:29.647Z
2,022
7
10
0
59
0
500
24
3
1
true
true
false
false
false
false
zero
72,855,186
Mediapipe Face Mesh Android Specified Images
<p>OS:Android 11 Programming language: Java Software: Android Studio</p> <p>In the Android face mesh solution using Android studio. It runs perfectly fine however, I would like to use a specific image when the button &quot;load picture&quot; is clicked without the user's interference. Either load up an image from the u...
OS:Android 11 Programming language: Java Software: Android Studio In the Android face mesh solution using Android studio. It runs perfectly fine however, I would like to use a specific image when the button &quot;load picture&quot; is clicked without the user's interference. Either load up an image from the user's gall...
java|android|android-studio|mediapipe
0
2022-07-04T10:19:20.693Z
2,022
7
10
0
115
0
868
44
4
0
false
true
false
false
false
false
zero
72,855,305
Color wheel vector xml drawable in Android studio
<p>I have a problem with color wheel i want something like this <a href="https://i.stack.imgur.com/xTFC3.jpg" rel="nofollow noreferrer">LINK to Image wanted </a> but only what i have is this <a href="https://i.stack.imgur.com/JQ30D.png" rel="nofollow noreferrer">LINK to Image current</a> and beetwen yellow and green yo...
I have a problem with color wheel i want something like this LINK to Image wanted but only what i have is this LINK to Image current and beetwen yellow and green you see break. Any idea to solve this ? Or other solution to do this ? code below : [CODE]
android|xml|android-studio|vector|drawable
0
2022-07-04T10:28:50.063Z
2,022
7
10
0
23
1
252
49
5
1
true
false
false
false
false
false
zero
72,855,372
Android RecyclerView: Get height after set data
<p>I have a RecyclerView with fixed height. I need to get exactly height after set data adapter.notifyDataSetChanged() and reset height of RecyclerView. How to implement that?</p> <p>Thanks in advance.</p>
I have a RecyclerView with fixed height. I need to get exactly height after set data adapter.notifyDataSetChanged() and reset height of RecyclerView. How to implement that? Thanks in advance.
android|android-recyclerview
0
2022-07-04T10:34:20.247Z
2,022
7
10
0
34
0
191
47
2
0
false
true
false
false
false
false
zero
72,855,472
Error with Kotlin 1.7.0 Serialization in Android project
<p>I've been using Kotlinx Serialization perfectly happily in my Android project.</p> <p>The main project <code>build.gradle</code> file has the following dependency:</p> <pre class="lang-groovy prettyprint-override"><code>dependencies { classpath &quot;org.jetbrains.kotlin:kotlin-serialization:${versions.project.kot...
I've been using Kotlinx Serialization perfectly happily in my Android project. The main project build.gradle file has the following dependency: [CODE] And in each of the modules using serialization I have: [CODE] This works fine for Kotlin 1.6.21 but as soon as I try to upgrade to 1.7.0 I get the following convoluted m...
android|kotlinx.serialization
0
2022-07-04T10:42:09.467Z
2,022
7
10
0
918
0
429
56
2
3
true
true
false
false
false
false
zero
72,855,525
Maintain drawing path on image with orientation changes in device android
<p>I have issue for maintaining drawing (lines with use of finger) on image while device orientation changes.</p> <p>This image shows the drawing on image with finger <a href="https://i.stack.imgur.com/kNwQu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kNwQu.png" alt="enter image description here"...
I have issue for maintaining drawing (lines with use of finger) on image while device orientation changes. This image shows the drawing on image with finger After change the orientation, the draw line misplaced. I have path object which have this drawing data. Please help me to resolve this. Thanks in advance.
android
0
2022-07-04T10:47:06.720Z
2,022
7
10
0
65
1
311
73
1
0
false
false
false
false
false
false
zero
72,855,651
How to create a TopAppBar in compose?
<p>I am currently trying to create a seperate composable for the TopAppBar. I am going for something like this: <a href="https://gyazo.com/029064b4fb4169c5171a85934fcdcc7a" rel="nofollow noreferrer">https://gyazo.com/029064b4fb4169c5171a85934fcdcc7a</a>. I want to be able to customize it seperat from the drawer. How ca...
I am currently trying to create a seperate composable for the TopAppBar. I am going for something like this: https://gyazo.com/029064b4fb4169c5171a85934fcdcc7a . I want to be able to customize it seperat from the drawer. How can I achieve this ? I tried to create a few following tutorials and re-search online but witho...
android-studio|kotlin|android-jetpack-compose|android-appbarlayout
0
2022-07-04T10:57:47.700Z
2,022
7
10
0
618
1
405
37
4
2
true
false
false
false
false
false
zero
72,855,658
How to wait result of suspend function?
<p>I need to add <code>freshCsrf</code> string to each request into form body. Uses <code>OkHttpClient</code> with <code>AuthInterceptor</code>. The problem is how to send request inside interceptor in order to get the <code>freshCsrf</code> string?</p> <p>In code below occurs error</p> <pre><code>Suspend function 'get...
I need to add freshCsrf string to each request into form body. Uses OkHttpClient with AuthInterceptor . The problem is how to send request inside interceptor in order to get the freshCsrf string? In code below occurs error [CODE] [CODE] I try to use coroutine, but also failed because can't wait result. One of example w...
android|kotlin|retrofit|kotlin-coroutines|okhttp
1
2022-07-04T10:58:21.020Z
2,022
7
10
0
521
3
871
39
5
5
true
false
false
false
false
false
low
72,855,664
AlertDialog In MVVM
<p>I am building an app in MVVM pattern and I am using 3 different styles of dialogs(some of them have 2 buttons,some of them 3). Since the AlertDialog refers to the view, I wrote the code in the fragment. I have 3 dialogs in the same fragment and its look kind of messy.</p> <p>My questions:</p> <ul> <li>Is this a good...
I am building an app in MVVM pattern and I am using 3 different styles of dialogs(some of them have 2 buttons,some of them 3). Since the AlertDialog refers to the view, I wrote the code in the fragment. I have 3 dialogs in the same fragment and its look kind of messy. My questions: Is this a good practice to use the di...
java|android|mvvm|android-alertdialog|android-mvvm
0
2022-07-04T10:59:30.023Z
2,022
7
10
0
38
1
706
19
5
1
true
false
false
false
false
false
zero
72,855,689
How to adjust toolbar color on BottomSheet expand slide
<p>I'm using bottom sheet on my screen. Also here i have appbar which is transparent. When i expand my bottom sheet it's expand to appbar height. But the problem is - my appbar still transparent. I want to animate of fading this color into black when bottom sheet expanding to fullscreen and make it transparent again wh...
I'm using bottom sheet on my screen. Also here i have appbar which is transparent. When i expand my bottom sheet it's expand to appbar height. But the problem is - my appbar still transparent. I want to animate of fading this color into black when bottom sheet expanding to fullscreen and make it transparent again when ...
android|kotlin
0
2022-07-04T11:01:38.603Z
2,022
7
11
0
43
0
812
55
2
2
true
true
false
false
false
false
zero
72,855,706
How to set margin in SnackBar
<p>I'm trying to add margins at bottom, left and right to my SnackBar but I'm not able to get it.</p> <p>That's what I tried:</p> <pre><code>var snackBar = Snackbar.make(binding.root,msg,Snackbar.LENGHT_LONG) var snackbarLayout = snackBar.view. as Snackbar.SnackbarLayout var layoutParams = snackbarLayout.layoutParams a...
I'm trying to add margins at bottom, left and right to my SnackBar but I'm not able to get it. That's what I tried: [CODE] I get an error in snackbarLayout.layoutParams and its this: SnackbarBaseLayout.setLayoutParams can only be called from within the same library group I don't know how to solve this error or if its t...
android|kotlin|android-snackbar
-2
2022-07-04T11:03:07.817Z
2,022
7
11
0
58
2
379
29
3
1
true
false
false
false
false
true
negative
72,855,748
Build fails in my location based android app
<p>When I am executing my project i am getting this err below</p> <p>Type of the parameter must be a class annotated with @Entity or a collection/array of it. kotlin.coroutines.Continuation&lt;? super kotlin.Unit&gt; continuation);</p> <p><strong>I have attached my code below for dao.java file</strong></p> <pre><code> ...
When I am executing my project i am getting this err below Type of the parameter must be a class annotated with @Entity or a collection/array of it. kotlin.coroutines.Continuation<? super kotlin.Unit> continuation); I have attached my code below for dao.java file [CODE]
android
0
2022-07-04T11:06:48.120Z
2,022
7
11
0
14
0
270
44
1
1
true
true
false
false
false
false
zero
72,855,852
The argument type 'String?' can't be assigned to the parameter type 'String'. getting this error when i am returning File object
<p>this is my function, and I am getting error when I return File object</p> <pre><code>static Future&lt;File&gt; pickFile() async { final result = await FilePicker.platform.pickFiles( type: FileType.custom, allowedExtensions: ['pdf'], ); if (result == null) { throw Exception('No files picked or file picker was c...
this is my function, and I am getting error when I return File object [CODE] }
android|flutter
-1
2022-07-04T11:15:38.033Z
2,022
7
11
0
40
1
78
128
2
1
true
false
false
false
false
true
negative
72,855,891
Save bitmap to file without compression?
<p>I have a program that scans text in a bunch of images (each one has a resolution of 4000x6000), it starts by loading these images from their files, it then creates a new Bitmap with the highlighted text. I want the fastest way to store the highlighted Bitmap to a file (I don't really care about compression if it's g...
I have a program that scans text in a bunch of images (each one has a resolution of 4000x6000), it starts by loading these images from their files, it then creates a new Bitmap with the highlighted text. I want the fastest way to store the highlighted Bitmap to a file (I don't really care about compression if it's goin...
java|android|bitmap
0
2022-07-04T11:21:09.003Z
2,022
7
11
0
45
0
343
40
3
0
false
true
false
false
false
false
zero
72,856,033
ı using flutter in android studio. I have a some project. but have a some files. ı can't see
<p>I just installed android studio on my computer. I'm watching sample videos, but not all files are visible to me. how can i see some flutter files. Example pubspec.yaml, lib file etc. Can you solve this problem?</p>
I just installed android studio on my computer. I'm watching sample videos, but not all files are visible to me. how can i see some flutter files. Example pubspec.yaml, lib file etc. Can you solve this problem?
flutter|android-studio|dart|android-layout|installation
-1
2022-07-04T11:32:43.020Z
2,022
7
11
0
28
1
210
92
5
0
false
false
false
false
false
true
negative
72,856,057
Linear layout split half to screen
<p>I am using the adapter to show data to the screen and I am using a grid layout.</p> <blockquote> <p>The single grid consists of a linear layout with two text views one to show the heading and one to show the body. How can I split that to use half-width of the screen and wrap the content to height. So can both can us...
I am using the adapter to show data to the screen and I am using a grid layout. The single grid consists of a linear layout with two text views one to show the heading and one to show the body. How can I split that to use half-width of the screen and wrap the content to height. So can both can use equal screen. Actuall...
android|user-interface|layout
0
2022-07-04T11:34:10.610Z
2,022
7
11
0
47
2
519
34
3
1
true
false
false
false
false
false
zero
72,856,087
Weird text scaling issues in webview
<p>I have a problem in my game project. The game is based on a webview used to load an <a href="http://rodoapps.ihostfull.com/gametest/" rel="nofollow noreferrer">url</a> where the game is present, but it seems to have text scaling issues if you change the font size in settings, <a href="https://i.stack.imgur.com/B2xcQ...
I have a problem in my game project. The game is based on a webview used to load an url where the game is present, but it seems to have text scaling issues if you change the font size in settings, as shown here . I can't determine where the problem is coming from, but it gets really annoying, especially if even bigger ...
android|android-studio|android-webview
1
2022-07-04T11:37:31.843Z
2,022
7
11
0
37
1
443
36
3
2
true
false
false
false
false
false
low
72,856,162
Why android bound service is not started after crash?
<p>I had a crash problem at the start of the service. The problem is fixed, but I started to wonder why the system doesn't keep trying to pick up such a <strong>bound service</strong> if it has defined:</p> <pre><code>class TestService : Service() { ... override fun onStartCommand( intent: Intent?, ...
I had a crash problem at the start of the service. The problem is fixed, but I started to wonder why the system doesn't keep trying to pick up such a bound service if it has defined: [CODE] Service is defined in AndoridManifest.xml: [CODE] My analysis shows that the system tries to raise such a service twice and that's...
android
0
2022-07-04T11:44:04.790Z
2,022
7
11
0
40
1
579
53
1
2
true
false
false
false
false
false
zero
72,856,181
Flutter) I want to know how to draw on the same position of devices of different sizes
<p>I'm making an app that can open a PDF file and take notes on it like the image below. The app allows users to share drawing data in real time through Firebase.</p> <p><a href="https://i.stack.imgur.com/vpuss.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vpuss.png" alt="enter image description he...
I'm making an app that can open a PDF file and take notes on it like the image below. The app allows users to share drawing data in real time through Firebase. However, if the size of the device is different like the two images below, the offset is different accordingly, so when I drawing, it seems that it was drawn in...
android|ios|flutter|canvas
0
2022-07-04T11:45:42.550Z
2,022
7
11
0
31
0
643
86
4
1
true
true
false
false
false
false
zero
72,856,190
When we run android app on mobile does it get stored in mobile memory?
<p>I am new to android and recently developed a basic app that opens pdf on button click. After success on emulator, I went on to test it on my android phone(usb debugging) It created an icon and is working ok.</p> <p>I did not create an apk just run the app on mobile. Now my question is where exactly the app gets stor...
I am new to android and recently developed a basic app that opens pdf on button click. After success on emulator, I went on to test it on my android phone(usb debugging) It created an icon and is working ok. I did not create an apk just run the app on mobile. Now my question is where exactly the app gets stored. Since ...
android|android-studio
0
2022-07-04T11:46:30.603Z
2,022
7
11
0
19
0
495
70
2
0
false
true
false
false
false
false
zero
72,856,195
How to apply custom drawable on Compose - BottomNavigation?
<p><strong>@AndroidCompose</strong> Thanks for paying attention on my question. I need to implement Bottom navigation in Android Compose and need to apply a custom drawable(Vector,9patch,PNG etc) background to that navigation bar.</p> <p><strong>So what does that mean....?</strong></p> <p>I need to change the Bottom na...
@AndroidCompose Thanks for paying attention on my question. I need to implement Bottom navigation in Android Compose and need to apply a custom drawable(Vector,9patch,PNG etc) background to that navigation bar. So what does that mean....? I need to change the Bottom navigation item rectangle container background to som...
android|kotlin|android-jetpack-compose|android-bottomnavigationview
0
2022-07-04T11:46:47.103Z
2,022
7
11
0
86
1
651
59
4
2
true
false
false
false
false
false
zero
72,856,284
intro screen still shows after first time app run
<p>When I launch my app for the first time the splash screen opens then the intro screen opens and when I press done the main activity opens but when I exit the app and reopen it the intro screen still shows up I've been searching for a solution for ages and I'm a newbie can you please help me.</p> <p><strong>Splash Sc...
When I launch my app for the first time the splash screen opens then the intro screen opens and when I press done the main activity opens but when I exit the app and reopen it the intro screen still shows up I've been searching for a solution for ages and I'm a newbie can you please help me. Splash Screen.java [CODE] I...
java|android|android-studio
0
2022-07-04T11:53:57.400Z
2,022
7
11
0
45
1
395
49
3
4
true
false
false
false
false
false
zero
72,856,300
Android app switches to previous screen while running at the background for a time period
<p>I am developing an android app, which in the main screen shows a map View and has two buttons, one for switching to the Sensors Screen( which displays various data and graphs from the mobile sensor) and one one for the map utility.</p> <p>While running the app in the background in the sensor data screen (the app sto...
I am developing an android app, which in the main screen shows a map View and has two buttons, one for switching to the Sensors Screen( which displays various data and graphs from the mobile sensor) and one one for the map utility. While running the app in the background in the sensor data screen (the app stores the se...
android|background|sensors
0
2022-07-04T11:55:17.643Z
2,022
7
11
0
17
1
522
89
3
0
false
false
false
false
false
false
zero
72,856,328
Could not parse the Android Application Module's Gradle config ,While connecting to Firebase
<p>I am getting this error ,While connecting the app to firebase from the firebase assistant in Android Studio. Error message -<em><strong>Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync.</strong></em> I tried every posted Solution from Stack overflow and had wa...
I am getting this error ,While connecting the app to firebase from the firebase assistant in Android Studio. Error message - Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync. I tried every posted Solution from Stack overflow and had watched many you tube videos ,...
firebase|android-studio|build.gradle|firebase-assistant|gradle-cache
1
2022-07-04T11:57:47.090Z
2,022
7
11
0
114
2
493
92
5
2
true
false
false
false
false
false
low
72,856,338
What is problem with this Flutter Overlay
<p>There are other ways of handling this overlay, but AFAIK this should work, and it does sometimes, but not always on Android. On Windows it appeared to work perfectly. I have the latest Flutter (3.0.3) and the latest Dart (2.17.5) and Flutter doctor shows no problems. I have tested this on 2 physical devices (Android...
There are other ways of handling this overlay, but AFAIK this should work, and it does sometimes, but not always on Android. On Windows it appeared to work perfectly. I have the latest Flutter (3.0.3) and the latest Dart (2.17.5) and Flutter doctor shows no problems. I have tested this on 2 physical devices (Android 6....
android|flutter|overlay
0
2022-07-04T11:58:25.840Z
2,022
7
11
0
145
1
919
41
3
1
true
false
false
false
false
false
zero
72,856,341
How to share YouTube url to my Python kivy app?
<p>I am building an <code>Android</code> App using <code>Python</code> and <code>kivy</code> (<code>kivymd</code>), and I want to let the user share a <code>YouTube</code> link directly from YouTube to my app. So when i click share on YouTube my app appears there, with all the other apps like this: <a href="https://i.s...
I am building an Android App using Python and kivy ( kivymd ), and I want to let the user share a YouTube link directly from YouTube to my app. So when i click share on YouTube my app appears there, with all the other apps like this: And when the user clicks it, it directs them to the app where the program saves the ur...
python|android|kivy|kivymd|pyjnius
0
2022-07-04T11:58:32.620Z
2,022
7
11
0
76
1
550
47
5
1
true
false
false
false
false
false
zero
72,856,423
How to update progressbar periodically in the background while switching between activities in Android Studio
<p>I have an Android application with 2 pages, which periodically switches every 10 secs. One of the page has a progressbar which needs to update every 2 secs. I am able to get till this part working. The issue I'm having is, the progressbar is resetting to 0% after every switch. How can I be able to update the progre...
I have an Android application with 2 pages, which periodically switches every 10 secs. One of the page has a progressbar which needs to update every 2 secs. I am able to get till this part working. The issue I'm having is, the progressbar is resetting to 0% after every switch. How can I be able to update the progressba...
java|android-studio
0
2022-07-04T12:03:30.060Z
2,022
7
12
0
26
1
480
109
2
3
true
false
false
false
false
false
zero
72,856,432
How to save log file to external storage in android
<p>I want to save some logs generated automatically to external storage in Android using java as a txt file, I created menu item like a button, <a href="https://i.stack.imgur.com/JMWXK.png" rel="nofollow noreferrer">The image used for external button</a></p> <p>This is the xml code used</p> <pre><code>&lt;?xml version=...
I want to save some logs generated automatically to external storage in Android using java as a txt file, I created menu item like a button, The image used for external button This is the xml code used [CODE] [CODE] [CODE]
java|android
0
2022-07-04T12:04:22.263Z
2,022
7
12
0
37
0
222
51
2
3
true
true
false
false
false
false
zero
72,856,472
How to show dynamic items in one row of RecyclerView? When the row clicked shows all items again
<p>I know how to add items to RecyclerView and show them, but let's say I add some dynamic items to the RecyclerView like this image</p> <p><a href="https://i.stack.imgur.com/PyQOY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PyQOY.png" alt="enter image description here" /></a></p> <p>Here After c...
I know how to add items to RecyclerView and show them, but let's say I add some dynamic items to the RecyclerView like this image Here After click save button, it creates three rows in the RecyclerView like below image, which I don't want it creates three rows. Instead I want to create one row, and when I clicked in th...
java|android
0
2022-07-04T12:06:35.697Z
2,022
7
12
0
52
0
417
96
2
2
true
true
false
false
false
false
zero
72,856,499
Matched object type miss when expression case. Kotlin
<p>It just blew my mind. So maybe someone was faced with such a problem. I try to use a new approach for Retrofit with statements. The problem is that even with a matched instance of the result else block applies. How can it be?</p> <pre><code>override fun invoke(result: GraphCallResult&lt;QueryRoot&gt;) { when...
It just blew my mind. So maybe someone was faced with such a problem. I try to use a new approach for Retrofit with statements. The problem is that even with a matched instance of the result else block applies. How can it be? [CODE] And here is a screenshot from debugging process. Here is a GraphCallResult implementati...
android|kotlin|retrofit2|instanceof
0
2022-07-04T12:08:24.210Z
2,022
7
12
0
26
0
361
53
4
2
true
true
false
false
false
false
zero
72,856,580
How to know if notification is important?
<p>I've created a <strong>NotificationListenerService</strong> which are receiving a <em><strong>StatusBarNotification</strong></em> object and a <em><strong>RankingMap</strong></em> object if the phone receives a notification. I'm now trying to figure out if the notification was some kind of alarm or a phone call, or ...
I've created a NotificationListenerService which are receiving a StatusBarNotification object and a RankingMap object if the phone receives a notification. I'm now trying to figure out if the notification was some kind of alarm or a phone call, or anything similar that is expected to pop up on the screen over the app, ...
android|notifications|sms|phone-call|notification-listener
0
2022-07-04T12:14:43.897Z
2,022
7
12
0
28
0
674
41
5
0
false
true
false
false
false
false
zero
72,856,735
UninitializedPropertyAccessException in Android Studio with viewModel
<p>I'm New to Kotlin and Android Studio and trying to implement Room database with ViewModel now, but I face the problem <em>&quot;kotlin.UninitializedPropertyAccessException: lateinit property habitViewModel has not been initialized&quot;</em></p> <p>I think that this is due to the early initialization of View Model, ...
I'm New to Kotlin and Android Studio and trying to implement Room database with ViewModel now, but I face the problem &quot;kotlin.UninitializedPropertyAccessException: lateinit property habitViewModel has not been initialized&quot; I think that this is due to the early initialization of View Model, but I can't find th...
android|android-studio|kotlin|android-room|viewmodel
0
2022-07-04T12:25:22.840Z
2,022
7
12
0
50
1
491
69
5
3
true
false
false
false
false
false
zero
72,856,921
How to turn on Activity Metrics?
<p>I am struggeling activating the Einstein Activity Metrics as described in the Salesforce docs: <a href="https://help.salesforce.com/s/articleView?id=sf.aac_activity_metrics_enable.htm&amp;type=5" rel="nofollow noreferrer">https://help.salesforce.com/s/articleView?id=sf.aac_activity_metrics_enable.htm&amp;type=5</a><...
I am struggeling activating the Einstein Activity Metrics as described in the Salesforce docs: https://help.salesforce.com/s/articleView?id=sf.aac_activity_metrics_enable.htm&type=5 I activated &quot;Einstein Activity Capture&quot; and I have access to the &quot;Activities Dashboard&quot;. In &quot;Einstein Activity Ca...
android-activity|salesforce|metrics
0
2022-07-04T12:39:06.607Z
2,022
7
12
0
34
0
905
32
3
0
false
true
false
false
false
false
zero
72,857,025
How to create a config plugin to add custom one signal notifications sounds to react native
<p>One signal doesn't have a way to put custom notification sounds inside the react-native app. I was wondering if it is possible to create a config plugin that allows me to set up the audio files inside the android and ios build projects, like a pre-build command.</p> <p>Would anyone know how to do it, or even if it i...
One signal doesn't have a way to put custom notification sounds inside the react-native app. I was wondering if it is possible to create a config plugin that allows me to set up the audio files inside the android and ios build projects, like a pre-build command. Would anyone know how to do it, or even if it is possible...
javascript|android|ios|react-native
0
2022-07-04T12:46:41.980Z
2,022
7
12
0
12
0
321
91
4
0
false
true
false
false
false
false
zero
72,857,211
How to open the keyboard programatically when using showSoftInputOnFocus=false on text input in react native (android)
<p>In an <strong>Android</strong> react-native application, I want when I focus a text input to not open the keyboard automatically (Later, I will open it using it's ref)</p> <p>I have found that <code>showSoftInputOnFocus={false}</code> will not open the keyboard when focusing, but afterward, I am not able to open it ...
In an Android react-native application, I want when I focus a text input to not open the keyboard automatically (Later, I will open it using it's ref) I have found that showSoftInputOnFocus={false} will not open the keyboard when focusing, but afterward, I am not able to open it programmatically using ref.current.focus...
javascript|android|react-native
0
2022-07-04T13:01:56.207Z
2,022
7
13
0
37
0
406
118
3
0
false
true
false
false
false
false
zero
72,857,320
Wait for insert function to complete (Coroutine)
<p>I have the following function in my ViewModel:</p> <pre><code>fun insertMovie(movie: Movie): Long { var movieId = 0L viewModelScope.launch { movieId = repository.insertMovie(movie) Log.i(LOG_TAG, &quot;add movie with id $movieId within launch&quot;) } Log.i(LOG_TAG, &quot;add movieId ...
I have the following function in my ViewModel: [CODE] Then the following in the Dao: [CODE] In my activity I am doing the following: [CODE] The movieId is always 0. Above I have two logs, the one within the launch{} shows the right id, but the other shows 0. I don't know how to force the code in my activity to wait unt...
android|kotlin-coroutines|dao
0
2022-07-04T13:10:46.927Z
2,022
7
13
0
57
1
344
48
3
3
true
false
false
false
false
false
zero
72,857,327
Flutter obscure text moving when i type
<p>I have strange error. When i use <code>obscureText:true</code> and when i type uppercase or number its moving slightly top strangely. Like :</p> <p>Normal :</p> <p><a href="https://i.stack.imgur.com/dDyQ6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dDyQ6.png" alt="enter image description here"...
I have strange error. When i use obscureText:true and when i type uppercase or number its moving slightly top strangely. Like : Normal : When i write uppercase or number : Why is it happening ? How can i solve it ? Thanks for responses :)
android|ios|flutter|dart
0
2022-07-04T13:11:27.017Z
2,022
7
13
0
20
0
238
39
4
0
false
true
false
false
false
false
zero
72,857,410
setting up flutter with android studio git and flutter error
<p><strong>unable to use flutter &amp; showing errors for git also</strong></p> <p><strong>D:\flutter\bin\flutter.bat doctor --verbose Error: Unable to find git in your PATH.</strong></p> <p><strong>Process finished with exit code 1'where' is not recognized as an internal or external command, operable program or batch ...
unable to use flutter & showing errors for git also D:\flutter\bin\flutter.bat doctor --verbose Error: Unable to find git in your PATH. Process finished with exit code 1'where' is not recognized as an internal or external command, operable program or batch file. I've already installed git, flutter and dart, Even added ...
git|flutter|android-studio|path|environment-variables
-1
2022-07-04T13:18:18.767Z
2,022
7
13
0
37
1
591
60
5
0
false
false
false
false
false
true
negative
72,857,463
Can't login to the google play games when using .RequestIdToken() with PlayGamesClientConfiguration (Unity C#)
<blockquote> <p>Plugin v10.14 Unity 2021.3.4f</p> </blockquote> <p>Authentication fails when i add .RequestIdToken to the PlayGamesClientConfiguration. Logs return an error &quot;authentication failed - developer error&quot;. Here is the code i use to authenticate:</p> <pre><code>var config = new PlayGamesClientConfigu...
Plugin v10.14 Unity 2021.3.4f Authentication fails when i add .RequestIdToken to the PlayGamesClientConfiguration. Logs return an error &quot;authentication failed - developer error&quot;. Here is the code i use to authenticate: [CODE]
c#|android|unity3d|google-play|google-play-games
0
2022-07-04T13:22:14.783Z
2,022
7
13
0
41
0
235
110
5
1
true
true
false
false
false
false
zero
72,857,531
'com.android.application', version: '7.1.3', apply: false was not found in any of the following sources:
<p>I'm new to Android studio. The first time I created a new project the IDE started downloading gradle, and afterwards it started to download com.android.application . this part took a lot of time but after some minutes I got this error :</p> <pre><code>Plugin [id: 'com.android.application', version: '7.1.3', apply: f...
I'm new to Android studio. The first time I created a new project the IDE started downloading gradle, and afterwards it started to download com.android.application . this part took a lot of time but after some minutes I got this error : [CODE] My Android studio version is bumblebee 2021.1.1 patch 3. And I have tried th...
java|android|android-studio|gradle|android-gradle-plugin
0
2022-07-04T13:28:11.963Z
2,022
7
13
0
179
1
726
104
5
1
true
false
false
false
false
false
zero
72,857,545
How can I decrease the capacitive screen threshold of my device over Android system?
<p>I'm curious about what happens after I trigger a click/touch or other events on my screen, how will the signal be delivered to Android system, and how can the system know how to deal with the event and what to react?</p> <p>Can I decrease the capacitive screen threshold of my device to make it more sensitive, or in ...
I'm curious about what happens after I trigger a click/touch or other events on my screen, how will the signal be delivered to Android system, and how can the system know how to deal with the event and what to react? Can I decrease the capacitive screen threshold of my device to make it more sensitive, or in other word...
android|screen|capacitor
0
2022-07-04T13:29:00.310Z
2,022
7
13
0
28
0
525
84
3
0
false
true
false
false
false
false
zero
72,857,844
Android studio Emulator: Pixel 4 API 31 - Another emulator instance is running. Please close it. When No emulator running
<p>I'm just trying to setup Android studio and my emulator. However I can only ever run it once on pc start up after that if I shut down the emulator and try and launch it again I will get and error and the logs are saying there is another emulator running.</p> <pre><code>2022-07-04 14:18:50,723 [ 22398] WARN - ...
I'm just trying to setup Android studio and my emulator. However I can only ever run it once on pc start up after that if I shut down the emulator and try and launch it again I will get and error and the logs are saying there is another emulator running. [CODE] However there are no lock files in the area it directs me ...
android-studio|android-emulator|qemu
0
2022-07-04T13:51:40.603Z
2,022
7
13
0
258
0
1,141
121
3
1
true
true
false
false
false
false
zero
72,857,857
Existing react-native project doesn't contain "android" folder, what to do?
<p>My company gave me the source code for their mobile app written in react-native. It can be clearly seen that it was created using react-native cli. The &quot;ios&quot; folder exists there, but &quot;android&quot; folder is not included. I think previous developers deleted it at some point. I cannot run it on ios sim...
My company gave me the source code for their mobile app written in react-native. It can be clearly seen that it was created using react-native cli. The &quot;ios&quot; folder exists there, but &quot;android&quot; folder is not included. I think previous developers deleted it at some point. I cannot run it on ios simula...
android|reactjs|react-native
0
2022-07-04T13:52:31.977Z
2,022
7
13
0
69
2
412
75
3
0
false
false
false
false
false
false
zero
72,857,858
Checkout.preload() crashing while integrating Razorypay in Andorid
<p>I am integrating Razorpay payment gateway in my app. When I do Checkout.preload(cotnext) ths app crashes. Following is the logcat of the app. It has to do something with the WebView.</p> <p>Process: com.mp.co, PID: 27619 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mp.co/com.mp.co.matrimony...
I am integrating Razorpay payment gateway in my app. When I do Checkout.preload(cotnext) ths app crashes. Following is the logcat of the app. It has to do something with the WebView. Process: com.mp.co, PID: 27619 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mp.co/com.mp.co.matrimony.razorpay....
android|android-webview|razorpay
0
2022-07-04T13:52:34.160Z
2,022
7
13
0
52
0
5,161
66
3
0
false
true
false
false
false
false
zero
72,857,933
Android - Add Margin / Padding in Menu Item
<p>I have a Menu and it has an item in my res/menu/<code>delete_menu.xml</code>:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;menu xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;&gt; &lt;item ...
I have a Menu and it has an item in my res/menu/ delete_menu.xml : [CODE] and the preview looks like this: As you can see, it is aligned to right. I just want to add marginRight in order to shift it 24dp left I tried to create a new drawable includes inset as I see on https://stackoverflow.com/a/46004715/11372697 so I ...
android|xml|android-layout
0
2022-07-04T13:57:34.383Z
2,022
7
13
0
46
0
640
43
3
3
true
true
false
false
false
false
zero
72,857,965
Flutter failed to install the following sdk components
<p>I was getting error like this when I was trying to do <code>flutter run</code> in project that was just created using <code>flutter create &lt;project-name&gt;</code>:</p> <pre><code>FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:compileDebugJavaWithJa...
I was getting error like this when I was trying to do flutter run in project that was just created using flutter create <project-name> : [CODE] I've fixed it by changing compileSdkVersion flutter.complieSdkVersion to compileSdkVersion 33 . But now I am getting an error when trying to do flutter run with shared preferen...
android|flutter|mobile|sdk
0
2022-07-04T13:59:31.617Z
2,022
7
13
0
145
1
637
54
4
2
true
false
false
false
false
false
zero
72,857,968
Authorization Error 403: access denied in Android Management API w/o using Google Cloud Project Account Credentials
<p>When I'm using the Google Cloud Project Account Credentials to Login then everything like (create new enterprise, apply policies, see enrolled devices...). I can easily achieved but when trying to login with an Enterprise created with the Google_Cloud_Project_Account thru those enterprise, I'm unable perform any abo...
When I'm using the Google Cloud Project Account Credentials to Login then everything like (create new enterprise, apply policies, see enrolled devices...). I can easily achieved but when trying to login with an Enterprise created with the Google_Cloud_Project_Account thru those enterprise, I'm unable perform any above ...
oauth-2.0|asp.net-core-3.1|android-management-api
0
2022-07-04T13:59:36.170Z
2,022
7
13
0
108
1
1,249
115
3
3
true
false
false
false
false
false
zero
72,858,001
Jetpack Compose set image height before loading remote image
<p>I have a list of dynamically sized images. I already know the size of the images in pixels. I would like to place a placeholder of the same remote image dimension before the image is loaded just so that while scrolling in the LazyColumn the list doesn't jump up and down</p> <p>Given the following code, which uses Co...
I have a list of dynamically sized images. I already know the size of the images in pixels. I would like to place a placeholder of the same remote image dimension before the image is loaded just so that while scrolling in the LazyColumn the list doesn't jump up and down Given the following code, which uses Coil: [CODE]...
android|kotlin|android-jetpack-compose
0
2022-07-04T14:03:26.030Z
2,022
7
14
0
219
0
562
60
3
1
true
true
false
false
false
false
zero
72,858,195
no sighnature of method build
<p>I am facing a problem and I hope someone can help me, I downloaded this source code on Android Studio, and I encountered this error, and I did not find the solution, please help me</p> <p>No signature of method: build_973stc1n6iz1xh2ijk9mi98ob.android() is applicable for argument types</p>
I am facing a problem and I hope someone can help me, I downloaded this source code on Android Studio, and I encountered this error, and I did not find the solution, please help me No signature of method: build_973stc1n6iz1xh2ijk9mi98ob.android() is applicable for argument types
android|android-studio|build|android-gradle-plugin
0
2022-07-04T14:19:11.803Z
2,022
7
14
0
11
0
279
29
4
0
false
true
false
false
false
false
zero
72,858,260
by activityViewModels {} returning null after updating "androidx.fragment:fragment-testing" version
<p>I used to mock <code>viewmodelFactory.create()</code> like below and it was working fine.</p> <pre><code>class ViewModelProviderFactory @Inject constructor( private val creators: Map&lt;Class&lt;out ViewModel&gt;, @JvmSuppressWildcards Provider&lt;ViewModel&gt;&gt;) : ViewModelProvider.Factory { @Suppress(&quot;UNC...
I used to mock viewmodelFactory.create() like below and it was working fine. [CODE] In fragment I am passing viewModelFactory in constructer and create viewModel object like below: [CODE] Mocking this behaviour using below code : [CODE] This code was working fine when when I was using 1.4.1 version of fragment testing ...
android|android-fragments|mockito|fragment|viewmodel
0
2022-07-04T14:25:11.617Z
2,022
7
14
0
61
0
428
99
5
4
true
true
false
false
false
false
zero
72,858,269
After decompile the apk BuildConfig.java file values are accessible
<p>I have created .env file in react native and from native side i'm able access the BuildConfig.KEY_NAME in MainApplication.java file But security team hS decompiled the app/APK using MobSF and can able to access the all keys from the BuildConfig.Java source file. How do we hide the values in BuildConfig file and how ...
I have created .env file in react native and from native side i'm able access the BuildConfig.KEY_NAME in MainApplication.java file But security team hS decompiled the app/APK using MobSF and can able to access the all keys from the BuildConfig.Java source file. How do we hide the values in BuildConfig file and how can...
java|android|react-native|buildconfig|react-native-config
0
2022-07-04T14:25:34.083Z
2,022
7
14
0
57
0
597
67
5
1
true
true
false
false
false
false
zero
72,858,285
When running the android command "./gradlew assembleStaging" the apk is being generated with the environment variable ".env" instead of ".env.staging"
<p>When running the android command <code>./gradlew assembleStaging</code> the apk is being generated with the environment variable <code>.env</code> instead of <code>.env.staging</code>. I'm using react-native-config, and when I run the command <code>react-native run-android --variant=stagingdebug</code> it reads the ...
When running the android command ./gradlew assembleStaging the apk is being generated with the environment variable .env instead of .env.staging . I'm using react-native-config, and when I run the command react-native run-android --variant=stagingdebug it reads the file .env.staging correctly. How to generate the relea...
android|react-native|environment-variables|apk|react-native-config
0
2022-07-04T14:26:11.840Z
2,022
7
14
0
37
0
483
150
5
4
true
true
false
false
false
false
zero
72,858,294
World Locking Tools + Azure Spatial Anchors sample running on Android - issue with changing position of SpacePins
<p>I'm currently having issues trying to run the &quot;PinTestSofa&quot; scene (unity) on Android.<br /> This one: <a href="https://docs.microsoft.com/en-us/mixed-reality/world-locking-tools/documentation/howtos/samples/wlt_asa_sample" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/mixed-reality/world-locki...
I'm currently having issues trying to run the &quot;PinTestSofa&quot; scene (unity) on Android. This one: https://docs.microsoft.com/en-us/mixed-reality/world-locking-tools/documentation/howtos/samples/wlt_asa_sample I followed all the recommended steps concerning gradle and enabling wi-fi, but I still can't move a pin...
c#|android-augmented-reality|azure-spatial-anchors
0
2022-07-04T14:27:10.743Z
2,022
7
14
0
82
1
730
113
3
0
false
false
false
false
false
false
zero
72,858,316
Problem migrating to Jetpack Compose. Trying to run the app from within Android Studio generates a wierd error
<p>I've an application that uses Fragmnent Views with XML resources and I want to migrate it to Compose. Being the app quite big, I decided to temporarily have a mixed environment with Compose working together with the old XML resources, so I created a new Compose fragment and I succeeded to add the standard navigation...
I've an application that uses Fragmnent Views with XML resources and I want to migrate it to Compose. Being the app quite big, I decided to temporarily have a mixed environment with Compose working together with the old XML resources, so I created a new Compose fragment and I succeeded to add the standard navigation ac...
android|android-studio|android-jetpack-compose
0
2022-07-04T14:28:52.693Z
2,022
7
14
0
82
1
568
110
3
0
false
false
false
false
false
false
zero
72,858,342
InAppPurchase.instance.isAvailable() returning false
<p>When using <a href="https://pub.dev/packages/in_app_purchase" rel="nofollow noreferrer">in_app_purchase</a>, the following code always returns false for <code>isAvailable</code>:</p> <pre><code>final isAvailable = await InAppPurchase.instance.isAvailable(); </code></pre> <p>This is called in a <code>GestureDectector...
When using in_app_purchase , the following code always returns false for isAvailable : [CODE] This is called in a GestureDectector onTap callback. I am trying to connect to the Play store. The code is running on the Android Emulator. I am using in_app_purchase version 3.0.6. I don't have billing client implementation i...
android|flutter|google-play|in-app-purchase
0
2022-07-04T14:30:11.477Z
2,022
7
14
0
89
0
465
52
4
1
true
true
false
false
false
false
zero
72,858,351
Adroid Studio: what is the difference in tools:replace and tools:ignore mean in the AndroidManifest
<p>I&quot;ve just fixed a bug as &quot;Manifest Merger Failed&quot; with the help of this forum. The solution was to change tools:replace into tools:ingore under the &lt;application in the AndroidManfifest.xlm. I am happy that it solved my problem but I want to learn what is the idea behind it, I've just started coding...
I&quot;ve just fixed a bug as &quot;Manifest Merger Failed&quot; with the help of this forum. The solution was to change tools:replace into tools:ingore under the <application in the AndroidManfifest.xlm. I am happy that it solved my problem but I want to learn what is the idea behind it, I've just started coding.
java|android|replace
1
2022-07-04T14:30:41.713Z
2,022
7
14
0
24
2
315
99
3
0
false
false
false
false
false
false
low
72,858,405
Execute binary file on android API 31 and 32
<p>I have executable files made through the tool-chain via the rust platform. which is right now arm arch supported.</p> <p>now my code snipers as per below</p> <pre><code> try { File binFilePath1 = new File(getFilesDir() + Util.BinPath); ProcessBuilder processBuilder = new ProcessBuilder(); pr...
I have executable files made through the tool-chain via the rust platform. which is right now arm arch supported. now my code snipers as per below [CODE] so basically my command is ./plugintest -c in.conf -lp /data/data/ . *.*****/files/bin/lib -o results.txt It smoothly works on android API 24,25 But when I try to loa...
java|android|processbuilder
2
2022-07-04T14:35:33.003Z
2,022
7
14
0
83
0
619
44
3
1
true
true
false
false
false
false
low
72,858,436
React native android emulator Task :app:packageDebug FAILED error
<p>I got this error while react-native run-android. I tried ./gradlew clean ./gradlew -stop and wipe data, remove build folder, .gradle folder etc... But can't solve the problem. Here is the error code I got. Does anyone has an idea to solve that problem?</p> <pre><code>$ react-native run-android warn Package @svgr/web...
I got this error while react-native run-android. I tried ./gradlew clean ./gradlew -stop and wipe data, remove build folder, .gradle folder etc... But can't solve the problem. Here is the error code I got. Does anyone has an idea to solve that problem? [CODE]
react-native|android-studio|kotlin|gradle
0
2022-07-04T14:38:12.033Z
2,022
7
14
0
56
0
259
65
4
1
true
true
false
false
false
false
zero
72,858,509
lateinit property mClickListener has not been initialized Adapter kotlin
<p>i make adaper onclick listener but somehow theres error message lateinit property mClickListener has not been initialized Adapter kotlin</p> <p>variable on click</p> <pre><code>lateinit var mClickListener: ItemClickListener </code></pre> <p>base view holder</p> <pre><code>inner class AdapterListProjectVH2(itemView:...
i make adaper onclick listener but somehow theres error message lateinit property mClickListener has not been initialized Adapter kotlin variable on click [CODE] base view holder [CODE] overide click function [CODE] Activity call onclick listerner [CODE]
android|kotlin|lateinit
0
2022-07-04T14:43:24.440Z
2,022
7
14
0
115
2
254
72
3
4
true
false
false
false
false
false
zero
72,858,510
kotlin.reflect.jvm.internal.KotlinReflectionInternalError when minifyEnabled
<p>I get a problem. when my app minifyenabled is true , it crashed ! and the error is following:</p> <pre><code>kotlin.reflect.jvm.internal.KotlinReflectionInternalError: This callable does not support a default call: public constructor LoginResultBean </code></pre> <p>I think there must be some relationships with mosh...
I get a problem. when my app minifyenabled is true , it crashed ! and the error is following: [CODE] I think there must be some relationships with moshi and R8. I need help...
kotlin|proguard|moshi|android-r8
0
2022-07-04T14:43:25.013Z
2,022
7
14
0
35
1
175
76
4
1
true
false
false
false
false
false
zero