java - Replace intents for notification within app -
intents taking long process in app. there better way can tell different elements of app has happened? example use:
intent = new intent("com.ftx.player_died"); i listen intent on 2 different places in app. not make same call twice.
inventory.playerdied(true); notificationbar.playerdied(true); doesn't scale nicely.
is there can use faster intents don't make same call twice or 3 times?
using localbroadcastmanager oreventbus not faster normal broadcastmanager, private app (that means other application cant listen intent action)
Comments
Post a Comment