I had my class 'ABC' by extending the BroadcastReceiver. But recently, I stumbled upon LocalBroadcastManager.
here is my class declaration:
public class ABC extends BroadcastReceiver {}
So ABC is working as the listener and based on the action it would call another object.
I checked everywhere whether I can use LocalBroadcastManager here without an activity. Actually class ABC is a core application class where it doesn't connect to any UI component.
Let me know how can I use LocalBroadcastManager in my scenario.
I'm new to Android. Please help.