diff --git a/StackLayoutManager/src/main/java/com/littlemango/stacklayoutmanager/DefaultLayout.kt b/StackLayoutManager/src/main/java/com/littlemango/stacklayoutmanager/DefaultLayout.kt index 9c9ec40..31e06f2 100644 --- a/StackLayoutManager/src/main/java/com/littlemango/stacklayoutmanager/DefaultLayout.kt +++ b/StackLayoutManager/src/main/java/com/littlemango/stacklayoutmanager/DefaultLayout.kt @@ -2,7 +2,6 @@ package com.littlemango.stacklayoutmanager import android.view.View - class DefaultLayout(scrollOrientation: StackLayoutManager.ScrollOrientation, visibleCount: Int, perItemOffset: Int) : StackLayout(scrollOrientation, visibleCount, perItemOffset) { @@ -16,7 +15,6 @@ class DefaultLayout(scrollOrientation: StackLayoutManager.ScrollOrientation, private var mHeight = 0 private var mScrollOffset = 0 - override fun doLayout(stackLayoutManager: StackLayoutManager, scrollOffset: Int, firstMovePercent: Float, itemView: View, position: Int) { mWidth = stackLayoutManager.width mHeight = stackLayoutManager.height @@ -97,4 +95,4 @@ class DefaultLayout(scrollOrientation: StackLayoutManager.ScrollOrientation, else -> mHeightSpace / 2 } } -} \ No newline at end of file +}