com.firebase.geofire.AndroidEventRaiser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geofire-java Show documentation
Show all versions of geofire-java Show documentation
GeoFire is an open-source library for Android/Java that allows you to store and query a set of keys based on their geographic location.
package com.firebase.geofire;
import android.os.Handler;
import android.os.Looper;
class AndroidEventRaiser implements EventRaiser {
private final Handler mainThreadHandler;
public AndroidEventRaiser() {
this.mainThreadHandler = new Handler(Looper.getMainLooper());
}
@Override
public void raiseEvent(Runnable r) {
this.mainThreadHandler.post(r);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy