[Code]移除无用的log
This commit is contained in:
@@ -93,11 +93,9 @@ class CommonDividerItemDecoration internal constructor(builder: Builder) : ItemD
|
||||
if (state.didStructureChange()) {
|
||||
mRightCache[position] = outRect.right
|
||||
}
|
||||
Log.d("UUUU", "step::1::$averageDistance: outRect.right: ${outRect.right} ::outRect.left: ${outRect.left}:: position: $position :: state: $state" )
|
||||
} else if (spanIndex == spanCount - 1) {
|
||||
outRect.right = mHorizontalExternalSpace + deltaHR
|
||||
outRect.left = averageDistance - outRect.right
|
||||
Log.d("UUUU", "step::2::$averageDistance: outRect.right: ${outRect.right} ::outRect.left: ${outRect.left} :: position: $position :: state: $state" )
|
||||
} else {
|
||||
if (state.didStructureChange()) {
|
||||
outRect.left = mHorizontalInnerSpace - (mRightCache[position - 1] ?: 0)
|
||||
@@ -108,7 +106,6 @@ class CommonDividerItemDecoration internal constructor(builder: Builder) : ItemD
|
||||
outRect.left = mLeftCache[position]!!
|
||||
outRect.right = mRightCache[position]!!
|
||||
}
|
||||
Log.d("UUUU", "step::2::$averageDistance: outRect.right: ${outRect.right} ::outRect.left: ${outRect.left} :: position: $position :: state: $state" )
|
||||
}
|
||||
} //所在的行数
|
||||
if (lookUp.getSpanGroupIndex(childPosition, spanCount) == lookUp.getSpanGroupIndex(mFromPosition, spanCount)) {
|
||||
|
||||
Reference in New Issue
Block a user