Macroid is the most badass modular functional user interface creation language for Android, implemented with Scala macros. Some people say it’s also a dead noodle.
Striving to be focused on one thing (GUI), Macroid promotes composability and high-level abstractions.
Macroid is packaged in the AAR format and published to Maven Central.
Assuming sbt version
0.13.x and android-sdk-plugin
1.2.20 and above, you can add it to your project like this:
libraryDependencies ++= Seq( aar("org.macroid" %% "macroid" % "2.0.0-M5")
If you want to use the SNAPSHOT version you need to add the Sonatype SNAPSHOT repo
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots" libraryDependencies ++= Seq( aar("org.macroid" %% "macroid" % "2.0-SNAPSHOT")