.. (לתיקייה המכילה) | ||
It is written in exercise that once the user is signed up, you should switch back to sign in activity. But it is also written that if the user is already signed in, you should forward him to the main activity. I found out that Firebase sign-up method also signs the user in. What should happen in this case? | |
As one can infer from the exercise, the following behavior is expected: 1. The user clicks sign-up, and the sign-up succeed 2. Sign-up activity has closed (switched back to sign-in activity) 3. Sign-in activity detects that the user is already logged in, and forwards him to main activity. |
Should I query the user's list items once he is logged in? Or somewhere else? | |
No. Please read the exercise again and make sure you understand what FirestoreRecyclerAdapter is and what it does for you. Correct solution for this assignment should never query database items at all. |
Should the list be updated once the user added new item to the list? | |
Yes. Hint: this is a trivial requirement and doesn't require anything special that wasn't mentioned in the exercise |