Skip to content

Instantly share code, notes, and snippets.

@patrykpoborca
Created September 10, 2015 16:02
Show Gist options
  • Save patrykpoborca/6ab9b3683a28a9821f2d to your computer and use it in GitHub Desktop.
Save patrykpoborca/6ab9b3683a28a9821f2d to your computer and use it in GitHub Desktop.
public class UtilityWrapper {
@Inject
Lazy<StringFormatter> lazyStringFormatter;
@Inject
Lazy<Scheduler> lazyMainScheduler;
public StringFormatter getStringFormatter() {
return lazyStringFormatter.get();
}
public Scheduler getMainScheduler() {
return lazyMainScheduler.get();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment