Skip to content

1.0.2

Compare
Choose a tag to compare
@skydoves skydoves released this 17 Mar 17:16
2d63094

Released version 1.0.2.

What's difference?

startTransform(), startTransformWithDelay(delay: Long), finishTransform(), finishTransformWithDelay(delay: Long) functionalites are added.

startTransform and finishTransform

So we don't need to put container parameter to startTransform() and finishTransform methods.

// start transformation when touching the fab.
fab.setOnClickListener {
  transformationLayout.startTransform()
}

startTransformWithDelay and finishTransformWithDelay

We can start transformation with delaying.

  override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_detail)

    // starts transformation automatically 200ms later.
    transformationLayout.startTransformWithDelay(200)
}