Redesign of LocalServiceConnection
LocalServiceConnection is redesigned to useOption
, 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"
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.
ReplyDeleteThere is an implicit conversion that automatically convert Int to Drawable.
ReplyDeletehttps://github.com/pocorall/scaloid/?134#resource-ids
Interesting Read...nice
ReplyDeletekissanime alternatives