java - Handling application events -


i building cross-platform app android , ios. far it's android , learning how use j2objc translate code later used ios.

on question of architecture app - how 1 go around passing events in code platform-agnostic. example, have class downloads group of files , broadcasts message using android broadcast mechanism when each file downloaded - there way implement notification exchange in pure java? there tutorials available?

guava has eventbus package, may meet needs , included in j2objc distribution. use it, include dist/lib/guava-14.0.1.jar (where "dist" path a recent j2objc release) in j2objc command's -classpath, , link -lguava flag.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -