Initialisieren Sie einen Kotlin MutablestateFlow ohne Anfangswert
Posted: 05 Feb 2025, 01:37
Ich lerne Kotlin Flow und konvertierende Code in meiner Unternehmens -App von LiveLiveata in Kotlin Flow. Ich habe also die Frage:
In meinem ViewModel hatte ich Variable "Status" wie folgt gelebt:
var status: mutablElivedata = mutablEliveLiveLiveAta ()
In meinem ViewModel hatte ich Variable "Status" wie folgt gelebt:
var status: mutablElivedata = mutablEliveLiveLiveAta ()