generated from NOW-SOPT-ANDROID/now-sopt-android-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
79 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
package com.sopt.now | ||
|
||
object MockFriendList { | ||
val mockFriendList = listOf( | ||
Friend( | ||
profileImage = R.drawable.main, | ||
name = "송혜음", | ||
selfDescription = "멀티 뷰 리싸이클러뷰!", | ||
0 | ||
), | ||
Friend( | ||
profileImage = R.drawable.main, | ||
name = "이의경", | ||
selfDescription = "다들 빨리 끝내고 뒤풀이 가고 싶지? ㅎㅎ 아직 반도 안왔어 ^&^", | ||
1 | ||
), | ||
Friend( | ||
profileImage = R.drawable.main, | ||
name = "우상욱", | ||
selfDescription = "나보다 안드 잘하는 사람 있으면 나와봐", | ||
1 | ||
), | ||
Friend( | ||
profileImage = R.drawable.main, | ||
name = "배지현", | ||
selfDescription = "표정 풀자 ^^", | ||
1 | ||
), | ||
Friend( | ||
profileImage = R.drawable.main, | ||
name = "이의경", | ||
selfDescription = "다들 빨리 끝내고 뒤풀이 가고 싶지? ㅎㅎ 아직 반도 안왔어 ^&^", | ||
1 | ||
), | ||
Friend( | ||
profileImage = R.drawable.main, | ||
name = "우상욱", | ||
selfDescription = "나보다 안드 잘하는 사람 있으면 나와봐", | ||
1 | ||
), | ||
Friend( | ||
profileImage = R.drawable.main, | ||
name = "배지현", | ||
selfDescription = "표정 풀자 ^^", | ||
1 | ||
), | ||
Friend( | ||
profileImage = R.drawable.main, | ||
name = "이의경", | ||
selfDescription = "다들 빨리 끝내고 뒤풀이 가고 싶지? ㅎㅎ 아직 반도 안왔어 ^&^", | ||
1 | ||
), | ||
Friend( | ||
profileImage = R.drawable.main, | ||
name = "우상욱", | ||
selfDescription = "나보다 안드 잘하는 사람 있으면 나와봐", | ||
1 | ||
), | ||
Friend( | ||
profileImage = R.drawable.main, | ||
name = "배지현", | ||
selfDescription = "표정 풀자 ^^", | ||
1 | ||
) | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.sopt.now | ||
|
||
import android.view.View | ||
import android.widget.ImageView | ||
import android.widget.TextView | ||
import androidx.recyclerview.widget.RecyclerView | ||
|
||
class UserViewHolder(private val view: View) : RecyclerView.ViewHolder(view) { | ||
val ivProfile : ImageView = view.findViewById(R.id.iv_profile) | ||
val tvName : TextView = view.findViewById(R.id.tv_name) | ||
val tvSelfDescription : TextView = view.findViewById(R.id.tv_self_description) | ||
} |