@Fatih I can see the id of view model and when I can see the log that tell me the function in the view model was successfully called, does that mean the injection was ok?
I've known about injecting view model into broadcast receiver is kind of anti pattern. just give it a try.
From customer requirement, they want if I set time of the notification is 3 p.m, so in exact 3 p.m if I am on the home fragment the UI should be updated. Even if the notification might not fired yet? I don't think that is possible , right?
@gildor Thank you for your support. It seems that your general solution is the same with my 3rd options.
@Alex Prince yeah sir, I know about that fact but sometimes I feel like I can control it. If we are on that fragment in which the live data is observing so I can listen when some place post the value to it. Is that correct?