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

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -