Created
October 13, 2018 01:43
-
-
Save markchristopherng/db915fb861dba834a47f3954b499e2b7 to your computer and use it in GitHub Desktop.
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
ResultCallback<Status> resultCallback = status -> { | |
if (status.isSuccess()) { | |
Timber.d("Fence %s was successfully registered", geoFence.getId()); | |
databaseManager.save(geoFence); | |
} else { | |
Timber.e("Fence %s could not be registered: %s", geoFence.getId(), status); | |
} | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment