-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
app/src/main/java/ch/sdp/vibester/profile/UserProfileAdapter.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/ch/sdp/vibester/activity/SearchUserActivity.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/ch/sdp/vibester/activity/SearchUserActivity.kt
Outdated
Show resolved
Hide resolved
userProfileAdapter = UserProfileAdapter(users!!) | ||
recyclerView!!.adapter = userProfileAdapter | ||
} | ||
override fun onCancelled(error: DatabaseError) { |
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.
Similar blocks of code found in 2 locations. Consider refactoring.
app/src/main/java/ch/sdp/vibester/activity/SearchUserActivity.kt
Outdated
Show resolved
Hide resolved
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.
Good job, just added some small comments
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.
Nice work 👍 ! Just update the string.xml 😀
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.
Thanks for implementing my proposals. LGTM
Code Climate has analyzed commit 354458c and detected 2 issues on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 95.7% (80% is the threshold). This pull request will bring the total coverage in the repository to 88.8% (0.2% change). View more on Code Climate. |
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.
Great 👍
This PR contains UI to search for users by their usernames. I have added the button on welcome screen, but we can move it later.
Changes:
The improvements can be: