I have a flow to fetch data from database via content provider. fun getDataFlow(): Flow<Result> { return flow { emit(Result.Loading) // f
If we declare a db operation with @Query("..") fun itemList(): List<Item>, we must make sure that the code runs on a background thread. If we declare it a
everyone, I'm trying to get the location data every time the application run a script via a background service for same reasons, but I got every time Location
Utilizing image_picker: ^0.7.5+3 Using iPhone 12, iOS 14, Android Google Pixel, Android 10. Code: var pickerFile = await ImagePicker().getVideo(source: source,
I am developing a Flutter Plugin and a simple piano keyboard layout which calls the Flutter plugin when onKeyPressed and onKeyUp the piano keys. The piano app c
I am using RNfirebase to push notifications to my React native application. When the app is in background I am trying to send a notifications which is working f
This is my last hope of getting the fixed for the buildozer python issue. I already raised an issue in github for kivy. But there was no valid answer for it. I'
I have a constraint layout that consists of two TextViews and a custom BoxBackgroundView. I want the box background to scale in size with the text, but when I u
It says sources for android API 32 platform not found and when I try to download it say all packages are not available for download how can I solve this pro
I have a JSON file name abc.json Once I opened this file there is data like in square brackets. [{ "1" : "xxx", "20" : "ppp", "25" : "hhh" }] Here in this keys
I have an activity A with several execution branches that end with a call to finish(). Reading the documentation, my understanding is that this will result in
I have followed android developer documents to create the recycler view. But now I would like to make the item selectable. Currently have created itemAdapter.kt
I am attempting to add a custom annotation to serialize specific values in my model to null when calling the toJSON method from Moshi. I have something working
this is my first time trying Firestore. I have a collection named users, where every user is a UID and every user has fields (name, phone, and contacts (array))
Android Studio is stuck at launcher after latest patch update. I got the patch update on latest Bumblebee and it is now stuck at the launcher only. Attached scr
I want to show the staff list in the Firebase database. However, I am getting the following error. import 'package:firebase_database/firebase_database.dart'; c
After updating FirebaseUi from implementation 'com.firebaseui:firebase-ui-firestore:8.0.0' to implementation 'com.firebaseui:firebase-ui-firestore:8.0.1' Firest
I didn't know this was possible, but I was following an example and I see this piece of code: import kotlinx.android.synthetic.main.activity_main.* class MainA
I'm trying to use the example app from google codelabs to implement the camerax application, but i dont know, why it doesnt save the pictures correctly. private
I was reading through the docs but I could not find how the SDK persists the refresh token on the device to be able to keep the user authenticated when the app