Android Open Source - TravelBar Bus Provider






From Project

Back to project page TravelBar.

License

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.

Java Source Code

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.
    }
}




Java Source Code List

com.bourke.travelbar.BusProvider.java
com.bourke.travelbar.Constants.java
com.bourke.travelbar.DestinationChangedEvent.java
com.bourke.travelbar.MapsActivity.java
com.bourke.travelbar.PlaceProvider.java
com.bourke.travelbar.ProgressBarService.java
com.bourke.travelbar.TypefaceSpan.java