All Questions
4,656 questions
0
votes
1
answer
90
views
firebase database user submitted posts retrieve to android recycler view in date wise
This is my HomeView Fragment Activity
public class HomeView extends Fragment {
private View view;
private RecyclerView recentPosts;
private DatabaseReference donor_ref;
FirebaseAuth mAuth;
private ...
0
votes
0
answers
36
views
How do I make a check to make sure a recipe is only saved once? [duplicate]
So i have an Activity thats saves a recipe and sends data to firebase. How to make a check that the recipe is not saved only once regardless of how many times the user clicked on the button?
Below is ...
0
votes
1
answer
49
views
Issue with Firebase Realtime database Race condition with Android Java
I want to start off that this issue in NOT impacting my iOS app and strictly in Android using java.
Below is my code:
The first function calls Firebase to get the users in the pool:
private void ...
-1
votes
1
answer
158
views
Android - Firebase realtime database not updating when app in background
I am trying to update firebase realtime database from FirebaseMessagingService but it never update when updating from FirebaseMessagingService.
So logic is when User A send Message to User B (app in ...
-1
votes
1
answer
64
views
chipgroup - firebase database - java
I have a cuisine category in my Firebase Realtime Database for every restaurant.
restaurant 1 cuisine : Italian . restaurant2 cuisine :fast food
how can I get all cuisine from Firebase Realtime ...
0
votes
1
answer
78
views
Can't convert object of type java.lang.String to type Orders_Class. How can i fix it?
How can I retrieve data from products in my orders child Firebase Realtime Database:
This is my Orders_class
this class contains only orderId and Order full pay
package com.example.safetysouq....
-1
votes
1
answer
51
views
Limit Firebase Query for a single child node
The title might imply this is nonsensical, but I'm trying to limit the amount of data retrieved from Firebase. I have a query structured like this:
for (final Map.Entry<String, String> entry : ...
1
vote
0
answers
28
views
Android Firebase a value is returning null from Realtime Database in RecyclerView
i try to set data from realtime database to recyclerview but it's returning null at Textview and ImageView, my data have text and url from storage, there my code:
Adapter:
@Override
public void ...
0
votes
2
answers
41
views
Android Application crashes when I switch to a fragment after I tried implementing Firebase Realtime Database
I had it working with SQLite database but then when I tried to switch to Firebase Real-time Database it decided to start crashing on me... I'm completely lost on this one. Some help would be much ...
0
votes
1
answer
43
views
Error connecting Firebase to Android Studio Porject
I tried to link the connection firebase to android studio in my app. However, i can't seem to run the application even though there is no coding error. I'll provide the code below.
below is the java ...
1
vote
1
answer
37
views
Why does only newly added data appear and not all data?
It looks like this:
I want it to look like this:
Code:
FirebaseUser firebaseKullanici = yetki.getCurrentUser();
String kullaniciId = firebaseKullanici.getUid();
yol = FirebaseDatabase.getInstance()....
0
votes
0
answers
23
views
Android spinner is blocked on the first item after receiveing gps signal in my app
So i have the following activity which should chose a plane from a list and go in an activity which uses some gps data.After getting gps signal and going back to the initial activity to chose another ...
0
votes
2
answers
84
views
How can I use keep-alive messages to detect a disconnected user from game app?
I'm developing a game app using Android Studio with java, and I'm using Firebase Realtime Database to handle connection and sending messages between users.
In this app multiple "guests" ...
0
votes
0
answers
52
views
A problem occurred configuring project ':auth'. > SoftwareComponentInternal with name 'release' not found
I was recently reviewing the following code related to user authentication through firebase and android studio, however I got the following problem
A problem occurred configuring project ':auth'.
...
0
votes
1
answer
50
views
Social networking app: comments being replaced by each other
I am creating a social networking app using android studio and java.
My problem is in comments functionality in the comments section of the app. Whenever a user tries to post a comment, his previous ...