This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-23
Channels
- # admin-announcements (1)
- # announcements (1)
- # beginners (222)
- # boot (210)
- # cider (26)
- # cljs-dev (50)
- # cljsrn (19)
- # clojure (243)
- # clojure-art (12)
- # clojure-finland (1)
- # clojure-poland (43)
- # clojure-russia (46)
- # clojure-sg (13)
- # clojurescript (60)
- # core-async (14)
- # css (11)
- # datomic (9)
- # devcards (9)
- # dirac (2)
- # editors (13)
- # emacs (5)
- # euroclojure (1)
- # events (3)
- # hoplon (76)
- # immutant (10)
- # job (1)
- # jobs (2)
- # keechma (1)
- # ldnclj (33)
- # lein-figwheel (1)
- # leiningen (20)
- # luminus (26)
- # mount (31)
- # om (105)
- # onyx (56)
- # parinfer (29)
- # perun (12)
- # proton (1)
- # re-frame (14)
- # reagent (5)
- # sydney (1)
- # yada (15)
on iOS it is called a navigation controller
The scene name and back button names are extracted from the titles of the view controllers in it
the other buttons in the upper right are programatically added typically
in actual native code, it’s accessed from the navigationController property of any UIViewController in it, but I haven’t used in it RN yet!
thanks @mj_langford Though, I'm on Android stuff here. :) Navigator
(w/o IOS
suffix) doesn't seem to have sth like that. One solution were just mix of view
's and text
and whatever, so I'll do it like that also.
@andrewboltachev: I’ve used the navigator in my sample app, check it out: https://github.com/gphilipp/cljsrn-showcase-app/blob/ebaa7ad3e6f62478237a6b6192f7c33f2c090ecb/src/cljsrn_showcase_app/core.cljs#L200
@gphilipp: thanks. Interesting, but I were looking at this file recently (found it by googling)
Hi. What to do, if all I see on the emulator is "Waiting for Figwheel to load files."?
btw, in code there, where do these println
's go? https://github.com/gphilipp/cljsrn-showcase-app/blob/ebaa7ad3e6f62478237a6b6192f7c33f2c090ecb/src/cljsrn_showcase_app/core.cljs#L202
@andrewboltachev try checking the logs, or start debug in crome and check output to console. Probably some error occured during script evaluation
Have you seen luno example app: https://github.com/alwx/luno-react-native ? Thoght it might be useful
@drapanjanas: thanks! It isn't already "Waiting for Figwheel to load files." (I were referring to wrong NS in one place, but didn't know where to check logs). As for Chrome, I see only bunch of "Requiring / Evaluated / importJs". I had an error message once, but source weren't useful at all (I were looking at some minified JS blob).
So, what logs these are, if you didn't refer to Chrome?
Also, I had strange things like, e.g. when using Navigator
(cross-platform one) and :renderScene
didn't render (though it were evaluating, I've seen alert
s). But it suddenly appeared after I selected "Debug in Chrome".
Luno is really project that I were missing, will check it out straight away!
ah sorry, Luno uses Reagent, but I'm on Om Next here
Yes, I meant android logs adb logcat ...
which I guess gives same content as console log in chrome
got it, thanks!
@andrewboltachev: there is another navigator i have found: https://github.com/exponentjs/ex-navigator . not developed with it much yet. but so far it seems preferable to the facebook navigator
thanks @jurgen_photek I've seen link to it somewhere too. I'll check it out later