Skip to main content

All Questions

Tagged with
0 votes
1 answer
45 views

ScrollView won't populate

I have a ListView that gets data from Firestore, puts it all into an ArrayList of type UserItem and then puts that into the adapter to be shown. Problem is that for some reason, it refuses to show ...
qwirrr's user avatar
  • 27
0 votes
1 answer
40 views

Getting a Blank ListView after retrieving data from firebase

I am getting a blank listView on running this code.I have checked the contents of the array by displaying them in a text view to the bottom of the listView.Changing to linear layout didn't work as ...
kshitij Sabale's user avatar
2 votes
2 answers
68 views

ListView initially adding to it works, but if I back track and try adding again I get a error

I am new to android programming and I have been getting bug in my code for the last day or so. When I run my live chat I can send and read messages as intended, but when I back track to the page that ...
mhassan's user avatar
  • 73
0 votes
0 answers
73 views

Custom adapter doesn't change text in listview

I'm trying to show the data i got from the firebase in a listview. But my textview in listview doesn't change. This output i have two document my database. Two listview appear but can't change text....
stckcnhsp's user avatar
1 vote
2 answers
163 views

How to delete an item from ListView and also delete it on Firebase?

My problem is that if I try to delete an item on my ListView, all the data will be deleted to on both listview and my firebase realtime database. All I want is, if I long click an item, only that item ...
divaniaf's user avatar
0 votes
1 answer
889 views

How to retrieve data from Firebase into a ListView (with custom Array Adapter)

I have currently designed a place explorer app with 3 items displayed in a list view. When a user logs in he will find a list of categories. On clicking a category the list of places under that ...
pony_147's user avatar
0 votes
1 answer
58 views

Firebase - Display to ListView

I have data stored on firebase which has a film id as the child and within it contains the film name. I want to display the film names stored on firebase within a ListView. The problem I am having is ...
RKJASSI98's user avatar
2 votes
1 answer
47 views

How do I link a listview element with Firebase object?

In the main activity, there's a listview which shows all the objects pushed to the database using displayAllItems() method: private void displayAllItems(){ ListView listOfItems = (ListView) ...
Максим Сорокин's user avatar
0 votes
1 answer
59 views

Fetch children data from Firebase Database in ListView

I have a ListView. Within the list view, I want to fetch data from the Firebase database. I am able to show title, count in the activity. I want to fetch how many status shows unread and it will be ...
achal naskar's user avatar
0 votes
1 answer
44 views

How can i retrive data from firebase to top of android listview [duplicate]

i have been working to retrive data from firebase realtime database to listview in my application but when it comes to listview i wanted to show the last retrived data in top of the listview.this is ...
sahana rulzz's user avatar
0 votes
3 answers
52 views

Android Studio - ListView is not presenting in the right order and make duplicates

Im trying to do a chat activity with two persons. Im using firebase and I have a problem when I present the data from it to the listview with the adapter that im using. all the data is saving properly ...
Tamir Yakov's user avatar
0 votes
1 answer
51 views

Android: custom ListView doesn't get populated immediately

I would like to create a custom ListView populated by a custom ArrayAdapter. The code works fine, but the ListView is not showing data immediately. In order to have the data shown I need to click on a ...
E. Tocchi's user avatar
1 vote
1 answer
68 views

Get the id of firebase data

I use a ListView to show the data stored in Firebase database and when I long click on a list item I want to get the auto-generated Id of the list item source in Firebase to be able to update or ...
ROJ's user avatar
  • 57
0 votes
1 answer
517 views

How to sort data in listview in Android Studio [closed]

Can you help me please to sort data in listView? The listView is linked with Firebase DataBase, I want to sort them by time, meaning that the last data that is added to Firebase appears first in the ...
Hamza Dev's user avatar
0 votes
1 answer
202 views

when I manually change value in firebase database I create more items in listview instead of updating value in listview

I have No idea what's going wrong in my code Please Help Me. Just Trying To Retrieve data to list view. My MainActivity.java public class MainActivity extends AppCompatActivity { ListView listView; ...
ICEBlizzard's user avatar

15 30 50 per page
1
2 3 4 5
7