Initialisieren Sie einen Kotlin MutablestateFlow ohne Anfangswert
Posted: 02 Feb 2025, 15:41
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 ()