Created
April 11, 2012 18:57
-
-
Save sattvik/2361385 to your computer and use it in GitHub Desktop.
HelloActivity.clj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns com.example.hello_clojure.HelloActivity | |
(:gen-class :main false | |
:extends android.app.Activity | |
:exposes-methods {onCreate superOnCreate}) | |
(:import [com.example.hello_clojure R$layout])) | |
(defn -onCreate | |
[this bundle] | |
(doto this | |
(.superOnCreate bundle) | |
(.setContentView R$layout/main))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment