public
Created

HelloActivity.clj

  • Download Gist
HelloActivity.clj
Clojure
1 2 3 4 5 6 7 8 9 10 11
(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)))

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.