I've to maintain a Boolean "refreshLogs" which cou...
# android
k
I've to maintain a Boolean "refreshLogs" which could be set to true from multiple Fragments and only one fragment will act upon it. Since these fragments are in different graphs and are not even nested, I can't use Fragment Result API here. So I'm planning to either go with DataStore preferences or Room, which one should I go with and is there any other way to do the same?