-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Firestore #479
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
Firestore #479
Conversation
2. Profile UI 3. Data binding for user name and email 4. Async Task class to Download and set user photo 5. Create ProfileViewModel
android/canonical/app/src/main/java/com/google/samples/quickstart/canonical/LoginFragment.kt
Outdated
Show resolved
Hide resolved
android/canonical/app/src/main/java/com/google/samples/quickstart/canonical/ProfileViewModel.kt
Outdated
Show resolved
Hide resolved
android/canonical/app/src/main/java/com/google/samples/quickstart/canonical/SignInViewModel.kt
Outdated
Show resolved
Hide resolved
android/canonical/app/src/main/java/com/google/samples/quickstart/canonical/LoginFragment.kt
Outdated
Show resolved
Hide resolved
android/canonical/app/src/main/java/com/google/samples/quickstart/canonical/MainActivity.kt
Outdated
Show resolved
Hide resolved
android/canonical/app/src/main/java/com/google/samples/quickstart/canonical/ProfileViewModel.kt
Outdated
Show resolved
Hide resolved
val runHistoryListForView : ArrayList<ProfileViewModel.SingleRun> | ||
= profileVM.getRunHistoryListForView() | ||
val runHistoryAdapter = RunHistoryAdapter(requireContext(), runHistoryListForView) | ||
val runHistoryListView = view?.findViewById<ListView>(R.id.run_history_list_view) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RecyclerView is the modern replacement for ListView. For this case I think ListView is fine. https://developer.android.com/jetpack/androidx/releases/recyclerview?hl=en
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pretty decent test coverage additions, thanks.
1.Profile UI
2.Construction and connection of Firestore
3.Async Task class to Download and set user photo
4.Interaction between runFragment and Firestore
5.Login status Observer