Skip to content

1.0.6

Compare
Choose a tag to compare
@skydoves skydoves released this 12 Sep 12:25
7089359

🎉 Released a new version 1.0.6! 🎉

What's New?

  • Added extensions related functionalities to TransformationCompat for supporting Java.
TransformationCompat.startActivity(transformationLayout, intent)
TransformationCompat.startActivityForResult(transformationLayout, intent)
TransformationCompat.onTransformationStartContainer(activity)
TransformationCompat.onTransformationEndContainer(activity, transformationParams)
TransformationCompat.onTransformationStartContainer(fragment)
TransformationCompat.onTransformationEndContainer(fragment, transformationParams)
TransformationCompat.addTransformation(fragmentTransaction, transformationLayout, transitionName)
  • Added onTransformationEndContainerApplyParams functionality in TransformationCompat.
    After starts a new activity by using startActivity or startActivityForResult in TransformationCompat, apply the TransformationLayout.Params on an Activity.

Activiy A

TransformationCompat.startActivity(transformationLayout, intent)

Activity B

TransformationCompat,onTransformationEndContainerApplyParams(activity)

onTransformationEndContainerApplyParams() // kotlin extension
  • Used compile SDK version 30 and kotlin version 1.4.0 stable
  • Used single abstract method conversions to listener interfaces.
  • Used JvmSynthetic for hiding kotlin lambda functions in Java for using without adding a kotlin dependency.