summaryrefslogtreecommitdiff
path: root/src/clojure/io/cons/carddav_sync/authenticator_activity.clj
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2013-09-01 12:46:13 -0500
committerDavid Barksdale <amatus@amatus.name>2013-09-01 12:46:13 -0500
commit263608cc0d6642d793cc650e0a544e09f3d6815e (patch)
tree7ca6271f571e475158ce1e652d69cb872611c3fe /src/clojure/io/cons/carddav_sync/authenticator_activity.clj
parent05fb3de39b40c22dda902b25705b2272df30e7e9 (diff)
Add authenticator_activity.
Diffstat (limited to 'src/clojure/io/cons/carddav_sync/authenticator_activity.clj')
-rw-r--r--src/clojure/io/cons/carddav_sync/authenticator_activity.clj15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/clojure/io/cons/carddav_sync/authenticator_activity.clj b/src/clojure/io/cons/carddav_sync/authenticator_activity.clj
new file mode 100644
index 0000000..4e23d63
--- /dev/null
+++ b/src/clojure/io/cons/carddav_sync/authenticator_activity.clj
@@ -0,0 +1,15 @@
+(ns io.cons.carddav_sync.authenticator_activity
+ (:use [neko.activity :only [defactivity set-content-view!]]
+ [neko.threading :only [on-ui]]
+ [neko.ui :only [make-ui]])
+ (:gen-class
+ :extends android.app.Activity
+ :exposes-methods {onCreate superOnCreate}))
+
+(defn -onCreate
+ [this savedInstanceState]
+ (.superOnCreate this savedInstanceState)
+ (on-ui
+ (set-content-view! this
+ (make-ui [:linear-layout {}
+ [:text-view {:text "Hello from Clojure!"}]]))))