Back to project page TravelBar.
The source code is released under:
Apache License
If you think the Android project TravelBar listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.bourke.travelbar; //ww w.j ava 2 s .c o m import com.squareup.otto.Bus; /** * Maintains a singleton instance for obtaining the bus. Ideally this would be replaced with a * more efficient means such as through injection directly into interested classes. */ public final class BusProvider { private static final Bus BUS = new Bus(); public static Bus getInstance() { return BUS; } private BusProvider() { // No instances. } }