This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ExampleFragment extends Fragment implements GoogleApiClient.ConnectionCallbacks, | |
GoogleApiClient.OnConnectionFailedListener, | |
ResultCallback<LocationSettingsResult>, | |
SharedPreferences.OnSharedPreferenceChangeListener { | |
private Callbacks mCallbacks; | |
private Snackbar snackbar; | |
public interface Callbacks { | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This class is an example of how to use FirebaseListAdapter. It uses the ExampleObject class to encapsulate the | |
* data for each individual chat message | |
*/ | |
public class ExampleAdapter extends FirebaseListAdapter<ExampleObject> { | |
@InjectView(R.id.example_list_item) | |
TextView exampleView; | |
public DealListAdapter(Query ref, Activity activity, int layout) { | |
super(ref, ExampleObject.class, layout, activity); |