https://kotlinlang.org logo
Title
b

Botond Varsányi

06/07/2021, 2:12 PM
Hello everyone! Could you please show me a sample project where Labels are used. I could not find a detailed explaination about it in the documentation (maybe I missed something in the samples). I am especially interested about how it should be consumed properly in iOS and with compose in Android. Any comment appreciated.
a

Arkadii Ivanov

06/07/2021, 2:25 PM
Hello! You can find the description of
Labels
here. One of the sample projects with
Labels
and Compose/SwiftUI is here.
In general,
Labels
are one-time events produced by
Store
. Typical use-cases are: 1. Communication between
Stores
2. Showing errors/notifications (mostly applicable to traditional imperative UI) 3. Navigation, when triggered by
Store
👍 2
b

Botond Varsányi

06/08/2021, 6:52 AM
Thank you for your reply
👍 1