Join Slack
Powered by
In Fragment collecting a UI state Flow, which one ...
# android
o
Orhan Tozan
04/23/2021, 2:33 PM
In Fragment collecting a UI state Flow, which one of the following scopes you use to collect UI state? 1️⃣`lifecycleScope` 2️⃣`viewLifecycleOwner.lifecycleScope`
2️⃣ 13
1️⃣ 1
j
Javier
04/23/2021, 2:38 PM
https://medium.com/androiddevelopers/a-safer-way-to-collect-flows-from-android-uis-23080b1f8bda
☝️ 3
Javier
04/23/2021, 2:38 PM
image.png
Javier
04/23/2021, 2:39 PM
Second one in fragments
Open in Slack
Previous
Next