Комментарии:
Если у вас проблемы с отображением карт, то обратите внимание на эти строчки
Database reference userDb = usersDb.child(user.getUid());
userDb.addListenerForSingleValueEvent(new ValueEventListener() {
The second line should be userDb, not usersDb
For anyone having the issue of not seeing the cards in main activity . . make sure you check the spelling in the 'case' section of checkUserSex . . In mine, I had used lower case male and female instead of Male and Female . . once I change that it worked perfectly.
ОтветитьHALLOO, my database just doesnt show any children. users are getting registered in authentication but my realtime database is showing nothing. my data is not getting saved on the real time database. it worked perfectly fine before the changes in the structure but it doesnt now and this is causing error in mainactivity because there is no body to get the Uid from. i checked the forum but i couldnt find anything
ОтветитьHello sim coder the profiles are not shown, in the card view
ОтветитьOn CheckUserSex() method he had addChildEventListiner and than at the end he has addListenerForSingleValueEvent and ValueEventListener gives me an error
ОтветитьI found the problem. The problem is there anyway when someone sends a message the page automatically scrolls down, because now when someone for example sends a lot of messages you'll have to scroll down to see them.
Ответитьhi everyone, I have a problem with my card, It's doesn't show anything. However I fixed it, Check item.xml -> frame, check for layout_height to "wrap_contend" , It was 0dp that's wrong!! I hope this helps.
ОтветитьSame here . my code is exactly same as yours and everything works fine but swipe cards are not showing. and there are no any solutions in your forum . found any solution?? @SimCoder
ОтветитьI watch and write same time, But ı have two problems,
1a- Glide.clear(mProfileImage); from SettingsActivity
1b- Uri downloadUrl = taskSnapshot.getDownloadUrl();
and
2- Glide.clear(image); from arrayAdapter
ı implemented these;
implementation 'com.github.bumptech.glide:glide:4.0.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
What can ı do now ?
ı search many forum but not solved
Why my cards are not displayed ? I have followed your video but my cards are not displayed ? Can you help me ?
ОтветитьThank you. This fixed my problem.
Ответитьi dont understand the point of this. only that it has made my app not work correctly. no cards are showing now and i have done evcerything preoprly. may stop here. good videos but not clear enough sorry
ОтветитьAfter this code change I can't see any results in MainActivity. I've watch video three times and I'm pretty sure I've done everything exactly the same way. Please SimCoder, help.
ОтветитьI really like your videos, they are a huge help for my work. Could you please help me with one thing though?
I have implemented your code and made some code changes regarding the data and I added one more imageview to item.xml.
Do you have any idea why my swiping cards move too slowly? Thanks in advance for your help. Iren
my main activity goes into a crash loop when i made these code changes
ОтветитьI'm a bit confused, did you create the name, phone and profileimageUrl fields in the database or did the code generate them. Just wondering because I'm getting a signup error now after the code changes
ОтветитьPerfect!!! lml
ОтветитьDam sim. Back at it again with the great code.
ОтветитьThank you so much... Can't wait to see Tinder app series completed ..
ОтветитьThanks! :D
Ответить