반응형

[마소연재] 스칼라 언어를 이용한 안드로이드 프레임워크

 

1회 : 2013.01 | 스칼라로이드로 안드로이드 개발 간결하게 하기(1)

2회 : 2013.02 | 스칼라로이드로 안드로이드 개발 간결하게 하기(2)

 

 

Scaloid - Scaloid makes your Android code easy to understand and maintain.

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

   http://blog.scaloid.org/

 

메이븐 작성 예제 프로젝트 - Simple proof-of-concept for an Android project using Scala and Maven

 : https://github.com/rohansingh/android-scala-test

 

레이아웃 자동 변환기 - http://layout.scaloid.org/

 : https://github.com/pocorall/scaloid-layout-converter

반응형
반응형

Scaloid - 오픈소스 안드로이드 라이브러리

 

https://github.com/pocorall/scaloid

 

스칼라 언어로 안드로이드 개발의 어려움을 줄여주고자 만들어졌다.

 

Less painful Android development with Scala

Scaloid is a library aimed to simplify your Android code. It makes your code easy to write and understand by leveraging Scala language.

For example, the code block shown below:

val button = new Button(context)
button.setText("Greet")
button.setOnClickListener(new OnClickListener() {
  def onClick(v: View) {
    Toast.makeText(context, "Hello!", Toast.LENGTH_SHORT).show()
  }
})
layout.addView(button)

is reduced to:

SButton("Greet", toast("Hello!"))

Benefits

  • Write elegant Android software
    Scaloid provides a concise and type-safe way of writing Android application.
  • Simple to use
    Check our quick start guide
  • Compatible with your legacy code
    You can use both Scaloid and plain-old Java Android API. You can gradually improve your legacy code.
  • Maintained actively
    Scaloid is a dogfooding software. This is originally created to be used for my own Android apps.

Demos

If you want to see how Scaloid can be used in action, check a Scala port of apidemos app.

Need help using Scala language on your Android project?

There is an out-of-the-box solution. Just fork this project and start your Scala-Android app.

Features

...and many other things! Check the official Scaloid blog for news and announcements.

 

반응형

+ Recent posts