gaetan
05/12/2019, 9:56 AMstreetsofboston
05/12/2019, 1:07 PMbloder
05/12/2019, 1:23 PMthemishkun
05/12/2019, 4:22 PMStateless Functional Components (SFCs) should not be invoked, use <name_of_the_component />
elizarov
05/12/2019, 7:37 PMstate
(apart from +
operator):
var foo by +state { 0 } // property delegation to state
var (foo, setFoo) = +state { 0 } // destructuring state
Is the second-one just a React/JS gimmick because “we can” or is it really useful in some use-cases?ralf
05/12/2019, 8:27 PMromainguy
05/12/2019, 8:50 PMromainguy
05/12/2019, 8:52 PMpawegio
05/12/2019, 9:16 PMpawegio
05/12/2019, 9:20 PMlouiscad
05/12/2019, 10:09 PMstreetsofboston
05/12/2019, 10:21 PM@Compose
does behind the scenes, if you have time.
From the dev site:
A Compose application is made up of composable functionsIs this in a Functional Programming kind of way, alá the type
IO<T>
from FP. Or am I way off base and is it something else entirely?itnoles
05/13/2019, 1:29 AMJurriaan Mous
05/13/2019, 6:10 AMthemishkun
05/13/2019, 9:18 AMLoránd
05/13/2019, 12:58 PMragunathjawahar
05/13/2019, 1:28 PMViewAdapter
interface that allows us to use Android widgets in Compose.romainguy
05/13/2019, 2:25 PMSam
05/13/2019, 2:29 PMzak.taccardi
05/13/2019, 4:54 PMLoránd
05/14/2019, 6:42 AMmzgreen
05/14/2019, 6:47 AMBreno
05/14/2019, 7:41 AMPrateek
05/14/2019, 8:11 AMAntanas A.
05/14/2019, 8:30 AMMatej Drobnič
05/14/2019, 10:42 AMonScroll
and then force developer to track the scroll position from outside? How would that work performance wise since scroll position can potentially update on every frame?Matej Drobnič
05/14/2019, 10:42 AMMatej Drobnič
05/14/2019, 10:42 AMdector
05/14/2019, 3:09 PM./studiow
failed with
Unzipping
Building compose plugin
sed: -e expression #1, char 0: no previous regular expression
./gradlew: 159: ./gradlew: $s/$/ \\/: not found
sed: -e expression #1, char 0: no previous regular expression
./gradlew: 159: ./gradlew: $s/$/ \\/: not found
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Launched it manually, copied prebuilts, opened try-compose
project. But sync is failing with (error in thread).
Please, advice. 🙂James Ward
05/14/2019, 4:15 PMJames Ward
05/14/2019, 4:15 PMChuck Jazdzewski [G]
05/14/2019, 4:20 PMJames Ward
05/14/2019, 4:20 PMJeremy
05/14/2019, 4:33 PMChuck Jazdzewski [G]
05/14/2019, 4:37 PMJeremy
05/14/2019, 4:57 PMthemishkun
05/14/2019, 5:28 PMghedeon
05/14/2019, 5:28 PMThe closest is monad but than only 5 people know what that meansBut who would think that so many people know what pure function means and now they are giving you hard time for not being transparent... referentially :troll:
romainguy
05/14/2019, 5:33 PMthemishkun
05/14/2019, 5:35 PMChuck Jazdzewski [G]
05/14/2019, 5:37 PMthemishkun
05/14/2019, 5:42 PMJeremy
05/14/2019, 5:48 PMChuck Jazdzewski [G]
05/14/2019, 5:48 PMRecyclerView
is doing a lot of work behind the scenes to deliver this performance.Jeremy
05/14/2019, 5:52 PMChuck Jazdzewski [G]
05/14/2019, 6:08 PMandroidTest
directory of the various modules.
The memoization information is stored in the composer's slot table and is local for the composition. It is not global. However, currently we use a global to simplify the code generation of composable functions so only one composition can be occurring at a time. We plan to change this to rewrite composable functions to take the composer as a parameter. This will remove global as well as speed up composition.Jeremy
05/14/2019, 6:29 PMChuck Jazdzewski [G]
05/14/2019, 6:40 PMJames Ward
05/15/2019, 1:53 AM