Skip to content

Commit

Permalink
perf: 整理注释
Browse files Browse the repository at this point in the history
  • Loading branch information
limuyang2 committed Aug 1, 2023
1 parent fec0671 commit ae1e4b0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ abstract class BaseQuickAdapter<T, VH : RecyclerView.ViewHolder>(
}

/**
* 当 ViewHolder 视图已附加到窗口时调用。
* Called when a view created by this holder has been attached to a window.
* simple to solve item will layout using all
* [asStaggeredGridFullSpan]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import android.view.View
import android.view.animation.DecelerateInterpolator

/**
* item 缩放进入的动画
* An animation to scale item in, changing item's scaleX and scaleY from default 0.5f to 1.0f in default 300ms.(Using a DecelerateInterpolator with default factor.)
* https://github.com/CymChad/BaseRecyclerViewAdapterHelper
*/
class ScaleInAnimation @JvmOverloads constructor(
private val duration: Long = 300,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import android.view.View
import android.view.animation.DecelerateInterpolator

/**
* 让 item 从底部滑入的动画
* An animation to let items slide in from the bottom.(Using a DecelerateInterpolator with 1.3 factor.) Default duration is 400ms.
* https://github.com/CymChad/BaseRecyclerViewAdapterHelper
*/
class SlideInBottomAnimation @JvmOverloads constructor(
private val duration: Long = 400L,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import android.view.View
import android.view.animation.DecelerateInterpolator

/**
* 让 item 从左侧滑入的动画
* An animation to let items slide in from the left.(Using a DecelerateInterpolator with 1.8 factor.) Default duration is 400ms.
* https://github.com/CymChad/BaseRecyclerViewAdapterHelper
*/
class SlideInLeftAnimation @JvmOverloads constructor(
private val duration: Long = 400L,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import android.view.View
import android.view.animation.DecelerateInterpolator

/**
* 让 item 从右侧滑入的动画
* An animation to let items slide in from the right.(Using a DecelerateInterpolator with 1.8 factor.) Default duration is 400ms.
* https://github.com/CymChad/BaseRecyclerViewAdapterHelper
*/
class SlideInRightAnimation @JvmOverloads constructor(
private val duration: Long = 400L,
Expand Down

0 comments on commit ae1e4b0

Please sign in to comment.