Fork me on GitHub

Thursday, November 28, 2013

Scaloid 3.0 is released

Today we are pleased to announce Scaloid 3.0. Some new feature highlights are as shown below:

Redesign of LocalServiceConnection

LocalServiceConnection is redesigned to use Option, and prevents possibility of NullPointerException, which was very frequent when accessing service with LocalServiceConnection.

This is a breaking change in source code level. Please migrate the code as introduced in a blog post below:
http://blog.scaloid.org/2013/11/redesign-of-localserviceconnection.html

Changed SImageView(r: Int) to SImageView(r: Drawable)

We believe that source level compatibility is not broken. However, rebuild is required because the parameter signature is changed.

https://github.com/pocorall/scaloid/commit/4f708eb4017b848a1f6ae5d542435b61781473fe

SPaint support

We added an initial attempt to embrace graphics feature of Android API. Please refer to this blog post for a design principle behind this addition.

https://github.com/pocorall/scaloid/commit/b0dc224935a9a4c2133d0a5404a72646f04d0215

For a maven project:
<dependency>
    <groupId>org.scaloid</groupId>
    <artifactId>scaloid_2.10</artifactId>
    <version>3.0-8</version>
</dependency>
or for an sbt project:
libraryDependencies += "org.scaloid" %% "scaloid" % "3.0-8"

2 comments:

  1. Hi, I am wondering why you are not using xml ref in your lib? I noticed that the new version replace a réf by à real drawable.

    ReplyDelete
  2. There is an implicit conversion that automatically convert Int to Drawable.

    https://github.com/pocorall/scaloid/?134#resource-ids

    ReplyDelete