{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-android/neko/issues/58","labels_url":"https://api.github.com/repos/clojure-android/neko/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/clojure-android/neko/issues/58/comments","events_url":"https://api.github.com/repos/clojure-android/neko/issues/58/events","html_url":"https://github.com/clojure-android/neko/issues/58","id":118728027,"number":58,"title":"find-view not finding views","user":{"login":"kenrestivo","id":108085,"avatar_url":"https://avatars.githubusercontent.com/u/108085?v=3","gravatar_id":"","url":"https://api.github.com/users/kenrestivo","html_url":"https://github.com/kenrestivo","followers_url":"https://api.github.com/users/kenrestivo/followers","following_url":"https://api.github.com/users/kenrestivo/following{/other_user}","gists_url":"https://api.github.com/users/kenrestivo/gists{/gist_id}","starred_url":"https://api.github.com/users/kenrestivo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenrestivo/subscriptions","organizations_url":"https://api.github.com/users/kenrestivo/orgs","repos_url":"https://api.github.com/users/kenrestivo/repos","events_url":"https://api.github.com/users/kenrestivo/events{/privacy}","received_events_url":"https://api.github.com/users/kenrestivo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-24T23:45:09Z","updated_at":"2015-11-26T00:23:44Z","closed_at":null,"body":"```clojure\r\n  (debug/safe-for-ui\r\n   (view/find-view (debug/*a) ::playing-button))\r\n```\r\nreturns nil\r\n\r\nbut the view that is set at onCreate time definitely has an element with that id, and I can see it displayed. When run from inside the program (rather than the repl), using this instead of (debug/*a), it also returns nil.\r\n\r\nInterestingly, in attempting to debug this, I tried this from a REPL:\r\n\r\n```clojure\r\n  (debug/safe-for-ui\r\n   (activity/get-decor-view (debug/*a)))\r\n```\r\n\r\nAnd got a strange \r\n```clojure\r\n#object[com.android.internal.policy.impl.PhoneWindow$DecorView 0xa104b800 \"com.android.internal.policy.impl.PhoneWindow$DecorView@a104b800\"]\r\n```\r\n\r\nreturned instead of my view.\r\n\r\nI'm not sure what's going on here."},"comment":{"url":"https://api.github.com/repos/clojure-android/neko/issues/comments/159764704","html_url":"https://github.com/clojure-android/neko/issues/58#issuecomment-159764704","issue_url":"https://api.github.com/repos/clojure-android/neko/issues/58","id":159764704,"user":{"login":"alexander-yakushev","id":468477,"avatar_url":"https://avatars.githubusercontent.com/u/468477?v=3","gravatar_id":"","url":"https://api.github.com/users/alexander-yakushev","html_url":"https://github.com/alexander-yakushev","followers_url":"https://api.github.com/users/alexander-yakushev/followers","following_url":"https://api.github.com/users/alexander-yakushev/following{/other_user}","gists_url":"https://api.github.com/users/alexander-yakushev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexander-yakushev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexander-yakushev/subscriptions","organizations_url":"https://api.github.com/users/alexander-yakushev/orgs","repos_url":"https://api.github.com/users/alexander-yakushev/repos","events_url":"https://api.github.com/users/alexander-yakushev/events{/privacy}","received_events_url":"https://api.github.com/users/alexander-yakushev/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T00:23:44Z","updated_at":"2015-11-26T00:23:44Z","body":"Also, if you use Emacs, you can add this to your `init.el`:\r\n\r\n```scheme\r\n  (add-hook 'clojure-mode-hook\r\n            #'(lambda ()\r\n                (put 'defactivity 'clojure-backtracking-indent '(4 (2)))))\r\n```\r\n\r\nThis will make indentation in defactivity nice again."}}