Open xiaozhikang0916 opened 1 year ago
Accept proxy setting from intent's extra data
SavedStateHandle
ProxyManagerViewModel
singleInstance
To wait for a synchronization of the uiState, which may be modified by init block and the deviceSettingsManager instance, I used a while-yield loop here, which may be not elegant. Any advise?
uiState
init
deviceSettingsManager
while-yield
Accept proxy setting from intent's extra data
SavedStateHandle
inProxyManagerViewModel
to accept initial input paramsingleInstance
to receive any coming intent after it is started