Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 2.45 KB

CHANGELOG.md

File metadata and controls

40 lines (30 loc) · 2.45 KB

Change Log

1.1.0 - 2021-03-02

  • Fix compareTo methods for YInt and YFloat.

  • Avoid measure both axis when we don't have to.

  • Support for live preview in Android Studio.

  • layoutBy() return the view it's applied to. You now can do

    val titleText : TextView
    
    init {
      titleText = TextView(context).apply {
        text = "Not sure what the title is yet"
        setTextColor(0x0)
      }.layoutBy(
        leftTo { parent.left() + 16.dip },
        topTo { parent.top() + 16.dip })
    }
  • Update to Kotlin 1.4.30.

1.0.0 - 2020-09-21

Breaking changes (for 0.1.7)

  • Add support for padding. This can be disabled on a per-View basis using respectPadding = false.
  • Remove onInitializeLayout() in favor of laying Views in init.

0.1.7 - 2020-05-19

  • Add compareTo operations to contour primitives.