Skip to content

Commit

Permalink
#78 커뮤니티 기능 공사중으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
eoqkrskfk94 committed Mar 27, 2022
1 parent 2ce5c4e commit 54c126b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ class HomeFragment3 : Fragment(), FriendProfileListener {
}

private fun setupFriendProfileAdapter() {
viewDataBinding.recyclerviewFriendProfile.apply {
adapter = ProfileAdapter(this@HomeFragment3)
}
// viewDataBinding.recyclerviewFriendProfile.apply {
// adapter = ProfileAdapter(this@HomeFragment3)
// }
}

override fun onProfileClicked(item: Profile, view: View) {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 19 additions & 10 deletions app/src/main/res/layout/home_frag_3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,26 @@
android:orientation="vertical"
app:layout_constraintGuide_percent="0.95" />

<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerview_friend_profile"
style="@style/ProfileRecyclerView"
friendProfileItems="@{viewmodel.friendProfiles}"

<ImageView
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginTop="20dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@id/guideline_end"
app:layout_constraintStart_toStartOf="@id/guideline_start"
app:layout_constraintTop_toTopOf="parent" />
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:src="@drawable/image_in_development"/>

<!-- <androidx.recyclerview.widget.RecyclerView-->
<!-- android:id="@+id/recyclerview_friend_profile"-->
<!-- style="@style/ProfileRecyclerView"-->
<!-- friendProfileItems="@{viewmodel.friendProfiles}"-->
<!-- android:layout_width="0dp"-->
<!-- android:layout_height="0dp"-->
<!-- android:layout_marginTop="20dp"-->
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
<!-- app:layout_constraintEnd_toEndOf="@id/guideline_end"-->
<!-- app:layout_constraintStart_toStartOf="@id/guideline_start"-->
<!-- app:layout_constraintTop_toTopOf="parent" />-->

</androidx.constraintlayout.widget.ConstraintLayout>
</layout>

0 comments on commit 54c126b

Please sign in to comment.