I tried this in the GitHub Browser. I wanted to fire an event when the Issues tab was clicked, so that the IssueList knows that it needs to refresh it's content. I created a file called
Events.kt
where I'll place all the events the app emits. The
IssueEvent
has a base class and one spesific Event: