The task is this: there is a service that sends messages using the EventBus. This class is received by the descendant Application class and must create a Notification, by clicking on which the activation will be launched. The application will be minimized at this moment, I will not consider any running activations. In all examples, the notification is created from the activation. And how to create it without activations and make it so that activations are launched by clicking on it?
- Why not display the notification directly from the service? Why are there extra EventBus -> Application actions? - eugeneek
- Understood, it is possible to make the same from application. - Helena2977
|