Skip to content

Commit

Permalink
#113 [chore] 주석제거
Browse files Browse the repository at this point in the history
  • Loading branch information
minemi00 committed Jan 19, 2024
1 parent 3dfaf60 commit 5faf65f
Showing 1 changed file with 0 additions and 40 deletions.
Original file line number Diff line number Diff line change
@@ -137,46 +137,6 @@ class DailyRoutineAddActivity :
}
}

// class HorizontalItemDecorator(private val divHeight: Int) : RecyclerView.ItemDecoration() {
// @Override
// override fun getItemOffsets(
// outRect: Rect,
// view: View,
// parent: RecyclerView,
// state: RecyclerView.State
// ) {
// super.getItemOffsets(outRect, view, parent, state)
// outRect.left = divHeight
// outRect.right = divHeight
// }
// }

// class HorizontalItemDecorator(private val divHeight: Int) : RecyclerView.ItemDecoration() {
// @Override
// override fun getItemOffsets(
// outRect: Rect,
// view: View,
// parent: RecyclerView,
// state: RecyclerView.State
// ) {
// super.getItemOffsets(outRect, view, parent, state)
//
// val position = parent.getChildAdapterPosition(view)
// val itemCount = parent.adapter?.itemCount ?: 0
//
// if (position == 0) {
// outRect.left = 4
// }
//
// if (position == itemCount - 1) {
// outRect.right = 4
// }
// outRect.left = divHeight
// outRect.right = divHeight
//
// }
// }

class HorizontalItemDecorator(
private val marginStart: Int,
private val marginEnd: Int,

0 comments on commit 5faf65f

Please sign in to comment.