Skip to main content

All Questions

-1 votes
1 answer
47 views

RecyclerView not showing in design mode or in the emulator in android studio [closed]

I'm trying to figure out on what to do as my recyclerview seems to be not working. I'm still fairly new to mobile development so I'm not exactly sure I'm gonna do. There was no error/warning messages ...
Oliver Alverize's user avatar
0 votes
0 answers
79 views

I'm having trouble pulling data from Firebase with Jetpack Compose?

private lateinit var viewmodelAuthentication: ViewModel_Authentication class Activity_Login : ComponentActivity() { @SuppressLint("CoroutineCreationDuringComposition") override fun ...
user avatar
0 votes
1 answer
64 views

Firebase Realtime Database: Data Not Saving Despite Successful Integration

I am working on an Android project and have integrated Firebase Realtime Database successfully. To test if the data is being saved in the database, I wrote the following code: ...
Teli Vinayak's user avatar
1 vote
0 answers
43 views

Can't read in Realtime Database

I'm using Realtime Database to read and write some data in Firebase. The code for writing works perfectly and so does the authentication step, but when trying to read it skips the code. I obviously ...
Rodrigo's user avatar
  • 11
0 votes
1 answer
37 views

.setValue(null) vs .removeValue() in Firebase

What is the difference between .setValue(null) and .removeValue() to delete a value in the Firebase Realtime Database? I mean is there any technical reason to use a particular method? I saw these two ...
Sayan Basak's user avatar
1 vote
0 answers
44 views

Why is the Firebase Realtime Database page not showing anything when writing data to it? [Resolved]

I'm trying to make a simple app with Android Studio (Iguana) and using Firebase Realtime Database. I'm new to Android Studio and Firebase, so I've been following this youtube tutorial: here. I'm ...
Max Lin's user avatar
  • 11
1 vote
1 answer
35 views

Firebase doTransaction setValue of data class changes the members names

I'm using runTransaction method in my Android app as follows: @SuppressLint("RestrictedApi") fun sendTableMsg(move: PokerTableMsg?) { Log.d(TAG, "sendTableMsg $move") this....
Guy Sadoun's user avatar
0 votes
0 answers
31 views

Search for specific node in Firebase

I have path called pairs in firebase that stores child nodes like this. pairs has childname like form of foreign keys connection in relational databases between users table and bracelets table and ...
coder 534's user avatar
1 vote
1 answer
55 views

how to backup Room Entity with Date datatype to Firebase Realtime Database (Kotlin)

I need to send a copy of my Room Database table to the Firebase Realtime Database, but it didn't work when having date datatype on my room database. I am using Kotlin and Android Studio. please, I ...
ali hamad's user avatar
0 votes
1 answer
31 views

Retrieve an integer from Firebase Realtime Database and assign it to a variable

I want to fetch a variable called "progress" from my Realtime database, like this: Now, I would like to assign this 1 as a variable, so I wrote code like this: val progresstab = ...
Rei's user avatar
  • 21
0 votes
1 answer
55 views

Cannot display Data from my layout viewBinding

I am new to Android Studio. I have been following a tutorial on how to create a Kotlin-based MVVM app with Firebase. I created a data class called ServiceOrder that contains all the necessary data ...
Dexia's user avatar
  • 3
0 votes
1 answer
52 views

Firebase RecyclerView not Displaying Retrieved Data in Fragment Despite Successful Fetch and Adapter Setup In kotlin Xml Android

I'm unable to display data retrieved from the Firebase Realtime Database in a RecyclerView within my Android application. Despite successfully fetching the data (as confirmed by logging), the ...
NETHRAN Kumaraswamy's user avatar
2 votes
1 answer
67 views

How to create a list inside an object by userID in Kotlin for Firebase Realtime Database?

I'm working on an Android project using Kotlin and Firebase Realtime Database. I want to structure my data in such a way that each user has a list of conversations with other users. Each conversation ...
Sahar Batool's user avatar
1 vote
1 answer
67 views

DataSnapshot.getValue() undocumented strange behaviour

What's going on here? assertEquals(mapOf("161" to "a", "163" to "b"), Firebase.database.getReference("case").get().await().value) assertEquals(mapOf(&...
nbransby's user avatar
  • 381
0 votes
1 answer
43 views

Firebase RTDB: How do multiple queries handled under the hood? [duplicate]

My case is the following. I make two calls like ref.get() at the same time. The first call asks for a bit larger piece of data (5MB), than the second one (100KB). How Firebase SDK for Android will ...
Konstantin Konopko's user avatar

15 30 50 per page
1
2 3 4 5
53