Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update sample project for changes in neko

The do-ui macro was moved to the neko.threading namespace and renamed to
on-ui.
  • Loading branch information...
commit a1a8a1bbf01ef524e83e7f02a10f134566a76c7b 1 parent 423c69a
Patrick Burke authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 sample/src/clojure/test/leindroid/sample/main.clj
7 sample/src/clojure/test/leindroid/sample/main.clj
View
@@ -1,7 +1,8 @@
(ns test.leindroid.sample.main
- (:use [neko.activity :only [defactivity do-ui set-content-view!]]
+ (:use [neko.activity :only [defactivity set-content-view!]]
[neko.notify :only [toast]]
- [neko.ui :only [defui by-id]]
+ [neko.ui :only [defui]]
+ [neko.threading :only [on-ui]]
[neko.application :only [defapplication]]))
(declare ^android.app.Activity a
@@ -19,7 +20,7 @@
:def a
:create
(fn [this bundle]
- (do-ui
+ (on-ui
(set-content-view! a
(defui [:linear-layout {:orientation :vertical
:layout-width :fill
Please sign in to comment.
Something went wrong with that request. Please try again.