Doodle 0.4.0 released Highlights include: - Upgra...
# doodle
n
Doodle 0.4.0 released Highlights include: • Upgrade to Kotlin 1.4.21! IR support will come in a future release as dependencies support it. • Improved Font support with the ability to load fonts from file urls and oblique font styles • New property delegates (renderPropertystyleProperty) that automate trigger re-render and style notifications
Copy code
class MyView: View {
    var name by renderProperty("") // will cause the View to re-render when it changes
    var age  by styleProperty (56) // will cause trigger styleChanged event when changed
}
PointerPointerMotion, and Key listener DSLs for more compact consumption of a single event type
Copy code
view.poinerChanged        += pressed  { event -> }
view.keyChanged           += released { event -> }
view.pointerMotionChanged += dragged  { event -> }
• DSLs to simplify usage of ListEditor, Layouts that only position, and CommonButtonBehavior that just render • TextField now supports font/color for placeholder • Added support for text decorations to StyledText See the full release notes for more details.
a
Hi! I tried to start new project, but after adding jcenter and mavenCentral it still couldn't find the io.nacular.doodleanimation js0.4.0. Is there any additional repositories needed?
n
Sounds like a release glitch. Will take a look.
Yeah, that library didn't publish (seems like a Nexus issue). Republishing now.
Ok, give it a shot now.
a
Yeah cool, everything is working
👍 1