clojure-android

gary 2016-06-14T00:58:26.000015Z

I'm guessing defactivity is like our version of gen-class, so this isn't something you can create at the repl

gary 2016-06-14T01:00:38.000016Z

I'm still messing with the events app. it shows how to create a fragment and pass data from the fragment to the main activity, so I wanted to show how to pass data between activities

gary 2016-06-14T01:02:53.000017Z

just trying to create org.stuff.events.OtherActivity that shows the listing atom in a list view

gary 2016-06-14T01:05:33.000018Z

first step, i'm adding a button to the main view to go to the other view and a button on the other view to go back.

gary 2016-06-14T02:18:10.000019Z

oh yeah, you can avoid having to write your ui in xml, but you can't avoid xml completely. I need to update my manifest.xml

gary 2016-06-14T03:05:53.000020Z

yep that was it, manifest updated, now when I try to start the new activity I get a classCastException it doesn't want my ui tree it wants a character sequence =/ I'm sure I've missed something simple

gary 2016-06-14T03:55:35.000021Z

ah it was because I was trying to set the text view with the listing atom which isn't a string anymore, we refactored it to be a sorted-map