I am building a cross-platform app for Android and iOS. So far it's mostly Android and I am learning how to use j2objc
to translate the code that will later be used by iOS.
On the question of architecture the app - how does one go around passing events in the code that is platform-agnostic. For example, I have a class that downloads a group of files and broadcasts a message using Android broadcast mechanism when each file is downloaded - is there a way to implement this notification exchange in pure Java? Are there any tutorials available?