This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-20
Channels
- # beginners (106)
- # boot (25)
- # cider (2)
- # cljs-dev (100)
- # cljsjs (1)
- # cljsrn (8)
- # clojure (90)
- # clojure-brasil (1)
- # clojure-dev (7)
- # clojure-greece (2)
- # clojure-italy (4)
- # clojure-madison (1)
- # clojure-russia (15)
- # clojure-serbia (15)
- # clojure-spec (13)
- # clojure-uk (32)
- # clojurescript (88)
- # cursive (19)
- # datascript (13)
- # datomic (32)
- # defnpodcast (1)
- # dirac (43)
- # euroclojure (1)
- # graphql (5)
- # hoplon (11)
- # immutant (1)
- # jobs (6)
- # lein-figwheel (2)
- # liberator (2)
- # luminus (14)
- # lumo (22)
- # off-topic (12)
- # om (9)
- # onyx (49)
- # parinfer (45)
- # precept (4)
- # protorepl (2)
- # reagent (14)
- # ring-swagger (3)
- # sql (1)
- # test-check (58)
- # timbre (3)
- # untangled (86)
quick one: is there an example somewhere of how to add fonts in cljsrn?
Hi Everyone, I would like to customise list view row item design. Please find the code below. Please let know know where i need to add style to separate list items
[list-view {:dataSource state :render-row #(r/as-element [text %]) :style {:background-color :red :margin 10 :padding 10}}]
@kurt-o-sys check how react-native-vector-icons adds fonts. You have to add them to your native projects. AFAIK exp uses a different approach, where you can load them with a require(), but you probably then need exp as a dependency
@viveke there should be a method called :render-list-separator to render separators. if you want to style rows differently, you can only do that based on the dataSource row data
also there is a new FlatList and SectionList which improved rendering performance quite a bit for me. they don’t require you to use a dataSource
@ronb thx, will check.