-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Firebase with your code #4
Comments
@ludovicoloreti could you post the code that you're using within |
yes of course! Thank you for your fast reply!
The problem is (maybe the code is also not correct in the end where I want to print the array of items declared in the top of the However the prob |
Ok so the problem:
This means that |
God save @EvanCooper9 |
I noticed also that for each event you're creating, you're returning that event. You should create all I added |
So you are saying that I can get my data from firebase inside your Is it correct? (and I add that maybe I could put my firebase data get outside that function because the array with events is always the same, but obviously I don't know how because it's async so I'm not able to do something like this, I'm able to do only the first part I told you before this brackets) |
@ludovicoloreti You really have two options, so you can do one of the following. Given that
|
Last question: |
Hey, is this still an issue? If so, have a look at the newest update |
Hello,
It's about 10 days I'm trying to figure out how to edit a little part of your code only to be able to use it with Firebase.
Firebase it's downloading all events already added in your way (
WeekViewEvent
) but the problem is the functionweekViewGenerateEvents()
.I really dunno how to solve it, I know the problem is the async and the sync. But really dunno how to solve.
Could you please help me just a little bit?
How can I use it synchronously? Thank you very much.
Best, best regards!
The text was updated successfully, but these errors were encountered: