summaryrefslogtreecommitdiff
path: root/src/clojure/io/cons/carddav_sync/authenticator_activity.clj
diff options
context:
space:
mode:
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!"}]]))))