Android Open Source - SurgePriceWidget Location Bus






From Project

Back to project page SurgePriceWidget.

License

The source code is released under:

MIT License

If you think the Android project SurgePriceWidget 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 me.mattlogan.surgepricewidget.location;
/*from   w  ww.j  ava 2s  .  com*/
import com.squareup.otto.Bus;

public class LocationBus extends Bus {

    private static LocationBus locationBus;

    public static LocationBus getInstance() {
        if (locationBus == null) {
            locationBus = new LocationBus();
        }
        return locationBus;
    }
}




Java Source Code List

me.mattlogan.surgepricewidget.ApplicationTest.java
me.mattlogan.surgepricewidget.SurgePriceWidgetApplication.java
me.mattlogan.surgepricewidget.api.UberApiBus.java
me.mattlogan.surgepricewidget.api.UberApiHandler.java
me.mattlogan.surgepricewidget.api.UberApi.java
me.mattlogan.surgepricewidget.api.event.RetrievePricesFailedEvent.java
me.mattlogan.surgepricewidget.api.event.RetrievePricesRequestedEvent.java
me.mattlogan.surgepricewidget.api.event.RetrievePricesSuccessEvent.java
me.mattlogan.surgepricewidget.api.model.PriceListWrapper.java
me.mattlogan.surgepricewidget.api.model.Price.java
me.mattlogan.surgepricewidget.location.CurrentLocationClient.java
me.mattlogan.surgepricewidget.location.LocationBus.java
me.mattlogan.surgepricewidget.location.event.LocationClientConnectedEvent.java
me.mattlogan.surgepricewidget.widget.SurgePriceWidgetProvider.java