bobby
12/29/2020, 1:47 AMsingle{} ? The reason I’m asking this is because when creating EncryptedSharedPreferences object using single{}, sometimes it’s throw an Exception, and I want to catch that, prevent the crash app on user side, thankstynn
12/29/2020, 8:41 AMsingle {
while(true) runCatching {
return@single EncryptedSharedPreferences(...)
}
}tynn
12/29/2020, 8:43 AMbobby
12/29/2020, 9:15 AMbobby
12/29/2020, 9:16 AMwhile seems a bit off in your recommendation, that’s look smelly and dangerous at least to metynn
12/29/2020, 9:29 PM