diff options
Diffstat (limited to 'src/clojure/io')
-rw-r--r-- | src/clojure/io/cons/carddav_sync/main.clj | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/clojure/io/cons/carddav_sync/main.clj b/src/clojure/io/cons/carddav_sync/main.clj new file mode 100644 index 0000000..c5f4048 --- /dev/null +++ b/src/clojure/io/cons/carddav_sync/main.clj @@ -0,0 +1,14 @@ +(ns io.cons.carddav_sync.main + (:use [neko.activity :only [defactivity set-content-view!]] + [neko.threading :only [on-ui]] + [neko.ui :only [make-ui]] + [neko.application :only [defapplication]])) + +(defactivity io.cons.carddav_sync.MainActivity + :def a + :on-create + (fn [this bundle] + (on-ui + (set-content-view! a + (make-ui [:linear-layout {} + [:text-view {:text "Hello from Clojure!"}]]))))) |