Skip to content

Instantly share code, notes, and snippets.

View hrajvanshi977's full-sized avatar
🎯
Focusing

Himanshu Rajvanshi hrajvanshi977

🎯
Focusing
View GitHub Profile
@emanuelet
emanuelet / ExampleFragment.java
Created April 11, 2016 04:41
Populating ListView (or RecyclerView) based on Firebase cross-referenced results with a Geofire node
public class ExampleFragment extends Fragment implements GoogleApiClient.ConnectionCallbacks,
GoogleApiClient.OnConnectionFailedListener,
ResultCallback<LocationSettingsResult>,
SharedPreferences.OnSharedPreferenceChangeListener {
private Callbacks mCallbacks;
private Snackbar snackbar;
public interface Callbacks {
/**
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:text="Guest List"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />