summaryrefslogtreecommitdiff
path: root/src/clojure/io/cons/carddav_sync/authenticator_activity.clj
blob: 1b3e496f634cf987ba89ca565ba6c89e3a1ed9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 "Authenticator"}]]))))