Skip to content

aimed/java-notificationcenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java-notificationcenter

A helper library to unify and centralize events and eventlisteners in java. Inspired by the Cocoa NSNotificationCenter.

NotificationCenter nc = NotificationCenter.defaultCenter();
nc.addListener(new NotificationListener<SomeNotification>(SomeNotification.class) {
		@Override
		public void onNotification(SomeNotification notification) {				
		}
});
nc.postNotification(new SomeNotification(null, 0, 0));
	

About

A helper library to unify and centralize events and eventlisteners in java. Inspired by the Cocoa NSNotificationCenter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages