Skip to main content

All Questions

Tagged with
0 votes
1 answer
26 views

Sort firebase databse using an object inside an array in Android

I want to sort a list in firebase realtime database using orderByChildValue(). But the value is inside an array. How to do that? Database { "partners": [ { "full_name": ...
Mubashir P A's user avatar
1 vote
0 answers
139 views

How can i integrate firebase authentication with external database like mySQL in my android project?

i'm about to make an android application that each user have it's own data restored in the database.. but i want my user auth restored in firebase, while the details data is in mySQL. is it possible ...
dsneykhsa's user avatar
0 votes
2 answers
95 views

E/RecyclerView: No adapter attached; skipping layout Can't show list of users in app [duplicate]

Can anyone help mi solve this problem? I want to show list of users in the app. Logcat error: E/RecyclerView: No adapter attached; skipping layout User code data class Users(val userId : String = &...
xMaster's user avatar
  • 41
0 votes
0 answers
503 views

Firebase: Realtime Database - extreme data usage

So we're working with the Firebase Realtime Database and have encountered some issues regarding the data usage. Currently the total database data comes to a clean 4MB and all we're really GET'ing with ...
Temojikato's user avatar
0 votes
1 answer
243 views

How to update textview depending on retrieved value from Firebase Database

I have asked this question before but I could not get any answer. I am trying to update a textview depending on the result of two other textviews that I retrieve from my firebase database. I retrieve ...
Eren Ahmed's user avatar
0 votes
0 answers
64 views

The data I uploaded to the Firestore database is not updated. So I can only see the data I created first

This is my main page. I am getting values from user on this page private lateinit var binding : ActivitySignInCalculatorBinding private lateinit var auth: FirebaseAuth private lateinit var db: ...
KKot's user avatar
  • 163
0 votes
1 answer
260 views

Firebase Realtime Database Data Model Class Problem Kotlin

I cant create data model for this database. Firebase Realtime Database I can't list chats with this model. data class ChatModel( var voice : String ?= null, var sender : ...
Emre Taner Çetinkaya's user avatar
0 votes
3 answers
1k views

Firebase realtime database setValue() not working

I am trying to write some basic information about users to a Firebase realtime database, but when running setValue() nothing happens in the console and after many hours of trying I still can't figure ...
petter-odden's user avatar
3 votes
2 answers
2k views

How can i wait until the onsuccess listener has a result in Kotlin

I have this code val collectionDb = db.collection(collection) .add(user4) .addOnSuccessListener { documentReference -> Log.d("SUCCESS", ...
MoDi's user avatar
  • 66
0 votes
3 answers
128 views

Firebase - Sign up - new name if not exist

I need help registering a new user on Firebase, I wish that if the name is already taken, it will return a Toast message asking to choose another name. How can I do it? private fun signUp(view: View, ...
JoCharters's user avatar
0 votes
0 answers
35 views

setAndroidContext in Kotlin (Firebase)

Using Firebase Database, how would I setAndroidContext in Kotlin? This is it in Java: public class SimpleDatabase extends Application { @Override public void onCreate() { super....
RamenNoodles's user avatar
0 votes
1 answer
308 views

Fetching incorrect URL into database during upload of images in Firebase Database. Need some guidance.(Kotlin) [duplicate]

I am trying to store the url in the firebasedatabase of images i upload into the firebase storage. I have tried some video guides but most of them are outdated.I am trying to use downloadUrl to ...
Umer Qureshi's user avatar
0 votes
1 answer
479 views

Firebase onChildChanged() get called 3 times though I changed a value twice

It's not every time but sometimes (I feel like it's 10%) onChildChanged() method get called 3 times though I actually changed twice. Here are Logs. This is a log when I change a value twice. (true ...
Yoji Yamamoto's user avatar
0 votes
1 answer
108 views

By kotlin.. trouble with reading data from database by firebase to RecyclerView

I have trouble with reading data from database by firebase. the code supposed read data from database to RecyclerView..but no working.. the app is work without bugs or error and if writ some data ...
mmq_zz's user avatar
  • 1
0 votes
1 answer
85 views

Unable to write to secondary firebase database but works with [DEFAULT] Db

I have two databases in firebase project currently. One [DEFAULT] and other a secondary database. Both these databases have exactly same rule and exactly same data( I exported data from [DEFAULT] db ...
Prashast's user avatar
  • 308

15 30 50 per page