Skip to content

Commit

Permalink
style: 리사이클러뷰 구분선 네이밍 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
inseonyun committed Aug 9, 2023
1 parent 2374a0c commit ecfab20
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class ProfileActivity : BindingActivity<ActivityProfileBinding>(R.layout.activit

private fun getDividerItemDecoration(): DividerItemDecoration {
val dividerItemDecoration = DividerItemDecoration(this, LinearLayout.VERTICAL)
ContextCompat.getDrawable(this, R.drawable.divider_study_list)?.let {
ContextCompat.getDrawable(this, R.drawable.divider_recyclerview_line)?.let {
dividerItemDecoration.setDrawable(it)
}
return dividerItemDecoration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class SettingActivity : BindingActivity<ActivitySettingBinding>(R.layout.activit
binding.rvSetting.hasFixedSize()

val decoration = DividerItemDecoration(this, DividerItemDecoration.VERTICAL)
ContextCompat.getDrawable(this, R.drawable.divider_study_list)?.let {
ContextCompat.getDrawable(this, R.drawable.divider_recyclerview_line)?.let {
decoration.setDrawable(it)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class StudyListFragment : BindingFragment<FragmentStudyListBinding>(R.layout.fra

private fun setUpStudyListSettings() {
val dividerItemDecoration = DividerItemDecoration(context, VERTICAL)
getDrawable(requireContext(), R.drawable.divider_study_list)?.let {
getDrawable(requireContext(), R.drawable.divider_recyclerview_line)?.let {
dividerItemDecoration.setDrawable(it)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class StudyManageViewHolder(

private fun setUpStudyManageList() {
val dividerItemDecoration = DividerItemDecoration(parent.context, VERTICAL)
getDrawable(parent.context, R.drawable.divider_study_list)?.let {
getDrawable(parent.context, R.drawable.divider_recyclerview_line)?.let {
dividerItemDecoration.setDrawable(it)
}

Expand Down

0 comments on commit ecfab20

Please sign in to comment.