Fabio Collini

1.2K posts

Fabio Collini banner
Fabio Collini

Fabio Collini

@fabioCollini

Software engineer @ Google

Firenze Beigetreten Mayıs 2009
287 Folgt2.4K Follower
Fabio Collini
Fabio Collini@fabioCollini·
I am not sure how to say it in a nice way so let's keep it super simple: today I am joining @Google as a software engineer! 🎉
English
71
24
1.4K
0
Fabio Collini
Fabio Collini@fabioCollini·
@akjaw1 Good question, I'll add soon a new paragraph to answer it! The short answer is that you need to invoke Snapshot.withMutableSnapshot in your test to wrap the code that is changing the values (in production this method is invoked by Compose under the hood)
English
1
0
0
0
Aleksander Jaworski
Aleksander Jaworski@akjaw1·
@fabioCollini Interesting article! I was just wondering if using State instead of StateFlow won't make testing harder. Do you have any experience on this topic?
English
1
0
0
0
Fabio Collini
Fabio Collini@fabioCollini·
@bohsenT Thanks! derivedStateOf can be used only in the first example because the lambda parameter of derivedStateOf is not a suspend lambda
English
0
0
1
0
Bohsen
Bohsen@bohsenT·
@fabioCollini Great read. Once again. Not a compose-user yet, but I'm curious if derivedStateOf {} could be used instead?
English
1
0
0
0
Fabio Collini
Fabio Collini@fabioCollini·
@joreilly Thanks! Let me know what you think! This stuff is still new and I am curious to see how it will be used in the future
English
0
0
4
0
Fabio Collini
Fabio Collini@fabioCollini·
@Droidconit Really happy to be there and meet you all again, even if just virtually! :)
English
0
0
0
0