-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
setHasFixedSize(true) | ||
adapter = followings?.let { ProfileFollowingAdapter(it, dataGetter, imageGetter, authenticator,this@MyProfileFragment) } |
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.
@@ -85,13 +85,13 @@ class PublicProfileActivity : AppCompatActivity(), OnItemClickListener, ProfileI | |||
override fun setupRecycleViewForFriends() { | |||
findViewById<RecyclerView>(R.id.profile_followingList).apply { | |||
layoutManager = LinearLayoutManager(context) | |||
adapter = followings?.let { ProfileFollowingAdapter(it, dataGetter, authenticator,this@PublicProfileActivity) } | |||
adapter = followings?.let { ProfileFollowingAdapter(it, dataGetter, imageGetter, authenticator,this@PublicProfileActivity) } |
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.
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.
👍
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.
LGTM
Code Climate has analyzed commit d63e9e9 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 64.2% (80% is the threshold). This pull request will bring the total coverage in the repository to 83.7%. View more on Code Climate. |
No description provided.